summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2017-09-11 18:07:33 -0400
committer AJR <ajrhacker@users.noreply.github.com>2017-09-11 18:07:33 -0400
commitd3cd2c35aec5a4220683df15f56bab0b4f902bdc (patch)
tree339f95ddabfe725d644ce118bd1e4fa149dbf115
parent84a1a2fa0c909e8758175f34a9e252044cf2e89c (diff)
Build fixes (nw)
-rw-r--r--src/devices/machine/68340tmu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/68340tmu.cpp b/src/devices/machine/68340tmu.cpp
index 8dc3db72bbd..4c04f49669d 100644
--- a/src/devices/machine/68340tmu.cpp
+++ b/src/devices/machine/68340tmu.cpp
@@ -300,7 +300,7 @@ void mc68340_timer_module_device::device_start()
m_cpu = downcast<m68340_cpu_device *>(owner());
- m_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(timer_callback),this));
+ m_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(mc68340_timer_module_device::timer_callback),this));
// Resolve Timer callbacks
m_tout_out_cb.resolve_safe();
@@ -310,7 +310,7 @@ void mc68340_timer_module_device::device_start()
void mc68340_timer_module_device::do_timer_irq()
{
- assert(m68340SIM);
+ assert(m_cpu->m68340SIM);
m68340_sim &sim = *m_cpu->m68340SIM;
int timer_irq_level = (m_ir & 0x0700) >> 8;
int timer_irq_vector = (m_ir & 0x00ff) >> 0;