mirror of
https://github.com/holub/mame
synced 2025-04-21 16:01:56 +03:00
fix regression (nw)
This commit is contained in:
parent
35efd1f17e
commit
76572532a0
@ -851,8 +851,11 @@ void sms_state::setup_media_slots()
|
||||
|
||||
void sms_state::setup_bios()
|
||||
{
|
||||
m_BIOS = memregion("user1")->base();
|
||||
m_bios_page_count = (m_BIOS ? memregion("user1")->bytes() / 0x4000 : 0);
|
||||
if (memregion("user1") != nullptr)
|
||||
{
|
||||
m_BIOS = memregion("user1")->base();
|
||||
m_bios_page_count = (m_BIOS ? memregion("user1")->bytes() / 0x4000 : 0);
|
||||
}
|
||||
|
||||
if (m_BIOS == nullptr || m_BIOS[0] == 0x00)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user