diff --git a/intl/msg_hash_us.c b/intl/msg_hash_us.c index bc95db50b1..47feb61add 100644 --- a/intl/msg_hash_us.c +++ b/intl/msg_hash_us.c @@ -2002,6 +2002,8 @@ const char *msg_hash_to_str_us(enum msg_hash_enums msg) return "Frontend for libretro"; case MSG_LOADING: return "Loading"; + case MSG_GAME_SPECIFIC_CORE_OPTIONS_FOUND_AT: + return "Per-Game Options: game-specific core options found at"; case MENU_ENUM_LABEL_VALUE_NETWORK_REMOTE_PORT: return "Network Remote Base Port"; case MSG_AUTOCONFIG_FILE_SAVED_SUCCESSFULLY: diff --git a/msg_hash.h b/msg_hash.h index 777f6ac50e..2ddeb85725 100644 --- a/msg_hash.h +++ b/msg_hash.h @@ -132,6 +132,7 @@ enum msg_hash_enums MSG_FAILED_TO_SEND_NICKNAME_SIZE, MSG_FAILED_TO_SEND_NICKNAME, MSG_FAILED_TO_SEND_SRAM_DATA_TO_CLIENT, + MSG_GAME_SPECIFIC_CORE_OPTIONS_FOUND_AT, MSG_INVALID_NICKNAME_SIZE, MSG_VERSION_OF_LIBRETRO_API, MSG_COMPILED_AGAINST_API, diff --git a/runloop.c b/runloop.c index 2fd2ea4dd1..5b7782de32 100644 --- a/runloop.c +++ b/runloop.c @@ -571,7 +571,8 @@ static bool rarch_game_specific_options(char **output) char game_path[PATH_MAX_LENGTH] = {0}; config_file_t *option_file = NULL; - if (!retroarch_validate_game_options(game_path, sizeof(game_path), false)) + if (!retroarch_validate_game_options(game_path, + sizeof(game_path), false)) return false; option_file = config_file_new(game_path); @@ -580,8 +581,9 @@ static bool rarch_game_specific_options(char **output) config_file_free(option_file); - RARCH_LOG("Per-Game Options: " - "game-specific core options found at %s\n", game_path); + RARCH_LOG("%s %s\n", + msg_hash_to_str(MSG_GAME_SPECIFIC_CORE_OPTIONS_FOUND_AT), + game_path); *output = strdup(game_path); return true; } @@ -634,7 +636,8 @@ static bool runloop_check_idle_state(event_cmd_state_t *cmd) return true; } -static bool runloop_check_state(event_cmd_state_t *cmd, rarch_dir_list_t *shader_dir) +static bool runloop_check_state(event_cmd_state_t *cmd, + rarch_dir_list_t *shader_dir) { bool tmp = false; settings_t *settings = config_get_ptr();