mirror of
https://github.com/holub/mame
synced 2025-06-10 06:47:18 +03:00
fix crash, but what a terrible hack this is in the first place (nw)
This commit is contained in:
parent
7301a01524
commit
2e47a293dd
@ -468,8 +468,8 @@ WRITE8_MEMBER(nes_exrom_device::write_l)
|
|||||||
|
|
||||||
if ((offset >= 0x1000) && (offset <= 0x1015))
|
if ((offset >= 0x1000) && (offset <= 0x1015))
|
||||||
{
|
{
|
||||||
// SOUND
|
// SOUND (this is a hack, it should have extra channels, not pass to the existing APU!!!)
|
||||||
nesapu_device *m_sound = machine().device<nesapu_device>("maincpu::nessound");
|
nesapu_device *m_sound = machine().device<nesapu_device>("maincpu:nesapu");
|
||||||
m_sound->write(space, offset & 0x1f, data);
|
m_sound->write(space, offset & 0x1f, data);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user