From 866a814e9fbfb97b8605780e39c9ad96a2ebcd14 Mon Sep 17 00:00:00 2001 From: Robbbert Date: Fri, 19 Mar 2021 01:40:36 +1100 Subject: a7800: reassign reset and select buttons sway from joystick2; show message if loose image is rejected. --- src/devices/bus/a7800/a78_slot.cpp | 1 + src/mame/drivers/a7800.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/devices/bus/a7800/a78_slot.cpp b/src/devices/bus/a7800/a78_slot.cpp index 035fc258561..4a7392fc3f6 100644 --- a/src/devices/bus/a7800/a78_slot.cpp +++ b/src/devices/bus/a7800/a78_slot.cpp @@ -491,6 +491,7 @@ image_verify_result a78_cart_slot_device::verify_header(char *header) if (strncmp(magic, header + 1, 9)) { logerror("Not a valid A7800 image\n"); + seterror(IMAGE_ERROR_UNSPECIFIED, "File is not a valid A7800 image"); return image_verify_result::FAIL; } diff --git a/src/mame/drivers/a7800.cpp b/src/mame/drivers/a7800.cpp index e8253127cd4..580c7f8fc06 100644 --- a/src/mame/drivers/a7800.cpp +++ b/src/mame/drivers/a7800.cpp @@ -345,8 +345,8 @@ static INPUT_PORTS_START( a7800 ) PORT_BIT(0xF0, IP_ACTIVE_LOW, IPT_UNUSED) PORT_START("console_buttons") - PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_OTHER) PORT_NAME("Reset") PORT_CODE(KEYCODE_R) - PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_OTHER) PORT_NAME("Select") PORT_CODE(KEYCODE_S) + PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_OTHER) PORT_NAME("Reset") PORT_CODE(KEYCODE_U) + PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_OTHER) PORT_NAME("Select") PORT_CODE(KEYCODE_I) PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_UNUSED) PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_OTHER) PORT_NAME(DEF_STR(Pause)) PORT_CODE(KEYCODE_O) PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_UNUSED) -- cgit v1.2.3