mirror of
https://github.com/Polprzewodnikowy/N64FlashcartMenu.git
synced 2024-11-29 14:04:14 +01:00
Remove block entry
It is quite broken and not necessary (yet).
This commit is contained in:
parent
9869b6f7b6
commit
4f99e4862f
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user