hide some warnings
This commit is contained in:
parent
50df6df600
commit
3510bfb528
2 changed files with 5 additions and 0 deletions
3
Makefile
3
Makefile
|
@ -56,6 +56,9 @@ endif
|
||||||
cpu.o: cpu.c
|
cpu.o: cpu.c
|
||||||
$(CC) -c -o $@ $< $(CFLAGS) -Wno-unused-variable -Wno-unused-label $(OPTIMIZE_SAFE) $(INCDIRS)
|
$(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
|
%.o: %.S
|
||||||
$(CC) -c -o $@ $< $(ASFLAGS) $(OPTIMIZE)
|
$(CC) -c -o $@ $< $(ASFLAGS) $(OPTIMIZE)
|
||||||
|
|
||||||
|
|
2
main.c
2
main.c
|
@ -514,8 +514,10 @@ void trigger_ext_event()
|
||||||
event_number++;
|
event_number++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef __LIBRETRO__
|
||||||
static u32 fps = 60;
|
static u32 fps = 60;
|
||||||
static u32 frames_drawn = 60;
|
static u32 frames_drawn = 60;
|
||||||
|
#endif
|
||||||
|
|
||||||
u32 update_gba()
|
u32 update_gba()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue