|
N64FlashcartMenu
|
Bookkeeping functions for history and favorites. More...
Functions | |
| void | bookkeeping_init (char *path) |
| Initialize the bookkeeping system with the specified path. | |
| void | bookkeeping_ini_load_list (bookkeeping_item_t *list, uint16_t count, mini_t *ini, const char *group) |
| Load a list of bookkeeping items from an INI file. | |
| void | bookkeeping_load (bookkeeping_t *history) |
| Load the bookkeeping history and favorites from the history file. | |
| void | bookkeeping_save (bookkeeping_t *history) |
| Save the bookkeeping history and favorites to the history file. | |
| void | bookkeeping_history_add (bookkeeping_t *bookkeeping, path_t *primary_path, path_t *secondary_path, bookkeeping_item_types_t type) |
| Add a new item to the bookkeeping history. | |
| void | bookkeeping_favorite_add (bookkeeping_t *bookkeeping, path_t *primary_path, path_t *secondary_path, bookkeeping_item_types_t type) |
| Add a new item to the bookkeeping favorites. | |
| void | bookkeeping_favorite_remove (bookkeeping_t *bookkeeping, int selection) |
| Remove an item from the bookkeeping favorites. | |
Bookkeeping functions for history and favorites.
| void bookkeeping_init | ( | char * | path | ) |
Initialize the bookkeeping system with the specified path.
Initialize ROM bookkeeping path.
| path | Path to the history file. |
| void bookkeeping_ini_load_list | ( | bookkeeping_item_t * | list, |
| uint16_t | count, | ||
| mini_t * | ini, | ||
| const char * | group ) |
Load a list of bookkeeping items from an INI file.
| list | Pointer to the list of bookkeeping items. |
| count | Number of items in the list. |
| ini | Pointer to the INI file structure. |
| group | Name of the group in the INI file. |
| void bookkeeping_load | ( | bookkeeping_t * | history | ) |
Load the bookkeeping history and favorites from the history file.
Load ROM bookkeeping.
| history | Pointer to the bookkeeping structure. |
| void bookkeeping_save | ( | bookkeeping_t * | history | ) |
Save the bookkeeping history and favorites to the history file.
Save ROM bookkeeping.
| history | Pointer to the bookkeeping structure. |
| void bookkeeping_history_add | ( | bookkeeping_t * | bookkeeping, |
| path_t * | primary_path, | ||
| path_t * | secondary_path, | ||
| bookkeeping_item_types_t | type ) |
Add a new item to the bookkeeping history.
Add a ROM to the history.
| bookkeeping | Pointer to the bookkeeping structure. |
| primary_path | Pointer to the primary path. |
| secondary_path | Pointer to the secondary path. |
| type | The type of the bookkeeping item. |
| void bookkeeping_favorite_add | ( | bookkeeping_t * | bookkeeping, |
| path_t * | primary_path, | ||
| path_t * | secondary_path, | ||
| bookkeeping_item_types_t | type ) |
Add a new item to the bookkeeping favorites.
Add a ROM to the favorites.
| bookkeeping | Pointer to the bookkeeping structure. |
| primary_path | Pointer to the primary path. |
| secondary_path | Pointer to the secondary path. |
| type | The type of the bookkeeping item. |
| void bookkeeping_favorite_remove | ( | bookkeeping_t * | bookkeeping, |
| int | selection ) |
Remove an item from the bookkeeping favorites.
Remove a ROM from the favorites.
| bookkeeping | Pointer to the bookkeeping structure. |
| selection | Index of the item to remove. |