Minor compatibility change for BII support

This commit is contained in:
Seth Polsley 2019-11-05 02:18:11 -06:00
parent f7da6ba4e5
commit 35e6d4fcdf
2 changed files with 5 additions and 1 deletions

View File

@ -637,7 +637,8 @@ int16 SoundInStatus(uint32 pb, uint32 dce) // A0 points to Device Manager parame
0x69, 0x6e // in
};
WriteMacInt32(pb + csParam, 0); // response will directly be written into buffer
vm_memcpy(bufferptr, str, 9);
// vm_memcpy(bufferptr, str, 9);
memcpy(Mac2HostAddr(bufferptr),str,9);
return noErr;
}

View File

@ -994,6 +994,9 @@ int16 CDROMStatus(uint32 pb, uint32 dce)
case FOURCC('v','m','o','p'): // Virtual memory attributes
WriteMacInt32(pb + csParam + 4, 0); // Drive not available for VM
break;
case FOURCC('c', 'd', '3', 'd'):
WriteMacInt16(pb + csParam + 4, 0);
break;
default:
return statusErr;
}