mirror of
https://github.com/holub/mame
synced 2025-10-04 08:28:39 +03:00
Allow unusually sized cart in svision.xml (jrnywest) to be handled without a Fatal error. (nw)
This commit is contained in:
parent
d5c646b336
commit
e13848f6e3
@ -838,7 +838,7 @@
|
||||
|
||||
|
||||
<software name="jrnywest" supported="no">
|
||||
<description>Jouney to the West</description>
|
||||
<description>Journey to the West</description>
|
||||
<year>199?</year>
|
||||
<publisher>Watara?</publisher>
|
||||
|
||||
|
@ -456,7 +456,7 @@ DEVICE_IMAGE_LOAD_MEMBER( svision_state, svision_cart )
|
||||
{
|
||||
UINT32 size = m_cart->common_get_size("rom");
|
||||
|
||||
if (size > 0x20000)
|
||||
if (size > 0x80000)
|
||||
{
|
||||
image.seterror(IMAGE_ERROR_UNSPECIFIED, "Unsupported cartridge size");
|
||||
return image_init_result::FAIL;
|
||||
@ -580,7 +580,7 @@ static MACHINE_CONFIG_DERIVED( tvlinkp, svisionp )
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
ROM_START(svision)
|
||||
ROM_REGION(0x20000, "maincpu", ROMREGION_ERASE00)
|
||||
ROM_REGION(0x80000, "maincpu", ROMREGION_ERASE00)
|
||||
ROM_END
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user