remove sleep hack and add a smarter game speed limiter that takes the games performance into account
This commit is contained in:
parent
2d4841beda
commit
0e6d415f63
4 changed files with 34 additions and 12 deletions
|
@ -32,6 +32,7 @@ extern BOOL ShowDriverWarning;
|
|||
extern RECT WindowRect;
|
||||
|
||||
BOOL detect_cutscene();
|
||||
void LimitGameTicks();
|
||||
DWORD WINAPI render_main(void);
|
||||
DWORD WINAPI render_soft_main(void);
|
||||
|
||||
|
@ -104,8 +105,8 @@ typedef struct IDirectDrawImpl
|
|||
BOOL hidemouse;
|
||||
char shader[MAX_PATH];
|
||||
BOOL wine;
|
||||
int sleep;
|
||||
LONG minimized;
|
||||
DWORD ticklength;
|
||||
|
||||
} IDirectDrawImpl;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue