Merge pull request #1101 from LuigiBlood/64ddsave

[64DD] Make sure at boot that the disk is inserted
This commit is contained in:
zilmar 2016-06-03 05:14:17 +10:00
commit 7ee7b41d1f
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