Fix clang error: reference to non-static member function must be called (nw)

This commit is contained in:
AJR 2019-02-19 12:38:06 -05:00
parent 5961cff302
commit 48563c34f2
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -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);
}