summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2017-06-26 16:32:52 -0400
committer AJR <ajrhacker@users.noreply.github.com>2017-06-26 16:32:52 -0400
commit23e2d6518299b5dc8361aea056444c81ecf1eb3d (patch)
tree10d1c9d18eb278d8f6d215539a828a2e9af6d263
parent38436b340d6c76c0b86ef5b51a09e4c07067febe (diff)
Build fixes (nw)
-rw-r--r--src/devices/bus/cbus/mpu_pc98.cpp2
-rw-r--r--src/devices/cpu/mcs40/mcs40.cpp1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/devices/bus/cbus/mpu_pc98.cpp b/src/devices/bus/cbus/mpu_pc98.cpp
index 0f26fe4ac94..b669bb8769e 100644
--- a/src/devices/bus/cbus/mpu_pc98.cpp
+++ b/src/devices/bus/cbus/mpu_pc98.cpp
@@ -72,7 +72,7 @@ ADDRESS_MAP_END
void mpu_pc98_device::device_start()
{
address_space &iospace = machine().firstcpu->space(AS_IO);
- iospace.install_device(0xe0d0, 0xe0d3, *this, map, 16, 0xffffffffffffffffU >> (64 - iospace.data_width()));
+ iospace.install_device(0xe0d0, 0xe0d3, *this, &mpu_pc98_device::map, 16, 0xffffffffffffffffU >> (64 - iospace.data_width()));
}
//-------------------------------------------------
diff --git a/src/devices/cpu/mcs40/mcs40.cpp b/src/devices/cpu/mcs40/mcs40.cpp
index 8efce9710ea..f8ee59f686c 100644
--- a/src/devices/cpu/mcs40/mcs40.cpp
+++ b/src/devices/cpu/mcs40/mcs40.cpp
@@ -96,7 +96,6 @@ mcs40_cpu_device_base::mcs40_cpu_device_base(
, m_cm_rom(0U), m_cm_ram(0U), m_cy(0U)
, m_pc(0U), m_pcbase(0U), m_genflags(0U)
{
- assert(!((1 & sp_mask) | sp_mask));
assert((16U == index_reg_cnt) || (24U == index_reg_cnt));
}