summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/squale.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/squale.cpp')
-rw-r--r--src/mame/drivers/squale.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/squale.cpp b/src/mame/drivers/squale.cpp
index e0b7dce8e0b..018f9a12903 100644
--- a/src/mame/drivers/squale.cpp
+++ b/src/mame/drivers/squale.cpp
@@ -629,7 +629,7 @@ DEVICE_IMAGE_LOAD_MEMBER( squale_state::cart_load )
if ( ! size || size > 0x10000)
{
- image.seterror(IMAGE_ERROR_UNSPECIFIED, "Unsupported cartridge size");
+ image.seterror(image_error::INVALIDIMAGE, "Unsupported cartridge size");
return image_init_result::FAIL;
}