mirror of
https://github.com/holub/mame
synced 2025-04-22 08:22:15 +03:00
Fixed MT06352 (nw)
This commit is contained in:
parent
bedd34a95d
commit
777c68ac87
@ -377,10 +377,11 @@ TIMER_DEVICE_CALLBACK_MEMBER(cps_state::ganbare_interrupt)
|
||||
|
||||
READ16_MEMBER(cps_state::qsound_rom_r)
|
||||
{
|
||||
UINT8 *rom = memregion("user1")->base();
|
||||
|
||||
if (rom)
|
||||
if (memregion("user1") != nullptr)
|
||||
{
|
||||
UINT8 *rom = memregion("user1")->base();
|
||||
return rom[offset] | 0xff00;
|
||||
}
|
||||
else
|
||||
{
|
||||
popmessage("%06x: read sound ROM byte %04x", space.device().safe_pc(), offset);
|
||||
|
Loading…
Reference in New Issue
Block a user