mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
Revert "(Apple) Implement apple_content_loaded"
This reverts commit 861f9d14cd490346426fc32f400b6ff184ce575e.
This commit is contained in:
parent
c82145ff48
commit
f901c2967f
@ -40,15 +40,12 @@ extern char** apple_argv;
|
||||
extern id<RetroArch_Platform> apple_platform;
|
||||
|
||||
// main.m
|
||||
void apple_run_core(int argc, char **argv);
|
||||
void apple_start_iteration(void);
|
||||
void apple_stop_iteration(void);
|
||||
void apple_content_loaded(const char *core_path, const char *full_path);
|
||||
|
||||
void apple_rarch_exited(void);
|
||||
extern void apple_run_core(int argc, char **argv);
|
||||
extern void apple_start_iteration(void);
|
||||
extern void apple_stop_iteration(void);
|
||||
|
||||
// utility.m
|
||||
void apple_display_alert(const char *message, const char *title);
|
||||
extern void apple_display_alert(const char *message, const char *title);
|
||||
|
||||
@interface RANumberFormatter : NSNumberFormatter
|
||||
#ifdef IOS
|
||||
|
@ -23,10 +23,7 @@
|
||||
|
||||
id<RetroArch_Platform> apple_platform;
|
||||
|
||||
void apple_content_loaded(const char *core_path, const char *full_path)
|
||||
{
|
||||
[apple_platform loadingCore:BOXSTRING(core_path) withFile:full_path];
|
||||
}
|
||||
void apple_rarch_exited(void);
|
||||
|
||||
void apple_rarch_exited(void)
|
||||
{
|
||||
@ -36,6 +33,7 @@ void apple_rarch_exited(void)
|
||||
void apple_run_core(int argc, char **argv)
|
||||
{
|
||||
static char config_path[PATH_MAX];
|
||||
[apple_platform loadingCore:nil withFile:nil];
|
||||
|
||||
strlcpy(config_path, g_defaults.config_path, sizeof(config_path));
|
||||
|
||||
|
@ -24,10 +24,9 @@
|
||||
#include <stddef.h>
|
||||
#include <string.h>
|
||||
|
||||
/* Forward declarations */
|
||||
void apple_start_iteration(void);
|
||||
|
||||
void apple_stop_iteration(void);
|
||||
void apple_content_loaded(const char *, const char *);
|
||||
|
||||
static CFRunLoopObserverRef iterate_observer;
|
||||
|
||||
@ -178,9 +177,8 @@ static void frontend_apple_get_environment_settings(int *argc, char *argv[],
|
||||
|
||||
extern void apple_rarch_exited(void);
|
||||
|
||||
static void frontend_apple_content_loaded(void)
|
||||
static void frontend_apple_load_content(void)
|
||||
{
|
||||
apple_content_loaded(g_settings.libretro, g_extern.fullpath);
|
||||
}
|
||||
|
||||
static void frontend_apple_shutdown(bool unused)
|
||||
@ -206,6 +204,6 @@ const frontend_ctx_driver_t frontend_ctx_apple = {
|
||||
frontend_apple_shutdown, /* shutdown */
|
||||
NULL, /* get_name */
|
||||
frontend_apple_get_rating, /* get_rating */
|
||||
frontend_apple_content_loaded, /* load_content */
|
||||
frontend_apple_load_content, /* load_content */
|
||||
"apple",
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user