diff --git a/src/menu/views/joypad_controller_pak.c b/src/menu/views/joypad_controller_pak.c index 95b6caab..757ac477 100644 --- a/src/menu/views/joypad_controller_pak.c +++ b/src/menu/views/joypad_controller_pak.c @@ -8,24 +8,6 @@ static int accessory_is_cpak[4]; static cpak_info_t cpak_info; -static char *format_entries_info(entry_structure_t *entries) { - for (int j = 0; j < 16; j++) - { - if (entries[j].valid) - { - // FIXME: add entry to the string array - // sprintf(buffer + strlen(buffer), "%s - %d blocks\n", entries[j].name, entries[j].blocks); - } - else - { - // FIXME: add entry to the string array - // sprintf(buffer + strlen(buffer), "(EMPTY)\n"); - } - } - // return buffer; - return " unknown."; -} - static void process (menu_t *menu) { // check which paks are available @@ -72,10 +54,8 @@ static void draw (menu_t *menu, surface_t *d) { "\n" "\n" "Controller Pak (1).\n" - "Free space: %d blocks. \n" - "Entries: \n%s", - cpak_info.free_space, - format_entries_info(cpak_info.entries) + "Free space: %d blocks. \n", + cpak_info.free_space ); } else {