mirror of
https://github.com/garrettsworkshop/MacIIROMDiskDriver.git
synced 2024-06-12 22:29:27 +00:00
Indirect load RDiskDBGDisByte
This commit is contained in:
parent
a65c7b8707
commit
355890836b
Binary file not shown.
BIN
bin/rom8M.bin
BIN
bin/rom8M.bin
Binary file not shown.
2
rdisk.c
2
rdisk.c
|
@ -166,7 +166,7 @@ static void RDInit(IOParamPtr p, DCtlPtr d, RDiskStorage_t *c) {
|
||||||
// Patch debug and CD-ROM enable bytes
|
// Patch debug and CD-ROM enable bytes
|
||||||
if (c->ramdisk) {
|
if (c->ramdisk) {
|
||||||
RDiskPatch_t fun = P24;
|
RDiskPatch_t fun = P24;
|
||||||
if (!dbgEN) { fun(c->ramdisk, 0x00000031UL, 0x44); }
|
if (!dbgEN) { fun(c->ramdisk, 0x00000031UL, *RDiskDBGDisByte); }
|
||||||
if (!cdrEN) { fun(c->ramdisk, 0x00012CAFUL, 0x44); }
|
if (!cdrEN) { fun(c->ramdisk, 0x00012CAFUL, 0x44); }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user