Fix some weirdness down here.
This commit is contained in:
parent
a59ca22457
commit
4b96b5814f
|
@ -615,7 +615,7 @@ static bool rarch_game_specific_options(char **output)
|
||||||
|
|
||||||
if (!core_name || !game_name)
|
if (!core_name || !game_name)
|
||||||
return false;
|
return false;
|
||||||
if (core_name[0] == '\0' || game_name == '\0')
|
if (core_name[0] == '\0' || game_name[0] == '\0')
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
RARCH_LOG("Per-game Options: core name: %s\n", core_name);
|
RARCH_LOG("Per-game Options: core name: %s\n", core_name);
|
||||||
|
|
|
@ -572,6 +572,7 @@ void fill_pathname_resolve_relative(char *out_path,
|
||||||
void fill_pathname_join(char *out_path,
|
void fill_pathname_join(char *out_path,
|
||||||
const char *dir, const char *path, size_t size)
|
const char *dir, const char *path, size_t size)
|
||||||
{
|
{
|
||||||
|
if (out_path!=dir)
|
||||||
retro_assert(strlcpy(out_path, dir, size) < size);
|
retro_assert(strlcpy(out_path, dir, size) < size);
|
||||||
|
|
||||||
if (*out_path)
|
if (*out_path)
|
||||||
|
|
Loading…
Reference in New Issue