Added a delay to the in-game menu loop to prevent 100% CPU usage
svn-id: r42795
This commit is contained in:
parent
83c8679127
commit
f15eb91d77
1 changed files with 1 additions and 0 deletions
|
@ -179,6 +179,7 @@ int processMenu(menuStruct *pMenu) {
|
|||
flipScreen();
|
||||
|
||||
manageEvents();
|
||||
g_system->delayMillis(10);
|
||||
|
||||
// readKeyboard();
|
||||
} while (!si);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue