summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Robbbert <Robbbert@users.noreply.github.com>2022-04-27 21:50:27 +1000
committer Robbbert <Robbbert@users.noreply.github.com>2022-04-27 21:50:27 +1000
commit113f6b50a6440bc64825591eb69a8d8383dc74a9 (patch)
treec155bfc8137012bf5b3982fd667e9ec6dc4e5a6b
parentbea4236c0c01221f5c76ddb04ee264e1bc1dada7 (diff)
pcmx2: fixed crash while in dipswitch menu
-rw-r--r--src/devices/bus/multibus/cpuap.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/devices/bus/multibus/cpuap.cpp b/src/devices/bus/multibus/cpuap.cpp
index f74ba79f1e6..7e271be8114 100644
--- a/src/devices/bus/multibus/cpuap.cpp
+++ b/src/devices/bus/multibus/cpuap.cpp
@@ -85,35 +85,35 @@ static INPUT_PORTS_START(cpuap)
// Offen: Ausgabe des Urladers über Diagnose-Stecker, keine SERAD/G Baugruppe gesteckt
// Open: boot loader output via diagnostic plug, no SERAD/G module plugged in
- PORT_DIPNAME(0x80, 0x00, "Diagnostic") PORT_DIPLOCATION("S7:7")
+ PORT_DIPNAME(0x80, 0x00, "Diagnostic") PORT_DIPLOCATION("S7:8")
PORT_DIPSETTING(0x00, DEF_STR(Off))
PORT_DIPSETTING(0x80, DEF_STR(On))
// Offen: Monitor-Programm nach Testende
// Open: enter monitor after test
- PORT_DIPNAME(0x40, 0x00, "Boot Option") PORT_DIPLOCATION("S7:6")
+ PORT_DIPNAME(0x40, 0x00, "Boot Option") PORT_DIPLOCATION("S7:7")
PORT_DIPSETTING(0x00, "Disk")
PORT_DIPSETTING(0x40, "Monitor")
- PORT_DIPNAME(0x20, 0x00, "S7:5") PORT_DIPLOCATION("S7:5")
+ PORT_DIPNAME(0x20, 0x00, "S7:5") PORT_DIPLOCATION("S7:6")
PORT_DIPSETTING(0x00, DEF_STR(Off))
PORT_DIPSETTING(0x20, DEF_STR(On))
- PORT_DIPNAME(0x10, 0x00, "S7:4") PORT_DIPLOCATION("S7:4")
+ PORT_DIPNAME(0x10, 0x00, "S7:4") PORT_DIPLOCATION("S7:5")
PORT_DIPSETTING(0x00, DEF_STR(Off))
PORT_DIPSETTING(0x10, DEF_STR(On))
- PORT_DIPNAME(0x08, 0x00, "S7:3") PORT_DIPLOCATION("S7:3")
+ PORT_DIPNAME(0x08, 0x00, "S7:3") PORT_DIPLOCATION("S7:4")
PORT_DIPSETTING(0x00, DEF_STR(Off))
PORT_DIPSETTING(0x08, DEF_STR(On))
- PORT_DIPNAME(0x04, 0x00, "S7:2") PORT_DIPLOCATION("S7:2")
+ PORT_DIPNAME(0x04, 0x00, "S7:2") PORT_DIPLOCATION("S7:3")
PORT_DIPSETTING(0x00, DEF_STR(Off))
PORT_DIPSETTING(0x04, DEF_STR(On))
- PORT_DIPNAME(0x02, 0x00, "S7:1") PORT_DIPLOCATION("S7:1")
+ PORT_DIPNAME(0x02, 0x00, "S7:1") PORT_DIPLOCATION("S7:2")
PORT_DIPSETTING(0x00, DEF_STR(Off))
PORT_DIPSETTING(0x02, DEF_STR(On))
// Offen: kein Reboot nach Systemabsturz
// Open: no reboot after system crash
- PORT_DIPNAME(0x01, 0x00, "S7:0") PORT_DIPLOCATION("S7:0")
+ PORT_DIPNAME(0x01, 0x00, "S7:0") PORT_DIPLOCATION("S7:1") // S7:0 not allowed, causes crash in the dips menu
PORT_DIPSETTING(0x00, DEF_STR(Off))
PORT_DIPSETTING(0x01, DEF_STR(On))