X-Git-Url: http://4ch.mooo.com/gitweb/?p=16.git;a=blobdiff_plain;f=src%2Flib%2Fid_sd.c;h=cffa2d126f35cc76bde3bb9edd5a89178add4c70;hp=943dede1093f35034ae12af43622597ae39e953a;hb=e4164ba7f31989dd3bdc54928aee5c086b96b3b2;hpb=8f10eae936d84f146fe1490e0fe29932b1a6b05d diff --git a/src/lib/id_sd.c b/src/lib/id_sd.c index 943dede1..cffa2d12 100755 --- a/src/lib/id_sd.c +++ b/src/lib/id_sd.c @@ -1473,9 +1473,9 @@ SD_Startup(global_game_variables_t *gvar) if (SD_Started) return; - -//?? SDL_SetDS(); - +#ifndef SD_USECATA3DSETTIMERSPEED + SDL_SetDS(); +#endif ssIsTandy = false; //SS ssNoCheck = false; alNoCheck = false; @@ -1520,10 +1520,11 @@ SD_Startup(global_game_variables_t *gvar) SoundUserHook = 0; t0OldService = getvect(8); // Get old timer 0 ISR - +#ifdef SD_USECATA3DSETTIMERSPEED SDL_InitDelay(); // SDL_InitDelay() uses t0OldService setvect(8,SDL_t0Service); // Set to my timer 0 ISR +#endif LocalTime = TimeCount = alTimeCount = 0; SD_SetSoundMode(sdm_Off, gvar);