summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatarGravatar AJR <ajrhacker@users.noreply.github.com>2019-02-19 12:38:06 -0500
committerGravatarGravatar AJR <ajrhacker@users.noreply.github.com>2019-02-19 12:38:06 -0500
commit48563c34f26532a10b2b8030997ab37b0d9760a4 (patch) (github)
treed3267d4912fe165765def75893183b2854692a9e
parent5961cff302ae84e06584f3b1f86aef66de9b72f4 (diff)
downloadmame-48563c34f26532a10b2b8030997ab37b0d9760a4.tar.bz2
mame-48563c34f26532a10b2b8030997ab37b0d9760a4.zip
Fix clang error: reference to non-static member function must be called (nw)
-rw-r--r--src/mame/drivers/tg100.cpp2
-rw-r--r--src/mame/drivers/turrett.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/tg100.cpp b/src/mame/drivers/tg100.cpp
index aeca288be89..57be0fd52b9 100644
--- a/src/mame/drivers/tg100.cpp
+++ b/src/mame/drivers/tg100.cpp
@@ -84,7 +84,7 @@ void tg100_state::tg100(machine_config &config)
SPEAKER(config, "rspeaker").front_right();
MULTIPCM(config, m_ymw258, 9400000);
- m_ymw258->set_addrmap(0, ymw258_map);
+ m_ymw258->set_addrmap(0, &tg100_state::ymw258_map);
m_ymw258->add_route(0, "lspeaker", 1.0);
m_ymw258->add_route(1, "rspeaker", 1.0);
}
diff --git a/src/mame/drivers/turrett.cpp b/src/mame/drivers/turrett.cpp
index c40bd25bf75..9858b78464d 100644
--- a/src/mame/drivers/turrett.cpp
+++ b/src/mame/drivers/turrett.cpp
@@ -373,7 +373,7 @@ void turrett_state::turrett(machine_config &config)
SPEAKER(config, "rspeaker").front_right();
turrett_device &ttsound(TURRETT(config, "ttsound", R3041_CLOCK)); // ?
- ttsound.set_addrmap(0, turrett_sound_map);
+ ttsound.set_addrmap(0, &turrett_state::turrett_sound_map);
ttsound.add_route(ALL_OUTPUTS, "lspeaker", 1.0);
ttsound.add_route(ALL_OUTPUTS, "rspeaker", 1.0);
}