summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/goodejan.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/goodejan.cpp')
-rw-r--r--src/mame/drivers/goodejan.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/goodejan.cpp b/src/mame/drivers/goodejan.cpp
index 7e654567063..099e0cbd73c 100644
--- a/src/mame/drivers/goodejan.cpp
+++ b/src/mame/drivers/goodejan.cpp
@@ -440,12 +440,12 @@ WRITE16_MEMBER(goodejan_state::mahjong_panel_w)
void goodejan_state::goodejan_map(address_map &map)
{
map(0x00000, 0x0afff).ram();
- map(0x0c000, 0x0c7ff).ram().w(this, FUNC(goodejan_state::seibucrtc_sc0vram_w)).share("sc0_vram");
- map(0x0c800, 0x0cfff).ram().w(this, FUNC(goodejan_state::seibucrtc_sc3vram_w)).share("sc3_vram");
+ map(0x0c000, 0x0c7ff).ram().w(FUNC(goodejan_state::seibucrtc_sc0vram_w)).share("sc0_vram");
+ map(0x0c800, 0x0cfff).ram().w(FUNC(goodejan_state::seibucrtc_sc3vram_w)).share("sc3_vram");
map(0x0d000, 0x0dfff).ram().w(m_palette, FUNC(palette_device::write16)).share("palette");
/*Guess: these two aren't used/initialized at all.*/
- map(0x0e000, 0x0e7ff).ram().w(this, FUNC(goodejan_state::seibucrtc_sc1vram_w)).share("sc1_vram");
- map(0x0e800, 0x0efff).ram().w(this, FUNC(goodejan_state::seibucrtc_sc2vram_w)).share("sc2_vram");
+ map(0x0e000, 0x0e7ff).ram().w(FUNC(goodejan_state::seibucrtc_sc1vram_w)).share("sc1_vram");
+ map(0x0e800, 0x0efff).ram().w(FUNC(goodejan_state::seibucrtc_sc2vram_w)).share("sc2_vram");
map(0x0f800, 0x0ffff).ram().share("sprite_ram");
map(0xc0000, 0xfffff).rom();
}
@@ -453,12 +453,12 @@ void goodejan_state::goodejan_map(address_map &map)
/* totmejan CRTC is at 8000-804f,goodejan is at 8000-807f */
void goodejan_state::common_io_map(address_map &map)
{
- map(0x9000, 0x9001).w(this, FUNC(goodejan_state::gfxbank_w));
+ map(0x9000, 0x9001).w(FUNC(goodejan_state::gfxbank_w));
map(0xb000, 0xb003).nopw();
- map(0xb004, 0xb005).w(this, FUNC(goodejan_state::mahjong_panel_w));
+ map(0xb004, 0xb005).w(FUNC(goodejan_state::mahjong_panel_w));
map(0xc000, 0xc001).portr("DSW1");
- map(0xc002, 0xc003).r(this, FUNC(goodejan_state::mahjong_panel_r));
+ map(0xc002, 0xc003).r(FUNC(goodejan_state::mahjong_panel_r));
map(0xc004, 0xc005).portr("DSW2"); // switches
map(0xd000, 0xd00f).rw("seibu_sound", FUNC(seibu_sound_device::main_r), FUNC(seibu_sound_device::main_w)).umask16(0x00ff);
}