From 3510bfb5281f8c98fc8ddd97eb9e7aed35f879ab Mon Sep 17 00:00:00 2001 From: aliaspider Date: Tue, 9 Dec 2014 02:11:22 +0100 Subject: hide some warnings --- Makefile | 3 +++ main.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 4ddb89f..4228d97 100644 --- a/Makefile +++ b/Makefile @@ -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) diff --git a/main.c b/main.c index 49d2ae4..0e05f04 100644 --- a/main.c +++ b/main.c @@ -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() { -- cgit v1.2.3