From 0c2fb3c2893048ce0dd24fd939242b6434191480 Mon Sep 17 00:00:00 2001 From: hap Date: Sat, 27 Aug 2016 21:02:42 +0200 Subject: [PATCH] tlcs90: fix a nonsense check --- src/devices/cpu/tlcs90/tlcs90.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/devices/cpu/tlcs90/tlcs90.cpp b/src/devices/cpu/tlcs90/tlcs90.cpp index 5287425c320..8cf66a14ccb 100644 --- a/src/devices/cpu/tlcs90/tlcs90.cpp +++ b/src/devices/cpu/tlcs90/tlcs90.cpp @@ -2481,7 +2481,7 @@ TIMER_CALLBACK_MEMBER( tlcs90_device::t90_timer_callback ) TIMER_CALLBACK_MEMBER( tlcs90_device::t90_timer4_callback ) { -// logerror("CPU Timer 4 fired! value = %d\n", (unsigned)m_timer_value[4]); +// logerror("CPU Timer 4 fired! value = %d\n", (unsigned)m_timer4_value); m_timer4_value++; @@ -2502,7 +2502,7 @@ TIMER_CALLBACK_MEMBER( tlcs90_device::t90_timer4_callback ) // Overflow - if ( m_timer_value == nullptr ) + if ( m_timer4_value == 0 ) { // logerror("CPU Timer 4 overflow\n"); }