mirror of
https://github.com/holub/mame
synced 2025-07-01 08:18:59 +03:00
Fixed MT06352 (nw)
This commit is contained in:
parent
bedd34a95d
commit
777c68ac87
@ -376,11 +376,12 @@ TIMER_DEVICE_CALLBACK_MEMBER(cps_state::ganbare_interrupt)
|
|||||||
********************************************************************/
|
********************************************************************/
|
||||||
|
|
||||||
READ16_MEMBER(cps_state::qsound_rom_r)
|
READ16_MEMBER(cps_state::qsound_rom_r)
|
||||||
|
{
|
||||||
|
if (memregion("user1") != nullptr)
|
||||||
{
|
{
|
||||||
UINT8 *rom = memregion("user1")->base();
|
UINT8 *rom = memregion("user1")->base();
|
||||||
|
|
||||||
if (rom)
|
|
||||||
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