mirror of
https://github.com/libretro/RetroArch
synced 2025-02-20 15:40:44 +00:00
Call ssnes_main_init().
This commit is contained in:
parent
ef280919d3
commit
c569d9e179
@ -16,15 +16,13 @@
|
||||
*/
|
||||
|
||||
#include "main_wrap.h"
|
||||
#include "../general.h"
|
||||
#include "../strl.h"
|
||||
#include <stdlib.h>
|
||||
#include <stddef.h>
|
||||
#include <string.h>
|
||||
|
||||
#define MAX_ARGS 32
|
||||
#define MAX_ARG_LENGTH PATH_MAX
|
||||
|
||||
int ssnes_main(int argc, char **argv);
|
||||
|
||||
int ssnes_main_init_wrap(const struct ssnes_main_wrap *args)
|
||||
{
|
||||
@ -57,7 +55,7 @@ int ssnes_main_init_wrap(const struct ssnes_main_wrap *args)
|
||||
if (args->verbose)
|
||||
argv[argc++] = strdup("-v");
|
||||
|
||||
int ret = ssnes_main(argc, argv);
|
||||
int ret = ssnes_main_init(argc, argv);
|
||||
|
||||
char **tmp = argv;
|
||||
while (*tmp)
|
||||
|
Loading…
x
Reference in New Issue
Block a user