mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-25 23:25:40 +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 0xE:
|
||||
case 0xF:
|
||||
return *(UINT16 *) sampleBank[a&0x7FFFFF];
|
||||
return *(UINT16 *) &sampleBank[a&0x7FFFFF];
|
||||
|
||||
default:
|
||||
//printf("68K: Unknown read16 %06X\n", a);
|
||||
|
|
Loading…
Reference in a new issue