Skip to content

Commit

Permalink
And again
Browse files Browse the repository at this point in the history
  • Loading branch information
networkfusion committed Oct 8, 2024
1 parent fa568a7 commit a64294e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/menu/views/load_rom.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,7 @@ static const char *format_cic_type (rom_cic_type_t cic_type) {
}

static const char *format_boolean_type (bool bool_value) {
switch (bool_value) {
case true: return "On";
case false: return "Off";
default: return "Unknown";
}
if (bool_value) ? return "On" : return "Off";
}

static void set_cic_type (menu_t *menu, void *arg) {
Expand Down

0 comments on commit a64294e

Please sign in to comment.