summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/lynx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/lynx.cpp')
-rw-r--r--src/mame/drivers/lynx.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/lynx.cpp b/src/mame/drivers/lynx.cpp
index 2d1c00e9dfc..68a5e89ebc8 100644
--- a/src/mame/drivers/lynx.cpp
+++ b/src/mame/drivers/lynx.cpp
@@ -170,7 +170,7 @@ QUICKLOAD_LOAD_MEMBER(lynx_state::quickload_cb)
/* Check the image */
if (lynx_verify_cart((char*)header, LYNX_QUICKLOAD) != image_verify_result::PASS)
{
- image.seterror(IMAGE_ERROR_UNSPECIFIED, "Not a valid Lynx file");
+ image.seterror(image_error::INVALIDIMAGE, "Not a valid Lynx file");
return image_init_result::FAIL;
}
@@ -182,7 +182,7 @@ QUICKLOAD_LOAD_MEMBER(lynx_state::quickload_cb)
if (image.fread( &data[0], length) != length)
{
- image.seterror(IMAGE_ERROR_UNSPECIFIED, "Invalid length in file header");
+ image.seterror(image_error::INVALIDIMAGE, "Invalid length in file header");
return image_init_result::FAIL;
}