diff --git a/bin/driver7M5.bin b/bin/driver7M5.bin index 64baef6..047fe53 100755 Binary files a/bin/driver7M5.bin and b/bin/driver7M5.bin differ diff --git a/bin/rom8M.bin b/bin/rom8M.bin index 2f02fc3..a0ef7ba 100755 Binary files a/bin/rom8M.bin and b/bin/rom8M.bin differ diff --git a/rdisk.c b/rdisk.c index c21ac12..af6f1fe 100644 --- a/rdisk.c +++ b/rdisk.c @@ -53,8 +53,8 @@ void C24(Ptr sourcePtr, Ptr destPtr, unsigned long byteCount) { } // Switch to 32-bit mode and patch -void P24(Ptr romdisk, int32_t index, char patch) { - if (index < 0) { return; } // Don't patch if index < 0 +void P24(Ptr romdisk, long index, char patch) { + //if (index < 0) { return; } // Don't patch if index < 0 signed char mode = true32b; SwapMMUMode(&mode); romdisk[index] = patch; // Patch byte @@ -64,8 +64,8 @@ void P24(Ptr romdisk, int32_t index, char patch) { typedef void (*RDiskPatch_t)(Ptr, char, char); static void patch24(Ptr romdisk, char dbgEN, char cdrEN) { RDiskPatch_t fun = (RDiskPatch_t)P24; - /*if (!dbgEN)*/ { fun(romdisk, 0x00000031, 0x44); } - /*if (!cdrEN)*/ { fun(romdisk, 0x00012CAF, 0x44); } + /*if (!dbgEN)*/ { fun(romdisk, 0x00000031UL, 0x44); } + /*if (!cdrEN)*/ { fun(romdisk, 0x00012CAFUL, 0x44); } } // Figure out the first available drive number >= 5