(PS3) Fix build

This commit is contained in:
twinaphex 2016-02-03 15:23:13 +01:00
parent 2f6f7d9308
commit 7e4f17ef8d
2 changed files with 9 additions and 6 deletions

View File

@ -16,11 +16,9 @@
#include <string.h>
#include <compat/strl.h>
#include "frontend_driver.h"
#ifndef IS_SALAMANDER
#include "../driver.h"
#include "../verbosity.h"
#endif
#ifdef HAVE_CONFIG_H
#include "../config.h"

View File

@ -24,10 +24,10 @@
#include <file/dir_list.h>
#include <retro_miscellaneous.h>
#include <string/stdstring.h>
#include <compat/strl.h>
#include "frontend_driver.h"
#include "../defaults.h"
#include "../file_ext.h"
#include "../verbosity.h"
struct defaults g_defaults;
@ -135,7 +135,12 @@ static void salamander_init(char *s, size_t len)
}
if (!config_file_exists || !strcmp(s, ""))
find_and_set_first_file(s, len, EXT_EXECUTABLES);
{
char executable_name[PATH_MAX_LENGTH];
frontend_driver_get_core_extension(executable_name, sizeof(executable_name));
find_and_set_first_file(s, len, executable_name);
}
else
RARCH_LOG("Start [%s] found in retroarch.cfg.\n", s);