Skip to content

Commit

Permalink
Merge fix
Browse files Browse the repository at this point in the history
And optimization for "format_boolean_type"
  • Loading branch information
networkfusion committed Oct 23, 2024
1 parent 9bce06f commit a3d8967
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/menu/rom_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion src/menu/views/load_rom.c
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}

Expand Down

0 comments on commit a3d8967

Please sign in to comment.