summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-04-14 11:59:26 -0400
committer AJR <ajrhacker@users.noreply.github.com>2018-04-14 11:59:26 -0400
commit5a068770dc7ad23e77690f6d870c0713297b98b7 (patch)
tree7e05c3943edab200c85d7b5ed6fbb2f6d38153ba
parent630d1c22915ca9cdb4dfb9a9794e274b757d9802 (diff)
enigma2.cpp: Fix typo (nw)
-rw-r--r--src/mame/drivers/enigma2.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/mame/drivers/enigma2.cpp b/src/mame/drivers/enigma2.cpp
index c9633840ad2..fdfc07f5596 100644
--- a/src/mame/drivers/enigma2.cpp
+++ b/src/mame/drivers/enigma2.cpp
@@ -111,10 +111,10 @@ public:
void start_interrupt_timers( );
void enigma2(machine_config &config);
void enigma2a(machine_config &config);
- void engima2_audio_cpu_map(address_map &map);
- void engima2_main_cpu_map(address_map &map);
- void engima2a_main_cpu_io_map(address_map &map);
- void engima2a_main_cpu_map(address_map &map);
+ void enigma2_audio_cpu_map(address_map &map);
+ void enigma2_main_cpu_map(address_map &map);
+ void enigma2a_main_cpu_io_map(address_map &map);
+ void enigma2a_main_cpu_map(address_map &map);
};
@@ -237,7 +237,7 @@ uint32_t enigma2_state::screen_update_enigma2(screen_device &screen, bitmap_rgb3
/* the schematics shows it like this, but it doesn't work as this would
produce no stars, due to the contents of the PROM -- maybe there is
a star disabled bit somewhere that's connected here instead of flip_screen() */
- /* star_map_address = (y >> 4 << 6) | (engima2_flip_screen_get() << 5) | (x >> 3); */
+ /* star_map_address = (y >> 4 << 6) | (enigma2_flip_screen_get() << 5) | (x >> 3); */
offs_t star_map_address = (y >> 4 << 6) | 0x20 | (x >> 3);
if (m_blink_count & 0x08)
star_map_address |= 0x400;
@@ -438,7 +438,7 @@ CUSTOM_INPUT_MEMBER(enigma2_state::p2_controls_r)
return ioport("P1CONTROLS")->read();
}
-void enigma2_state::engima2_main_cpu_map(address_map &map)
+void enigma2_state::enigma2_main_cpu_map(address_map &map)
{
map.global_mask(0x7fff);
map(0x0000, 0x1fff).rom().nopw();
@@ -455,7 +455,7 @@ void enigma2_state::engima2_main_cpu_map(address_map &map)
}
-void enigma2_state::engima2a_main_cpu_map(address_map &map)
+void enigma2_state::enigma2a_main_cpu_map(address_map &map)
{
map(0x0000, 0x1fff).rom().nopw();
map(0x2000, 0x3fff).mirror(0x4000).ram().share("videoram");
@@ -465,7 +465,7 @@ void enigma2_state::engima2a_main_cpu_map(address_map &map)
}
-void enigma2_state::engima2a_main_cpu_io_map(address_map &map)
+void enigma2_state::enigma2a_main_cpu_io_map(address_map &map)
{
map.global_mask(0x7);
map(0x00, 0x00).noprw();
@@ -478,7 +478,7 @@ void enigma2_state::engima2a_main_cpu_io_map(address_map &map)
}
-void enigma2_state::engima2_audio_cpu_map(address_map &map)
+void enigma2_state::enigma2_audio_cpu_map(address_map &map)
{
map(0x0000, 0x0fff).mirror(0x1000).rom().nopw();
map(0x2000, 0x7fff).noprw();
@@ -603,10 +603,10 @@ MACHINE_CONFIG_START(enigma2_state::enigma2)
/* basic machine hardware */
MCFG_CPU_ADD("maincpu", Z80, CPU_CLOCK)
- MCFG_CPU_PROGRAM_MAP(engima2_main_cpu_map)
+ MCFG_CPU_PROGRAM_MAP(enigma2_main_cpu_map)
MCFG_CPU_ADD("audiocpu", Z80, 2500000)
- MCFG_CPU_PROGRAM_MAP(engima2_audio_cpu_map)
+ MCFG_CPU_PROGRAM_MAP(enigma2_audio_cpu_map)
MCFG_CPU_PERIODIC_INT_DRIVER(enigma2_state, irq0_line_hold, 8*52)
@@ -631,11 +631,11 @@ MACHINE_CONFIG_START(enigma2_state::enigma2a)
/* basic machine hardware */
MCFG_CPU_ADD("maincpu", I8080, CPU_CLOCK)
- MCFG_CPU_PROGRAM_MAP(engima2a_main_cpu_map)
- MCFG_CPU_IO_MAP(engima2a_main_cpu_io_map)
+ MCFG_CPU_PROGRAM_MAP(enigma2a_main_cpu_map)
+ MCFG_CPU_IO_MAP(enigma2a_main_cpu_io_map)
MCFG_CPU_ADD("audiocpu", Z80, 2500000)
- MCFG_CPU_PROGRAM_MAP(engima2_audio_cpu_map)
+ MCFG_CPU_PROGRAM_MAP(enigma2_audio_cpu_map)
MCFG_CPU_PERIODIC_INT_DRIVER(enigma2_state, irq0_line_hold, 8*52)