summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2022-06-12 16:37:11 +0200
committer hap <happppp@users.noreply.github.com>2022-06-12 16:37:35 +0200
commitad1f6584d52a870576b5e3997bd77c729e3d3425 (patch)
tree76efcc95fbc1a548cebc9768071a79fa5c73b533
parent3880d65f7fdf2a2e4c61e17ff2938b3e9da4e2cd (diff)
goldnaxe: easier/easy dipswitch setting was the wrong way around [Jose Tejada]
-rw-r--r--src/devices/cpu/rw5000/b5000.cpp2
-rw-r--r--src/devices/cpu/rw5000/b6000.cpp2
-rw-r--r--src/devices/cpu/rw5000/b6100.cpp2
-rw-r--r--src/mame/drivers/segas16b.cpp4
-rw-r--r--src/mame/drivers/system16.cpp4
5 files changed, 7 insertions, 7 deletions
diff --git a/src/devices/cpu/rw5000/b5000.cpp b/src/devices/cpu/rw5000/b5000.cpp
index 41e636780a3..685fb1b5190 100644
--- a/src/devices/cpu/rw5000/b5000.cpp
+++ b/src/devices/cpu/rw5000/b5000.cpp
@@ -58,7 +58,7 @@ std::unique_ptr<util::disasm_interface> b5000_cpu_device::create_disassembler()
// digit segment decoder
u16 b5000_cpu_device::decode_digit(u8 data)
{
- static u8 lut_segs[0x10] =
+ static const u8 lut_segs[0x10] =
{
// 0-9 ok (6 and 9 have tails)
0x3f, 0x06, 0x5b, 0x4f, 0x66, 0x6d, 0x7d, 0x07, 0x7f, 0x6f,
diff --git a/src/devices/cpu/rw5000/b6000.cpp b/src/devices/cpu/rw5000/b6000.cpp
index f41ebfbbf48..3b18d4793b0 100644
--- a/src/devices/cpu/rw5000/b6000.cpp
+++ b/src/devices/cpu/rw5000/b6000.cpp
@@ -68,7 +68,7 @@ void b6000_cpu_device::device_reset()
// digit segment decoder
u16 b6000_cpu_device::decode_digit(u8 data)
{
- static u8 lut_segs[0x10] =
+ static const u8 lut_segs[0x10] =
{
// 0-9 same as B5000
0x3f, 0x06, 0x5b, 0x4f, 0x66, 0x6d, 0x7d, 0x07, 0x7f, 0x6f,
diff --git a/src/devices/cpu/rw5000/b6100.cpp b/src/devices/cpu/rw5000/b6100.cpp
index 17bc17b9f25..67723657ab1 100644
--- a/src/devices/cpu/rw5000/b6100.cpp
+++ b/src/devices/cpu/rw5000/b6100.cpp
@@ -47,7 +47,7 @@ std::unique_ptr<util::disasm_interface> b6100_cpu_device::create_disassembler()
// digit segment decoder
u16 b6100_cpu_device::decode_digit(u8 data)
{
- static u16 lut_segs[0x10] =
+ static const u16 lut_segs[0x10] =
{
// 0-9 same as B6000
0x3f, 0x06, 0x5b, 0x4f, 0x66, 0x6d, 0x7d, 0x07, 0x7f, 0x6f,
diff --git a/src/mame/drivers/segas16b.cpp b/src/mame/drivers/segas16b.cpp
index 708f90b8ca4..402eb581b83 100644
--- a/src/mame/drivers/segas16b.cpp
+++ b/src/mame/drivers/segas16b.cpp
@@ -2773,8 +2773,8 @@ static INPUT_PORTS_START( goldnaxe )
PORT_DIPNAME( 0x3c, 0x3c, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:3,4,5,6") // Definition according to manual
PORT_DIPSETTING( 0x00, "Special" )
PORT_DIPSETTING( 0x14, DEF_STR( Easiest ) )
- PORT_DIPSETTING( 0x1c, DEF_STR( Easier ) )
- PORT_DIPSETTING( 0x34, DEF_STR( Easy ) )
+ PORT_DIPSETTING( 0x34, DEF_STR( Easier ) )
+ PORT_DIPSETTING( 0x1c, DEF_STR( Easy ) )
PORT_DIPSETTING( 0x3c, DEF_STR( Normal ) )
PORT_DIPSETTING( 0x38, DEF_STR( Hard ) )
PORT_DIPSETTING( 0x2c, DEF_STR( Harder ) )
diff --git a/src/mame/drivers/system16.cpp b/src/mame/drivers/system16.cpp
index 0c2f7a5c5db..621fd1affe0 100644
--- a/src/mame/drivers/system16.cpp
+++ b/src/mame/drivers/system16.cpp
@@ -1674,8 +1674,8 @@ static INPUT_PORTS_START( goldnaxe )
PORT_DIPNAME( 0x3c, 0x3c, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:3,4,5,6") /* Definition according to manual */
PORT_DIPSETTING( 0x00, "Special" )
PORT_DIPSETTING( 0x14, DEF_STR( Easiest ) )
- PORT_DIPSETTING( 0x1c, DEF_STR( Easier ) )
- PORT_DIPSETTING( 0x34, DEF_STR( Easy ) )
+ PORT_DIPSETTING( 0x34, DEF_STR( Easier ) )
+ PORT_DIPSETTING( 0x1c, DEF_STR( Easy ) )
PORT_DIPSETTING( 0x3c, DEF_STR( Normal ) )
PORT_DIPSETTING( 0x38, DEF_STR( Hard ) )
PORT_DIPSETTING( 0x2c, DEF_STR( Harder ) )