mirror of
https://github.com/garrettsworkshop/MacIIROMDiskDriver.git
synced 2024-10-31 15:05:57 +00:00
fix patch byte
This commit is contained in:
parent
07ce3100c1
commit
afae3e5f5b
Binary file not shown.
BIN
bin/rom8M.bin
BIN
bin/rom8M.bin
Binary file not shown.
4
rdisk.c
4
rdisk.c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user