summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/ti74.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/ti74.cpp')
-rw-r--r--src/mame/drivers/ti74.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/ti74.cpp b/src/mame/drivers/ti74.cpp
index 3047da4e1b1..7d034c30ef1 100644
--- a/src/mame/drivers/ti74.cpp
+++ b/src/mame/drivers/ti74.cpp
@@ -148,7 +148,7 @@ DEVICE_IMAGE_LOAD_MEMBER(ti74_state::cart_load)
// max size is 32KB
if (size > 0x8000)
{
- image.seterror(IMAGE_ERROR_UNSPECIFIED, "Invalid file size");
+ image.seterror(image_error::INVALIDIMAGE, "Invalid file size");
return image_init_result::FAIL;
}