diff options
Diffstat (limited to 'src/mess/drivers/aim65.c')
-rw-r--r-- | src/mess/drivers/aim65.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mess/drivers/aim65.c b/src/mess/drivers/aim65.c index 951c0204792..933b0b642ca 100644 --- a/src/mess/drivers/aim65.c +++ b/src/mess/drivers/aim65.c @@ -156,8 +156,8 @@ int aim65_state::load_cart(device_image_interface &image, generic_slot_device *s if (image.software_entry() != NULL && image.get_software_region(slot_tag) == NULL) { - astring errmsg; - errmsg.printf("Attempted to load file with wrong extension\nSocket '%s' only accepts files with '.%s' extension", + std::string errmsg; + strprintf(errmsg,"Attempted to load file with wrong extension\nSocket '%s' only accepts files with '.%s' extension", slot_tag, slot_tag); image.seterror(IMAGE_ERROR_UNSPECIFIED, errmsg.c_str()); return IMAGE_INIT_FAIL; |