mirror of
https://github.com/holub/mame
synced 2025-06-30 16:00:01 +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)
|
READ16_MEMBER(cps_state::qsound_rom_r)
|
||||||
{
|
{
|
||||||
UINT8 *rom = memregion("user1")->base();
|
if (memregion("user1") != nullptr)
|
||||||
|
{
|
||||||
if (rom)
|
UINT8 *rom = memregion("user1")->base();
|
||||||
return rom[offset] | 0xff00;
|
return rom[offset] | 0xff00;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
popmessage("%06x: read sound ROM byte %04x", space.device().safe_pc(), offset);
|
popmessage("%06x: read sound ROM byte %04x", space.device().safe_pc(), offset);
|
||||||
|
Loading…
Reference in New Issue
Block a user