Merge pull request #136 from rickyzhang82/pr-emulated-hard-drive-in-24-bit-rom

Patch installing BII emulated hard drive in .sound driver Open call.
This commit is contained in:
asvitkine 2017-10-11 21:30:54 -04:00 committed by GitHub
commit 9a330603fd

View File

@ -884,12 +884,10 @@ static bool patch_rom_classic(void)
*wp++ = htons(M68K_NOP);
*wp = htons(M68K_NOP);
// Install our own drivers
wp = (uint16 *)(ROMBaseHost + 0x3f82a);
// Don't open .Sound driver but install our own drivers
wp = (uint16 *)(ROMBaseHost + 0x36caa);
*wp++ = htons(M68K_EMUL_OP_INSTALL_DRIVERS);
*wp++ = htons(M68K_NOP);
*wp++ = htons(M68K_NOP);
*wp = htons(M68K_NOP);
*wp = htons(0x4e75); //rts
#if 1
// Don't look for SCSI devices