Merge fix

And optimization for "format_boolean_type"
This commit is contained in:
Robin Jones 2024-10-23 14:47:08 +01:00
parent 9bce06f155
commit a3d8967dbb
2 changed files with 2 additions and 2 deletions

View File

@ -846,7 +846,7 @@ static rom_err_t save_override (path_t *path, const char *id, int value, int def
mini_t *ini = mini_try_load(path_get(rom_info_path));
if (!ini) {
path_free(overrides_path);
path_free(rom_info_path);
return ROM_ERR_SAVE_IO;
}

View File

@ -122,7 +122,7 @@ static const char *format_cic_type (rom_cic_type_t cic_type) {
}
}
static const char *format_boolean_type (bool bool_value) {
static inline const char *format_boolean_type (bool bool_value) {
return bool_value ? "On" : "Off";
}