mirror of
https://github.com/Polprzewodnikowy/N64FlashcartMenu.git
synced 2025-02-05 05:06:28 +01:00
Merge fix
And optimization for "format_boolean_type"
This commit is contained in:
parent
9bce06f155
commit
a3d8967dbb
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user