summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2019-07-29 00:06:26 +1000
committer AJR <ajrhacker@users.noreply.github.com>2019-07-29 08:55:46 -0400
commitc8cdb8caad23bad50d0e26a331f39384922084e7 (patch)
treeaa45d55c2d8fce09ecec5926f909f560b35d1c7e
parentd90e110a816417c39c04324ba6445f1da54098ba (diff)
fix clang build (nw)
-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();
}