mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-25 20:02:33 +01:00
- compile fix
This commit is contained in:
parent
6f3330ed5b
commit
7783d9923a
@ -117,7 +117,6 @@ int TargetCar = 0;
|
||||
int pauseflag = 0;
|
||||
|
||||
int HitLeadCar = 0;
|
||||
int FastForward = 0;
|
||||
int game_over = 0;
|
||||
int saved_counter = 0;
|
||||
int saved_leadcar_pos = 0;
|
||||
|
@ -644,8 +644,12 @@ void UpdateSpool(void)
|
||||
sectors_to_read = spool_regioninfo[spool_regionpos].nsectors;
|
||||
|
||||
spoolseek = 5;
|
||||
#ifdef PSX
|
||||
CdDataCallback(data_cb_regions);
|
||||
CdReadyCallback(ready_cb_regions);
|
||||
#else
|
||||
UNIMPLEMENTED();
|
||||
#endif // PSX
|
||||
}
|
||||
else if (bVar1 == 1) // SPOOLTYPE_TEXTURES
|
||||
{
|
||||
@ -657,8 +661,10 @@ void UpdateSpool(void)
|
||||
ntpages = tsetcounter;
|
||||
sectors_this_chunk = (uint)bVar1;
|
||||
|
||||
#ifdef PSX
|
||||
CdDataCallback(data_cb_textures);
|
||||
CdReadyCallback(ready_cb_textures);
|
||||
#endif // PSX
|
||||
|
||||
target_address = target_address + 0x4000;
|
||||
}
|
||||
@ -673,8 +679,12 @@ void UpdateSpool(void)
|
||||
nTPchunks_writing = 0;
|
||||
sectors_this_chunk = (uint)bVar1;
|
||||
|
||||
#ifdef PSX
|
||||
CdDataCallback(data_cb_soundbank);
|
||||
CdReadyCallback(ready_cb_soundbank);
|
||||
#else
|
||||
UNIMPLEMENTED();
|
||||
#endif // PSX
|
||||
|
||||
target_address = target_address + (loadbank_read & 1U) * 0x1000;
|
||||
}
|
||||
@ -683,16 +693,22 @@ void UpdateSpool(void)
|
||||
sectors_to_read = (spooldata[spoolpos_reading].nsectors);
|
||||
|
||||
spoolseek = 5;
|
||||
#ifdef PSX
|
||||
CdDataCallback(data_cb_misc);
|
||||
CdReadyCallback(ready_cb_misc);
|
||||
#else
|
||||
UNIMPLEMENTED();
|
||||
#endif // PSX
|
||||
}
|
||||
|
||||
current_sector = spooldata[iVar2].sector;
|
||||
endchunk = 0;
|
||||
switch_spooltype = 0;
|
||||
|
||||
#ifdef PSX
|
||||
CdIntToPos(current_sector, &pos);
|
||||
CdControlF(0x1b, (u_char*)&pos);
|
||||
#endif // PSX
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user