mirror of
https://github.com/garrettsworkshop/MacIIROMDiskDriver.git
synced 2024-06-12 07:29:30 +00:00
...
This commit is contained in:
parent
90c3a3689f
commit
809c78f9dc
Binary file not shown.
BIN
bin/rom8M.bin
BIN
bin/rom8M.bin
Binary file not shown.
4
rdisk.c
4
rdisk.c
|
@ -164,10 +164,10 @@ 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) {
|
||||||
Ptr pos = c->ramdisk + 0x00000031UL;
|
Ptr pos = c->ramdisk + *((long*)0x40851D98);
|
||||||
char patch = *((char*)0x40851DA8);
|
char patch = *((char*)0x40851DA8);
|
||||||
if (!dbgEN /*&& *RDiskDBGDisPos >= 0*/) { patch24(pos, patch); }
|
if (!dbgEN /*&& *RDiskDBGDisPos >= 0*/) { patch24(pos, patch); }
|
||||||
pos = c->ramdisk + 0x00012CAFUL;
|
pos = c->ramdisk + *((long*)0x40851D9C);
|
||||||
patch = *((char*)0x40851DA9);
|
patch = *((char*)0x40851DA9);
|
||||||
if (!cdrEN /*&& *RDiskCDRDisPos >= 0*/) { patch24(pos, patch); }
|
if (!cdrEN /*&& *RDiskCDRDisPos >= 0*/) { patch24(pos, patch); }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user