summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/peplus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/peplus.cpp')
-rw-r--r--src/mame/drivers/peplus.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/peplus.cpp b/src/mame/drivers/peplus.cpp
index c69232af1f7..2c94fb51238 100644
--- a/src/mame/drivers/peplus.cpp
+++ b/src/mame/drivers/peplus.cpp
@@ -957,7 +957,7 @@ TILE_GET_INFO_MEMBER(peplus_state::get_bg_tile_info)
void peplus_state::video_start()
{
- m_bg_tilemap = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(FUNC(peplus_state::get_bg_tile_info),this), TILEMAP_SCAN_ROWS, 8, 8, 40, 25);
+ m_bg_tilemap = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(*this, FUNC(peplus_state::get_bg_tile_info)), TILEMAP_SCAN_ROWS, 8, 8, 40, 25);
m_palette_ram[0] = std::make_unique<uint8_t[]>(0x3000);
memset(m_palette_ram[0].get(), 0, 0x3000);
m_palette_ram[1] = std::make_unique<uint8_t[]>(0x3000);
@@ -1400,7 +1400,7 @@ void peplus_state::peplus(machine_config &config)
m_crtc->set_screen(m_screen);
m_crtc->set_show_border_area(false);
m_crtc->set_char_width(8);
- m_crtc->set_on_update_addr_change_callback(FUNC(peplus_state::crtc_addr), this);
+ m_crtc->set_on_update_addr_change_callback(FUNC(peplus_state::crtc_addr));
m_crtc->out_vsync_callback().set(FUNC(peplus_state::crtc_vsync));
I2C_X2404P(config, m_i2cmem);