mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-22 18:32:42 +01:00
- add volatile flag to 'int quickSpool'
This commit is contained in:
parent
4aa2bd6f3c
commit
ce6c7eb36a
@ -66,7 +66,7 @@ int spool_regioncounter;
|
||||
int spoolerror; // UNUSED
|
||||
int spool_regionpos;
|
||||
volatile int spoolactive; // volatile is required at least for PC
|
||||
int quickSpool;
|
||||
volatile int quickSpool;
|
||||
int models_ready;
|
||||
|
||||
short specspooldata[3] = { 20, 10 };
|
||||
@ -152,7 +152,7 @@ int levelSpoolerPCFunc(void* data)
|
||||
printf("Running SPOOL thread...\n");
|
||||
|
||||
// HACK: delay a little bit
|
||||
SDL_Delay(10);
|
||||
SDL_Delay(20);
|
||||
|
||||
g_spoolDoneFlag = false;
|
||||
g_isSectorDataRead = false;
|
||||
|
Loading…
Reference in New Issue
Block a user