summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Scott Stone <tafoid@gmail.com>2016-08-24 10:03:05 -0400
committer Scott Stone <tafoid@gmail.com>2016-08-24 10:03:05 -0400
commite13848f6e30f8aafe0f657258c08405f56b0dd8d (patch)
tree6ebd850059d7d5c5c9a8f1133abd50565cb4e73d
parentd5c646b336f6d24c1566ef867fc18f5dc58a931b (diff)
Allow unusually sized cart in svision.xml (jrnywest) to be handled without a Fatal error. (nw)
-rw-r--r--hash/svision.xml2
-rw-r--r--src/mame/drivers/svision.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/hash/svision.xml b/hash/svision.xml
index f98d9f795f4..d09a3c3a619 100644
--- a/hash/svision.xml
+++ b/hash/svision.xml
@@ -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>
diff --git a/src/mame/drivers/svision.cpp b/src/mame/drivers/svision.cpp
index c3c13f193b5..8be1e6ad019 100644
--- a/src/mame/drivers/svision.cpp
+++ b/src/mame/drivers/svision.cpp
@@ -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