fix patch position

This commit is contained in:
Zane Kaminski 2021-04-01 23:16:32 -04:00
parent 897fafae9f
commit 07ce3100c1
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, *RDiskDBGDisPos, *RDiskDBGDisByte); }
if (!cdrEN) { fun(ramdisk, *RDiskCDRDisPos, *RDiskCDRDisByte); }
if (!dbgEN) { fun(ramdisk, 0x00000031UL, *RDiskDBGDisByte); }
if (!cdrEN) { fun(ramdisk, 0x00012CAFUL, *RDiskCDRDisByte); }
}
// Figure out the first available drive number >= 5