summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()
{