mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-28 23:12:14 +00:00
(GX) Buildfix
This commit is contained in:
parent
b775ee303c
commit
2f6459fa9c
@ -65,6 +65,7 @@ static enum frontend_fork gx_fork_mode = FRONTEND_FORK_NONE;
|
||||
#endif
|
||||
|
||||
#ifndef IS_SALAMANDER
|
||||
#include "../../paths.h"
|
||||
|
||||
enum
|
||||
{
|
||||
@ -414,7 +415,7 @@ static void frontend_gx_process_args(int *argc, char *argv[])
|
||||
/* A big hack: sometimes Salamander doesn't save the new core
|
||||
* it loads on first boot, so we make sure
|
||||
* active core path is set here. */
|
||||
if (config_active_core_path_is_empty() && *argc >= 1 && strrchr(argv[0], '/'))
|
||||
if (path_is_core_empty() && *argc >= 1 && strrchr(argv[0], '/'))
|
||||
{
|
||||
char path[PATH_MAX_LENGTH] = {0};
|
||||
strlcpy(path, strrchr(argv[0], '/') + 1, sizeof(path));
|
||||
|
Loading…
x
Reference in New Issue
Block a user