(APPLE) Rename rarch_main_apple to rarch_main

This commit is contained in:
twinaphex 2013-07-16 13:11:09 +02:00
parent 1d69559b2e
commit 3977cec315
2 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@ static bool use_tv_mode;
id<RetroArch_Platform> apple_platform; id<RetroArch_Platform> apple_platform;
// From frontend/frontend_ios.c // From frontend/frontend_ios.c
extern void* rarch_main_apple(void* args); extern void* rarch_main(void* args);
extern void apple_frontend_post_event(void (*fn)(void*), void* userdata); extern void apple_frontend_post_event(void (*fn)(void*), void* userdata);
@ -114,7 +114,7 @@ void apple_run_core(RAModuleInfo* core, const char* file)
load_data->rom_path = strdup(file); load_data->rom_path = strdup(file);
} }
if (pthread_create(&apple_retro_thread, 0, rarch_main_apple, load_data)) if (pthread_create(&apple_retro_thread, 0, rarch_main, load_data))
{ {
apple_rarch_exited((void*)1); apple_rarch_exited((void*)1);
return; return;

View File

@ -253,7 +253,7 @@ static void process_events(void)
pthread_mutex_unlock(&apple_event_queue_lock); pthread_mutex_unlock(&apple_event_queue_lock);
} }
void* rarch_main_apple(void* args) void* rarch_main(void* args)
#else #else
int rarch_main(int argc, char *argv[]) int rarch_main(int argc, char *argv[])
#endif #endif