mirror of
https://github.com/holub/mame
synced 2025-04-23 08:49:55 +03:00
avr8 : fix from Filipe (nw)
This commit is contained in:
parent
0623cc4bf7
commit
488e073876
@ -1464,7 +1464,7 @@ void avr8_device::update_timer_waveform_gen_mode(UINT8 t, UINT8 mode)
|
||||
break;
|
||||
}
|
||||
|
||||
if (m_timer_top[t] == 0xFFFF){
|
||||
if (m_timer_top[t] == -1){
|
||||
m_timer_top[t] = 0;
|
||||
printf("update_timer_waveform_gen_mode: Timer #%d - Unsupported waveform generation type: %d\n", t, mode);
|
||||
}
|
||||
|
@ -162,8 +162,8 @@ protected:
|
||||
UINT8 m_r[0x200];
|
||||
|
||||
// internal timers
|
||||
UINT16 m_timer_top[6];
|
||||
INT32 m_timer_increment[6];
|
||||
INT32 m_timer_top[6];
|
||||
UINT8 m_timer_increment[6];
|
||||
UINT16 m_timer_prescale[6];
|
||||
UINT16 m_timer_prescale_count[6];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user