mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-22 13:55:38 +00:00
Fixed a bug w/ Read16() -- was not casting to a pointer properly, caused Scud Race to crash.
This commit is contained in:
parent
bdf11c765f
commit
532eafef55
|
@ -139,7 +139,7 @@ UINT16 CSoundBoard::Read16(UINT32 a)
|
||||||
case 0xD:
|
case 0xD:
|
||||||
case 0xE:
|
case 0xE:
|
||||||
case 0xF:
|
case 0xF:
|
||||||
return *(UINT16 *) sampleBank[a&0x7FFFFF];
|
return *(UINT16 *) &sampleBank[a&0x7FFFFF];
|
||||||
|
|
||||||
default:
|
default:
|
||||||
//printf("68K: Unknown read16 %06X\n", a);
|
//printf("68K: Unknown read16 %06X\n", a);
|
||||||
|
|
Loading…
Reference in a new issue