[Core/CD] increased minimal latency (fixes BIOS freeze when CD latency is disabled in emulator settings)

This commit is contained in:
ekeeke 2023-05-09 00:54:56 +02:00
parent b5f1027c15
commit a7f42b438e
5 changed files with 4 additions and 4 deletions

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 MiB

After

Width:  |  Height:  |  Size: 3.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 MiB

After

Width:  |  Height:  |  Size: 4.0 MiB

View File

@ -2,7 +2,7 @@
* Genesis Plus * Genesis Plus
* CD drive processor & CD-DA fader * CD drive processor & CD-DA fader
* *
* Copyright (C) 2012-2022 Eke-Eke (Genesis Plus GX) * Copyright (C) 2012-2023 Eke-Eke (Genesis Plus GX)
* *
* Redistribution and use of this code or any derivative works are permitted * Redistribution and use of this code or any derivative works are permitted
* provided that the following conditions are met: * provided that the following conditions are met:
@ -2078,8 +2078,8 @@ void cdd_process(void)
/* Fixes a few games hanging because they expect data to be read with some delay */ /* Fixes a few games hanging because they expect data to be read with some delay */
/* Wolf Team games (Annet Futatabi, Aisle Lord, Cobra Command, Earnest Evans, Road Avenger & Time Gal) need at least 11 interrupts delay */ /* Wolf Team games (Annet Futatabi, Aisle Lord, Cobra Command, Earnest Evans, Road Avenger & Time Gal) need at least 11 interrupts delay */
/* Space Adventure Cobra (2nd morgue scene) needs at least 13 interrupts delay (incl. seek time, so 11 is OK) */ /* Space Adventure Cobra (2nd morgue scene) needs at least 13 interrupts delay (incl. seek time, so 11 is OK) */
/* By default, at least one interrupt latency is required by current emulation model (BIOS hangs otherwise) */ /* By default, at least two interrupts latency is required by current emulation model (BIOS hangs otherwise) */
cdd.latency = 1 + 10*config.cd_latency; cdd.latency = 2 + 9*config.cd_latency;
} }
/* CD drive seek time */ /* CD drive seek time */

View File

@ -2,7 +2,7 @@
* Genesis Plus * Genesis Plus
* CD drive processor & CD-DA fader * CD drive processor & CD-DA fader
* *
* Copyright (C) 2013-2022 Eke-Eke (Genesis Plus GX) * Copyright (C) 2012-2023 Eke-Eke (Genesis Plus GX)
* *
* Redistribution and use of this code or any derivative works are permitted * Redistribution and use of this code or any derivative works are permitted
* provided that the following conditions are met: * provided that the following conditions are met: