Patch install BII drive in .sound driver Open call.

Signed-off-by: Ricky Zhang <rickyzhang@gmail.com>
This commit is contained in:
Ricky Zhang 2017-09-22 15:09:57 -04:00
parent 8d53921b20
commit ca11c25882

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