[64DD] Make sure at boot that the disk is inserted

Fixes F-Zero X Expansion Kit loading too late
This commit is contained in:
luigiblood 2016-06-02 16:35:10 +02:00
parent 6256e44ce4
commit 4036971653
1 changed files with 4 additions and 0 deletions

View File

@ -83,6 +83,10 @@ void DiskCommand()
//Unset Reset Bit
g_Reg->ASIC_STATUS &= ~DD_STATUS_RST_STATE;
g_Reg->ASIC_STATUS &= ~DD_STATUS_DISK_CHNG;
//F-Zero X + Expansion Kit fix so it doesn't enable "swapping" at boot
dd_swapdelay = 0;
if (g_Disk != NULL)
g_Reg->ASIC_STATUS |= DD_STATUS_DISK_PRES;
break;
case 0x00120000:
//RTC Get Year & Month