summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-08-04 23:34:04 -0400
committer AJR <ajrhacker@users.noreply.github.com>2018-08-04 23:34:04 -0400
commit78a7c11849958f99bdf97a56de3d78212ada8a83 (patch)
tree83c57cf20078c67a8632e65f64cd9f6f3746a2f9
parent84a4bbc183459ace82285a7219af22d0e9d37785 (diff)
mac.cpp: Fix clang build (nw)
Sorry to say this, but GCC really isn't enforcing proper C++ syntax with regard to member pointers.
-rw-r--r--src/mame/drivers/mac.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/mac.cpp b/src/mame/drivers/mac.cpp
index eed486c4216..18f9a8b7996 100644
--- a/src/mame/drivers/mac.cpp
+++ b/src/mame/drivers/mac.cpp
@@ -1142,7 +1142,7 @@ void mac_state::macse(machine_config &config)
{
mac512ke_base(config);
add_macplus_additions(config);
- m_maincpu->set_addrmap(AS_PROGRAM, mac_state::macse_map);
+ m_maincpu->set_addrmap(AS_PROGRAM, &mac_state::macse_map);
m_via1->writepb_handler().set(FUNC(mac_state::mac_via_out_b_bbadb));
m_via1->cb2_handler().set(FUNC(mac_state::mac_adb_via_out_cb2));