Add back CDROM and DBG disable when allocating ROM disk

This commit is contained in:
Zane Kaminski 2021-03-31 19:37:14 -04:00
parent dd43379d92
commit d7b8e2bf9a
3 changed files with 2 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View File

@ -158,10 +158,10 @@ static void RDInit(IOParamPtr p, DCtlPtr d, RDiskStorage_t *c) {
// Patch debug and CD-ROM enable bytes
char dis = 0x44;
//if (!c->dbgEN) {
//copy24(&dis/*RDiskDBGDisByte*/, &c->ramdisk[*RDiskDBGDisPos], 1);
copy24(&dis/*RDiskDBGDisByte*/, &c->ramdisk[*RDiskDBGDisPos], 1);
//}
//if (!c->cdromEN) {
//copy24(&dis/*RDiskCDROMDisByte*/, &c->ramdisk[*RDiskCDROMDisPos], 1);
copy24(&dis/*RDiskCDROMDisByte*/, &c->ramdisk[*RDiskCDROMDisPos], 1);
//}
}