summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraliaspider2014-12-09 02:11:22 +0100
committeraliaspider2014-12-09 02:11:22 +0100
commit3510bfb5281f8c98fc8ddd97eb9e7aed35f879ab (patch)
treebca5773c0e5a94ed5c10f576408f0d6c59040629
parent50df6df600745247af98d0f6ed52f80043c9922b (diff)
downloadpicogpsp-3510bfb5281f8c98fc8ddd97eb9e7aed35f879ab.tar.gz
picogpsp-3510bfb5281f8c98fc8ddd97eb9e7aed35f879ab.tar.bz2
picogpsp-3510bfb5281f8c98fc8ddd97eb9e7aed35f879ab.zip
hide some warnings
-rw-r--r--Makefile3
-rw-r--r--main.c2
2 files changed, 5 insertions, 0 deletions
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()
{