From 332f48f2df5c6595304cf0f68b040cb4e2c8de15 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 4 Feb 2016 17:28:58 +0100 Subject: [PATCH] Hardcode path for now as a test --- frontend/drivers/platform_linux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/drivers/platform_linux.c b/frontend/drivers/platform_linux.c index 3108b938ce..6e92a14a7d 100644 --- a/frontend/drivers/platform_linux.c +++ b/frontend/drivers/platform_linux.c @@ -2135,10 +2135,10 @@ static bool frontend_linux_set_fork(bool exitspawn, static void frontend_linux_exec(const char *path, bool should_load_game) { - char *newargv[] = { NULL }; + char *newargv[] = { "/home/squarepusher/libretro-super/dist/unix-static/snes9x_next_libretro.elf", NULL }; char *newenviron[] = { NULL }; - execve(path, newargv, newenviron); + execve("/home/squarepusher/libretro-super/dist/unix-static/snes9x_next_libretro.elf", newargv, newenviron); perror("execve"); }