This commit is contained in:
twinaphex 2019-06-19 05:28:20 +02:00
parent 3a984fc2e5
commit db4f0eff24

View File

@ -310,7 +310,6 @@ frontend_ctx_driver_t frontend_ctx_wiiu =
static void main_setup(void);
static void get_arguments(int *argc, char ***argv);
static void do_rarch_main(int argc, char **argv);
static void main_loop(void);
static void main_teardown(void);
@ -353,7 +352,7 @@ int main(int argc, char **argv)
int salamander_main(int argc, char **argv);
salamander_main(argc, argv);
#else
do_rarch_main(argc, argv);
rarch_main(argc, argv, NULL);
main_loop();
main_exit(NULL);
#endif /* IS_SALAMANDER */
@ -434,19 +433,6 @@ static void main_loop(void)
} while(true);
}
static void do_rarch_main(int argc, char **argv)
{
#if 0
int argc_ = 2;
char *argv_[] = { WIIU_SD_PATH "retroarch/retroarch.elf",
WIIU_SD_PATH "rom.sfc",
NULL };
rarch_main(argc_, argv_, NULL);
#else
rarch_main(argc, argv, NULL);
#endif /* if 0 */
}
static void SaveCallback(void)
{
OSSavesDone_ReadyToRelease();