Skip to content

Commit

Permalink
SLUDGE: set to right delay time
Browse files Browse the repository at this point in the history
  • Loading branch information
yinsimei authored and sev- committed Jul 13, 2017
1 parent bbde5f4 commit 0eb18c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion engines/sludge/main_loop.cpp
Expand Up @@ -60,6 +60,7 @@ HWND hMainWindow = NULL;
int realWinWidth = 640, realWinHeight = 480;
extern float cameraZoom;

extern int desiredfps;
extern int specialSettings;
extern inputType input;
extern variableStack *noStack;
Expand Down Expand Up @@ -381,7 +382,7 @@ int main_loop(const char *filename)
handleInput();
sludgeDisplay();
handleSoundLists();
g_system->delayMillis(100);
g_system->delayMillis(1000 / desiredfps);
#if 0
Wait_Frame();
#endif
Expand Down

0 comments on commit 0eb18c2

Please sign in to comment.