gdrom: revert SPI_TEST_UNIT change

Fixes disk swapping for Alone in the Dark and Resident Evil: Code
Veronica (real BIOS)
Issue #1046
This commit is contained in:
Flyinghead 2024-01-26 19:49:01 +01:00
parent 116dc0e1ed
commit 4c7e57ebd6
1 changed files with 2 additions and 1 deletions

View File

@ -665,7 +665,8 @@ static void gd_process_spi_cmd()
{
case SPI_TEST_UNIT:
printf_spicmd("SPI_TEST_UNIT");
// This device does not report the check condition status.
// needed by Alone in the Dark and Resident Evil: Code Veronica disk swapping
GDStatus.CHECK = SecNumber.Status == GD_BUSY;
gd_set_state(gds_procpacketdone);
break;