mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 00:39:53 +00:00
Use execv - seems to work
This commit is contained in:
parent
77d6eb560c
commit
be94309808
@ -2144,10 +2144,9 @@ static bool frontend_linux_set_fork(enum frontend_fork fork_mode)
|
||||
static void frontend_linux_exec(const char *path, bool should_load_game)
|
||||
{
|
||||
char *newargv[] = { "/home/squarepusher/libretro-super/dist/unix-static/snes9x_next_libretro.elf", NULL };
|
||||
char *newenviron[] = { NULL };
|
||||
|
||||
execve("/home/squarepusher/libretro-super/dist/unix-static/snes9x_next_libretro.elf", newargv, newenviron);
|
||||
perror("execve");
|
||||
execv("/home/squarepusher/libretro-super/dist/unix-static/snes9x_next_libretro.elf", newargv);
|
||||
perror("execv");
|
||||
}
|
||||
|
||||
static void frontend_linux_exitspawn(char *core_path, size_t core_path_size)
|
||||
|
Loading…
x
Reference in New Issue
Block a user