mirror of
https://github.com/holub/mame
synced 2025-06-30 16:00:01 +03:00
Merge pull request #186 from felipesanches/avoid_log_message_flood_in_replicator1
Avoid log message flood in Replicator 1 driver.
This commit is contained in:
commit
9a68a7c392
@ -1158,7 +1158,7 @@ void avr8_device::timer_tick(int cycles)
|
||||
//TODO UINT8 int0[2] = { AVR8_INTIDX_OCF0A, AVR8_INTIDX_OCF0B };
|
||||
|
||||
#define LOG_TIMER_0 0
|
||||
#define LOG_TIMER_5 1
|
||||
#define LOG_TIMER_5 0
|
||||
// Timer 0 Handling
|
||||
void avr8_device::timer0_tick()
|
||||
{
|
||||
@ -1905,8 +1905,10 @@ void avr8_device::timer5_tick()
|
||||
case WGM5_CTC_ICR:
|
||||
case WGM5_FAST_PWM_ICR:
|
||||
case WGM5_FAST_PWM_OCR:
|
||||
printf("Unimplemented timer#5 waveform generation mode: WGMM5=0x%02X\n", AVR8_WGM5);
|
||||
break;
|
||||
#if LOG_TIMER_5
|
||||
printf("Unimplemented timer#5 waveform generation mode: AVR8_WGM5 = 0x%02X\n", AVR8_WGM5);
|
||||
#endif
|
||||
break;
|
||||
|
||||
case WGM5_CTC_OCR:
|
||||
//TODO: verify this! Can be very wrong!!!
|
||||
|
Loading…
Reference in New Issue
Block a user