summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2019-07-29 00:06:26 +1000
committer Vas Crabb <vas@vastheman.com>2019-07-29 00:06:26 +1000
commit7427f8ea4b22a3d6c3896f8068703635d48e7f93 (patch)
treeb19b0979d8c5011ce335842a6f33fb26489ff24e /src
parentace8e401fcfa9c1ee40b0bece9f5bfb902f97736 (diff)
fix clang build (nw)
Diffstat (limited to 'src')
-rw-r--r--src/devices/bus/tanbus/tanex.h2
-rw-r--r--src/mame/drivers/1943.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/tanbus/tanex.h b/src/devices/bus/tanbus/tanex.h
index 12f59d567ee..757e75f0224 100644
--- a/src/devices/bus/tanbus/tanex.h
+++ b/src/devices/bus/tanbus/tanex.h
@@ -75,7 +75,7 @@ private:
required_ioport m_config;
std::unique_ptr<uint8_t[]> m_ram;
- emu_timer *m_read_cassette_timer;
+ //emu_timer *m_read_cassette_timer;
};
diff --git a/src/mame/drivers/1943.cpp b/src/mame/drivers/1943.cpp
index 522ab3b0bad..c903e24e500 100644
--- a/src/mame/drivers/1943.cpp
+++ b/src/mame/drivers/1943.cpp
@@ -106,7 +106,7 @@ void _1943_state::c1943b_map(address_map &map)
// the bootleg expects 0x00 to be returned from the protection reads
// because the protection has been patched out
- map(0xc007, 0xc007).lr8("mcu_r", [this]() -> u8 { return 0x00; });
+ map(0xc007, 0xc007).lr8("mcu_r", []() -> u8 { return 0x00; });
map(0xc807, 0xc807).noprw();
}