hide some warnings

This commit is contained in:
aliaspider 2014-12-09 02:11:22 +01:00
parent 50df6df600
commit 3510bfb528
2 changed files with 5 additions and 0 deletions

View File

@ -56,6 +56,9 @@ endif
cpu.o: cpu.c
$(CC) -c -o $@ $< $(CFLAGS) -Wno-unused-variable -Wno-unused-label $(OPTIMIZE_SAFE) $(INCDIRS)
cpu_threaded.o: cpu_threaded.c
$(CC) -c -o $@ $< $(CFLAGS) -Wno-unused-variable -Wno-unused-label $(OPTIMIZE_SAFE) $(INCDIRS)
%.o: %.S
$(CC) -c -o $@ $< $(ASFLAGS) $(OPTIMIZE)

2
main.c
View File

@ -514,8 +514,10 @@ void trigger_ext_event()
event_number++;
}
#ifndef __LIBRETRO__
static u32 fps = 60;
static u32 frames_drawn = 60;
#endif
u32 update_gba()
{