summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/pv2000.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/pv2000.cpp')
-rw-r--r--src/mame/drivers/pv2000.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/pv2000.cpp b/src/mame/drivers/pv2000.cpp
index d3080bfffc3..eefb89a8b02 100644
--- a/src/mame/drivers/pv2000.cpp
+++ b/src/mame/drivers/pv2000.cpp
@@ -373,7 +373,7 @@ DEVICE_IMAGE_LOAD_MEMBER( pv2000_state::cart_load )
if (size != 0x2000 && size != 0x4000)
{
- image.seterror(IMAGE_ERROR_UNSPECIFIED, "Unsupported cartridge size");
+ image.seterror(image_error::INVALIDIMAGE, "Unsupported cartridge size");
return image_init_result::FAIL;
}