mirror of
https://github.com/holub/mame
synced 2025-06-05 20:33:45 +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))
|
||||
{
|
||||
// SOUND
|
||||
nesapu_device *m_sound = machine().device<nesapu_device>("maincpu::nessound");
|
||||
// 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:nesapu");
|
||||
m_sound->write(space, offset & 0x1f, data);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user