mirror of
https://github.com/libretro/RetroArch
synced 2024-12-29 12:31:05 +00:00
(PS3) Fix build
This commit is contained in:
parent
2f6f7d9308
commit
7e4f17ef8d
@ -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"
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user