mirror of
https://github.com/holub/mame
synced 2025-07-03 17:08:39 +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 };
|
//TODO UINT8 int0[2] = { AVR8_INTIDX_OCF0A, AVR8_INTIDX_OCF0B };
|
||||||
|
|
||||||
#define LOG_TIMER_0 0
|
#define LOG_TIMER_0 0
|
||||||
#define LOG_TIMER_5 1
|
#define LOG_TIMER_5 0
|
||||||
// Timer 0 Handling
|
// Timer 0 Handling
|
||||||
void avr8_device::timer0_tick()
|
void avr8_device::timer0_tick()
|
||||||
{
|
{
|
||||||
@ -1905,8 +1905,10 @@ void avr8_device::timer5_tick()
|
|||||||
case WGM5_CTC_ICR:
|
case WGM5_CTC_ICR:
|
||||||
case WGM5_FAST_PWM_ICR:
|
case WGM5_FAST_PWM_ICR:
|
||||||
case WGM5_FAST_PWM_OCR:
|
case WGM5_FAST_PWM_OCR:
|
||||||
printf("Unimplemented timer#5 waveform generation mode: WGMM5=0x%02X\n", AVR8_WGM5);
|
#if LOG_TIMER_5
|
||||||
break;
|
printf("Unimplemented timer#5 waveform generation mode: AVR8_WGM5 = 0x%02X\n", AVR8_WGM5);
|
||||||
|
#endif
|
||||||
|
break;
|
||||||
|
|
||||||
case WGM5_CTC_OCR:
|
case WGM5_CTC_OCR:
|
||||||
//TODO: verify this! Can be very wrong!!!
|
//TODO: verify this! Can be very wrong!!!
|
||||||
|
Loading…
Reference in New Issue
Block a user