Allow unusually sized cart in svision.xml (jrnywest) to be handled without a Fatal error. (nw)

This commit is contained in:
Scott Stone 2016-08-24 10:03:05 -04:00
parent d5c646b336
commit e13848f6e3
2 changed files with 3 additions and 3 deletions

View File

@ -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>

View File

@ -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