mirror of
https://github.com/holub/mame
synced 2025-06-05 20:33:45 +03:00
Fix segas16b, don't try to set the soundbank if it doesn't exist
This commit is contained in:
parent
31bbc684d2
commit
d965f83495
@ -1293,7 +1293,8 @@ void segas16b_state::machine_reset()
|
||||
}
|
||||
|
||||
// ensure the sound bank points somewhere sane
|
||||
membank("soundbank")->set_base(memregion("soundcpu")->base() + 0x10000);
|
||||
if (membank("soundbank"))
|
||||
membank("soundbank")->set_base(memregion("soundcpu")->base() + 0x10000);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user