mirror of
https://github.com/garrettsworkshop/MacIIROMDiskDriver.git
synced 2024-11-22 03:30:58 +00:00
fix patch position
This commit is contained in:
parent
897fafae9f
commit
07ce3100c1
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);
|
typedef void (*RDiskPatch_t)(Ptr, long, char);
|
||||||
static void patch24(Ptr ramdisk, char dbgEN, char cdrEN) {
|
static void patch24(Ptr ramdisk, char dbgEN, char cdrEN) {
|
||||||
RDiskPatch_t fun = P24;
|
RDiskPatch_t fun = P24;
|
||||||
if (!dbgEN) { fun(ramdisk, *RDiskDBGDisPos, *RDiskDBGDisByte); }
|
if (!dbgEN) { fun(ramdisk, 0x00000031UL, *RDiskDBGDisByte); }
|
||||||
if (!cdrEN) { fun(ramdisk, *RDiskCDRDisPos, *RDiskCDRDisByte); }
|
if (!cdrEN) { fun(ramdisk, 0x00012CAFUL, *RDiskCDRDisByte); }
|
||||||
}
|
}
|
||||||
|
|
||||||
// Figure out the first available drive number >= 5
|
// Figure out the first available drive number >= 5
|
||||||
|
Loading…
Reference in New Issue
Block a user