CD-ROM emulation now reads multiple sectors at once.
This commit is contained in:
parent
8e52c00ffc
commit
bab6695b2c
7 changed files with 59 additions and 50 deletions
|
|
@ -284,10 +284,10 @@ static void image_load(void)
|
|||
{
|
||||
}
|
||||
|
||||
static int image_readsector(uint8_t *b, int sector)
|
||||
static int image_readsector(uint8_t *b, int sector, int count)
|
||||
{
|
||||
if (!cdrom) return -1;
|
||||
return !cdrom->ReadSector(b, false, sector);
|
||||
return !cdrom->ReadSectors((PhysPt)b, false, sector, count);
|
||||
}
|
||||
|
||||
static void image_readsector_raw(uint8_t *b, int sector)
|
||||
|
|
|
|||
Loading…
Reference in a new issue