fixed SDL CD problem on linux
This commit is contained in:
parent
a6a1f3dfc8
commit
59f278f228
1 changed files with 1 additions and 1 deletions
|
@ -700,7 +700,7 @@ global void GameMainLoop(void)
|
|||
switch( GameCycle% ((CYCLES_PER_SECOND*VideoSyncSpeed/100)+1) ) {
|
||||
case 0: // Check cd-rom
|
||||
#if defined(USE_SDLCD)
|
||||
if ( !(GameCycle%2) ) // every 2nd second
|
||||
if ( !(GameCycle%4) ) // every 2nd second
|
||||
SDL_CreateThread(CDRomCheck, NULL);
|
||||
#elif defined(USE_LIBCDA) || defined(USE_CDDA)
|
||||
CDRomCheck(NULL);
|
||||
|
|
Loading…
Add table
Reference in a new issue