summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authoraliaspider2014-12-09 00:17:28 +0100
committeraliaspider2014-12-09 00:17:28 +0100
commit8f9b841f721bbfbc74590267e57e0bb4744ae63f (patch)
tree568cffe5287aeb3bb907de99681e7d881d5f0277 /main.c
parent365077772d3d8d5d479febd0388d7e74ef08d508 (diff)
downloadpicogpsp-8f9b841f721bbfbc74590267e57e0bb4744ae63f.tar.gz
picogpsp-8f9b841f721bbfbc74590267e57e0bb4744ae63f.tar.bz2
picogpsp-8f9b841f721bbfbc74590267e57e0bb4744ae63f.zip
can compile
Diffstat (limited to 'main.c')
-rw-r--r--main.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/main.c b/main.c
index b09f472..b6729ed 100644
--- a/main.c
+++ b/main.c
@@ -18,6 +18,7 @@
*/
#include "common.h"
+#include <ctype.h>
#ifdef PSP_BUILD
@@ -773,6 +774,8 @@ void synchronize()
*/
}
+#elif defined(__LIBRETRO__)
+
#else
u32 real_frame_count = 0;
@@ -870,6 +873,8 @@ void quit()
sound_exit();
+#ifndef __LIBRETRO__
+
#ifdef REGISTER_USAGE_ANALYZE
print_register_usage();
#endif
@@ -885,6 +890,8 @@ void quit()
exit(0);
#endif
+
+#endif
}
void reset_gba()
@@ -919,7 +926,7 @@ void get_ticks_us(u64 *tick_return)
#else
-u32 file_length(char *dummy, FILE *fp)
+u32 file_length(const char *dummy, FILE *fp)
{
u32 length;
@@ -930,7 +937,9 @@ u32 file_length(char *dummy, FILE *fp)
return length;
}
-#ifdef PC_BUILD
+#ifdef __LIBRETRO__
+
+#elif defined(PC_BUILD)
void delay_us(u32 us_count)
{