(MESS) vcs_slot: avoid possible crashes when loading a new game from the internal UI. nw.
This commit is contained in:
parent
c7d242438e
commit
e286151f74
@ -177,6 +177,8 @@ static const char *vcs_get_slot(int type)
|
||||
}
|
||||
|
||||
bool vcs_cart_slot_device::call_load()
|
||||
{
|
||||
if (m_cart)
|
||||
{
|
||||
UINT8 *ROM;
|
||||
UINT32 len;
|
||||
@ -302,6 +304,9 @@ bool vcs_cart_slot_device::call_load()
|
||||
return IMAGE_INIT_PASS;
|
||||
}
|
||||
|
||||
return IMAGE_INIT_PASS;
|
||||
}
|
||||
|
||||
|
||||
/*-------------------------------------------------
|
||||
call_unload
|
||||
|
Loading…
Reference in New Issue
Block a user