diff options
author | yinsimei | 2017-07-04 23:57:48 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-07-13 18:27:45 +0200 |
commit | 3b3c92558bbda6439d74d6fce77f754b83bbdd28 (patch) | |
tree | c0adf254cff68eb91dd182768aabe5d16a2f5679 /engines/sludge/main_loop.cpp | |
parent | ae54897ff5119ed605b875bc4bcb71691f7eb406 (diff) | |
download | scummvm-rg350-3b3c92558bbda6439d74d6fce77f754b83bbdd28.tar.gz scummvm-rg350-3b3c92558bbda6439d74d6fce77f754b83bbdd28.tar.bz2 scummvm-rg350-3b3c92558bbda6439d74d6fce77f754b83bbdd28.zip |
SLUDGE: add game timing
Diffstat (limited to 'engines/sludge/main_loop.cpp')
-rw-r--r-- | engines/sludge/main_loop.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/engines/sludge/main_loop.cpp b/engines/sludge/main_loop.cpp index 0410518407..d530555a47 100644 --- a/engines/sludge/main_loop.cpp +++ b/engines/sludge/main_loop.cpp @@ -319,12 +319,8 @@ int main_loop(const char *filename) startNewFunctionNum(0, 0, NULL, noStack); -#if 0 Init_Timer(); - SDL_EnableUNICODE(1); -#endif - renderSurface.create(g_system->getWidth(), g_system->getHeight(), g_system->getScreenFormat()); weAreDoneSoQuit = 0; while (!weAreDoneSoQuit) { checkInput(); @@ -332,10 +328,7 @@ int main_loop(const char *filename) handleInput(); sludgeDisplay(); handleSoundLists(); - g_system->delayMillis(1000 / desiredfps); -#if 0 Wait_Frame(); -#endif } debugOut("Bye!\n\n"); |