summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Robbbert <Robbbert@users.noreply.github.com>2021-03-19 01:40:36 +1100
committer Robbbert <Robbbert@users.noreply.github.com>2021-03-19 01:40:36 +1100
commit866a814e9fbfb97b8605780e39c9ad96a2ebcd14 (patch)
tree591930268a28f6ffb890c0407ae376ef66076631
parentac9c71c8e8e3d6b9a275fefa2f0d32ebfb163fb7 (diff)
a7800: reassign reset and select buttons sway from joystick2; show message if loose image is rejected.
-rw-r--r--src/devices/bus/a7800/a78_slot.cpp1
-rw-r--r--src/mame/drivers/a7800.cpp4
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)