summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/spg2xx_telestory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/spg2xx_telestory.cpp')
-rw-r--r--src/mame/drivers/spg2xx_telestory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/spg2xx_telestory.cpp b/src/mame/drivers/spg2xx_telestory.cpp
index 972cf1206fb..b8a0dd24411 100644
--- a/src/mame/drivers/spg2xx_telestory.cpp
+++ b/src/mame/drivers/spg2xx_telestory.cpp
@@ -257,7 +257,7 @@ DEVICE_IMAGE_LOAD_MEMBER(telestory_state::cart_load_telestory)
if (size > 0x800000)
{
- image.seterror(IMAGE_ERROR_UNSPECIFIED, "Unsupported cartridge size");
+ image.seterror(image_error::INVALIDIMAGE, "Unsupported cartridge size");
return image_init_result::FAIL;
}