superior jabo window hack that doesnt hang on some systems due to thread deadlocks

This commit is contained in:
zeromus 2014-07-27 02:12:27 +00:00
parent 8d7fec50c1
commit 4d380626a1
2 changed files with 1 additions and 1 deletions

View File

@ -355,7 +355,7 @@ EXPORT void CALL ChangeWindow (void)
// NOTE: NEW GFX_INFO vs old
EXPORT int CALL InitiateGFX(GFX_INFO Gfx_Info)
{
while (hWnd_jabo == NULL);
while(hWnd_jabo == NULL) { Sleep(1); }
LOG("API WRAPPER:\t InitiateGFX")
Config_Open();