Fix segas16b, don't try to set the soundbank if it doesn't exist

This commit is contained in:
Olivier Galibert 2020-11-27 13:12:53 +01:00
parent 31bbc684d2
commit d965f83495

View File

@ -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);
}