fix patch byte

This commit is contained in:
Zane Kaminski 2021-04-01 23:18:45 -04:00
parent 07ce3100c1
commit afae3e5f5b
3 changed files with 2 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View File

@ -64,8 +64,8 @@ void P24(Ptr ramdisk, long index, char patch) {
typedef void (*RDiskPatch_t)(Ptr, long, char);
static void patch24(Ptr ramdisk, char dbgEN, char cdrEN) {
RDiskPatch_t fun = P24;
if (!dbgEN) { fun(ramdisk, 0x00000031UL, *RDiskDBGDisByte); }
if (!cdrEN) { fun(ramdisk, 0x00012CAFUL, *RDiskCDRDisByte); }
if (!dbgEN) { fun(ramdisk, 0x00000031UL, 0x44); }
if (!cdrEN) { fun(ramdisk, 0x00012CAFUL, 0x44); }
}
// Figure out the first available drive number >= 5