diff options
Diffstat (limited to 'src/devices/bus/gameboy/gb_slot.cpp')
-rw-r--r-- | src/devices/bus/gameboy/gb_slot.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/gameboy/gb_slot.cpp b/src/devices/bus/gameboy/gb_slot.cpp index a408b9d15ff..79708f95314 100644 --- a/src/devices/bus/gameboy/gb_slot.cpp +++ b/src/devices/bus/gameboy/gb_slot.cpp @@ -267,7 +267,7 @@ image_init_result gb_cart_slot_device_base::call_load() /* Verify that the file contains 16kb blocks */ if ((len == 0) || ((len % 0x4000) != 0)) { - seterror(IMAGE_ERROR_UNSPECIFIED, "Invalid rom file size\n"); + seterror(image_error::INVALIDIMAGE, "Invalid ROM file size\n"); return image_init_result::FAIL; } } |