summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/x07.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/x07.cpp')
-rw-r--r--src/mame/drivers/x07.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/x07.cpp b/src/mame/drivers/x07.cpp
index f103a68e766..dcd9bb93ea1 100644
--- a/src/mame/drivers/x07.cpp
+++ b/src/mame/drivers/x07.cpp
@@ -1063,7 +1063,7 @@ DEVICE_IMAGE_LOAD_MEMBER( x07_state::card_load )
if (strcmp(card_type, "xp140"))
{
- image.seterror(IMAGE_ERROR_UNSPECIFIED, "Unsupported card type");
+ image.seterror(image_error::INVALIDIMAGE, "Unsupported card type");
return image_init_result::FAIL;
}
}