mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-21 20:22:43 +00:00
Fix some weirdness down here.
This commit is contained in:
parent
a59ca22457
commit
4b96b5814f
@ -613,9 +613,9 @@ static bool rarch_game_specific_options(char **output)
|
||||
core_name = system ? system->info.library_name : NULL;
|
||||
game_name = global ? path_basename(global->name.base) : NULL;
|
||||
|
||||
if (!core_name || !game_name)
|
||||
if (!core_name || !game_name)
|
||||
return false;
|
||||
if (core_name[0] == '\0' || game_name == '\0')
|
||||
if (core_name[0] == '\0' || game_name[0] == '\0')
|
||||
return false;
|
||||
|
||||
RARCH_LOG("Per-game Options: core name: %s\n", core_name);
|
||||
|
@ -572,7 +572,8 @@ void fill_pathname_resolve_relative(char *out_path,
|
||||
void fill_pathname_join(char *out_path,
|
||||
const char *dir, const char *path, size_t size)
|
||||
{
|
||||
retro_assert(strlcpy(out_path, dir, size) < size);
|
||||
if (out_path!=dir)
|
||||
retro_assert(strlcpy(out_path, dir, size) < size);
|
||||
|
||||
if (*out_path)
|
||||
fill_pathname_slash(out_path, size);
|
||||
|
Loading…
x
Reference in New Issue
Block a user