diff options
author | aliaspider | 2014-12-09 00:17:28 +0100 |
---|---|---|
committer | aliaspider | 2014-12-09 00:17:28 +0100 |
commit | 8f9b841f721bbfbc74590267e57e0bb4744ae63f (patch) | |
tree | 568cffe5287aeb3bb907de99681e7d881d5f0277 /main.c | |
parent | 365077772d3d8d5d479febd0388d7e74ef08d508 (diff) | |
download | picogpsp-8f9b841f721bbfbc74590267e57e0bb4744ae63f.tar.gz picogpsp-8f9b841f721bbfbc74590267e57e0bb4744ae63f.tar.bz2 picogpsp-8f9b841f721bbfbc74590267e57e0bb4744ae63f.zip |
can compile
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -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) { |