Previous 199869 Revisions Next

r26913 Friday 3rd January, 2014 at 11:44:30 UTC by Miodrag Milanović
avr8 : fix from Filipe (nw)
[src/emu/cpu/avr8]avr8.c avr8.h

trunk/src/emu/cpu/avr8/avr8.h
r26912r26913
162162   UINT8 m_r[0x200];
163163
164164   // internal timers
165   UINT16 m_timer_top[6];
166   INT32 m_timer_increment[6];
165   INT32 m_timer_top[6];
166   UINT8 m_timer_increment[6];
167167   UINT16 m_timer_prescale[6];
168168   UINT16 m_timer_prescale_count[6];
169169
trunk/src/emu/cpu/avr8/avr8.c
r26912r26913
14641464      break;
14651465  }
14661466
1467  if (m_timer_top[t] == 0xFFFF){
1467  if (m_timer_top[t] == -1){
14681468    m_timer_top[t] = 0;
14691469      printf("update_timer_waveform_gen_mode: Timer #%d - Unsupported waveform generation type: %d\n", t, mode);
14701470   }

Previous 199869 Revisions Next


© 1997-2024 The MAME Team