Remove block entry

It is quite broken and not necessary (yet).
This commit is contained in:
Robin Jones 2024-04-30 02:13:38 +01:00
parent 9869b6f7b6
commit 4f99e4862f

View File

@ -8,24 +8,6 @@
static int accessory_is_cpak[4]; static int accessory_is_cpak[4];
static cpak_info_t cpak_info; 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) { static void process (menu_t *menu) {
// check which paks are available // check which paks are available
@ -72,10 +54,8 @@ static void draw (menu_t *menu, surface_t *d) {
"\n" "\n"
"\n" "\n"
"Controller Pak (1).\n" "Controller Pak (1).\n"
"Free space: %d blocks. \n" "Free space: %d blocks. \n",
"Entries: \n%s", cpak_info.free_space
cpak_info.free_space,
format_entries_info(cpak_info.entries)
); );
} }
else { else {