diff options
author | 2016-08-27 21:02:42 +0200 | |
---|---|---|
committer | 2016-08-27 21:02:54 +0200 | |
commit | 0c2fb3c2893048ce0dd24fd939242b6434191480 (patch) | |
tree | d4d90c7329e25e28ac5c50bdec93784db5e56ba0 /src/devices/cpu | |
parent | 90b6c124238db259e47b8a3ca7132baf02c08ffd (diff) |
tlcs90: fix a nonsense check
Diffstat (limited to 'src/devices/cpu')
-rw-r--r-- | src/devices/cpu/tlcs90/tlcs90.cpp | 4 |
1 files 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"); } |