| Previous | 199869 Revisions | Next |
| r32308 Tuesday 23rd September, 2014 at 10:02:18 UTC by Oliver Stöneberg |
|---|
| actually avoid clang warning in src/mame/video/jagblit.inc / avoid clang warning in src/emu/cpu/h8/h8_timer16.c (nw) |
| [src/build] | flags_clang.mak |
| [src/emu/cpu/h8] | h8_timer16.c |
| [src/mame/video] | jagblit.inc |
| r32307 | r32308 | |
|---|---|---|
| 1 | 1 | #include "emu.h" |
| 2 | 2 | #include "h8_timer16.h" |
| 3 | 3 | |
| 4 | #define LOG_EVENT_TIME 0 | |
| 5 | ||
| 4 | 6 | const device_type H8_TIMER16 = &device_creator<h8_timer16_device>; |
| 5 | 7 | const device_type H8_TIMER16_CHANNEL = &device_creator<h8_timer16_channel_device>; |
| 6 | 8 | const device_type H8H_TIMER16_CHANNEL = &device_creator<h8h_timer16_channel_device>; |
| r32307 | r32308 | |
| 296 | 298 | else |
| 297 | 299 | event_time = 0; |
| 298 | 300 | |
| 299 | if(event_time | |
| 301 | if(LOG_EVENT_TIME && event_time) | |
| 300 | 302 | logerror("%s: next event in %d cycles (%ld)\n", tag(), int(event_time - cpu->total_cycles()), long(event_time)); |
| 301 | 303 | |
| 302 | 304 | } else { |
| r32307 | r32308 | |
|---|---|---|
| 9 | 9 | # caused by src/emu/cpu/tms34010/34010gfx.c |
| 10 | 10 | CCOMFLAGS += -Wno-shift-count-overflow |
| 11 | 11 | |
| 12 | # caused by src/emu/ | |
| 12 | # caused by src/emu/video/stvvdp2.c | |
| 13 | 13 | CCOMFLAGS += -Wno-constant-logical-operand |
| 14 | 14 | |
| 15 | 15 | # TODO: needs to use $(CC) |
| r32307 | r32308 | |
|---|---|---|
| 344 | 344 | } |
| 345 | 345 | |
| 346 | 346 | /* check for unhandled command bits */ |
| 347 | if ((LOG_UNHANDLED_BLITS) && (COMMAND & 0x24003000)) | |
| 348 | logerror("Blitter unhandled: these command bits: %08X\n", COMMAND & 0x24003000); | |
| 347 | if (LOG_UNHANDLED_BLITS) | |
| 348 | { | |
| 349 | if (COMMAND & 0x24003000) | |
| 350 | logerror("Blitter unhandled: these command bits: %08X\n", COMMAND & 0x24003000); | |
| 351 | } | |
| 349 | 352 | |
| 350 | 353 | /* top of the outer loop */ |
| 351 | 354 | outer = outer_count; |
| Previous | 199869 Revisions | Next |