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

trunk/src/emu/cpu/h8/h8_timer16.c
r32307r32308
11#include "emu.h"
22#include "h8_timer16.h"
33
4#define LOG_EVENT_TIME 0
5
46const device_type H8_TIMER16          = &device_creator<h8_timer16_device>;
57const device_type H8_TIMER16_CHANNEL  = &device_creator<h8_timer16_channel_device>;
68const device_type H8H_TIMER16_CHANNEL = &device_creator<h8h_timer16_channel_device>;
r32307r32308
296298      else
297299         event_time = 0;
298300
299      if(event_time && 0)
301      if(LOG_EVENT_TIME && event_time)
300302         logerror("%s: next event in %d cycles (%ld)\n", tag(), int(event_time - cpu->total_cycles()), long(event_time));
301303
302304   } else {
trunk/src/build/flags_clang.mak
r32307r32308
99# caused by src/emu/cpu/tms34010/34010gfx.c
1010CCOMFLAGS += -Wno-shift-count-overflow
1111
12# caused by src/emu/cpu/h8/h8_timer16.c, src/emu/video/stvvdp2.c
12# caused by src/emu/video/stvvdp2.c
1313CCOMFLAGS += -Wno-constant-logical-operand
1414
1515# TODO: needs to use $(CC)
trunk/src/mame/video/jagblit.inc
r32307r32308
344344   }
345345
346346   /* 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   }
349352
350353   /* top of the outer loop */
351354   outer = outer_count;

Previous 199869 Revisions Next


© 1997-2024 The MAME Team