From 4036971653183a4b71ae7b8d78dba94471032608 Mon Sep 17 00:00:00 2001 From: luigiblood Date: Thu, 2 Jun 2016 16:35:10 +0200 Subject: [PATCH] [64DD] Make sure at boot that the disk is inserted Fixes F-Zero X Expansion Kit loading too late --- Source/Project64-core/N64System/Mips/Disk.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Project64-core/N64System/Mips/Disk.cpp b/Source/Project64-core/N64System/Mips/Disk.cpp index 77191ec43..707de645f 100644 --- a/Source/Project64-core/N64System/Mips/Disk.cpp +++ b/Source/Project64-core/N64System/Mips/Disk.cpp @@ -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