diff options
Diffstat (limited to 'src/mame/drivers/cc40.cpp')
-rw-r--r-- | src/mame/drivers/cc40.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/cc40.cpp b/src/mame/drivers/cc40.cpp index 3766231c469..6e737b9b134 100644 --- a/src/mame/drivers/cc40.cpp +++ b/src/mame/drivers/cc40.cpp @@ -196,7 +196,7 @@ DEVICE_IMAGE_LOAD_MEMBER(cc40_state::cart_load) // max size is 4*32KB if (size > 0x20000) { - image.seterror(IMAGE_ERROR_UNSPECIFIED, "Invalid file size"); + image.seterror(image_error::INVALIDIMAGE, "Invalid file size"); return image_init_result::FAIL; } |