mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
tlcs90: fix a nonsense check
This commit is contained in:
parent
90b6c12423
commit
0c2fb3c289
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user