From e474065ab02aafd2313cdd7c0b54b26cf9740bfc Mon Sep 17 00:00:00 2001 From: Polprzewodnikowy Date: Wed, 24 Apr 2024 00:45:26 +0000 Subject: [PATCH] deploy: 3becd1ff59cb64a1c62fbf5417dc38d6d04855df --- 64drive_8h.html | 2 +- 64drive_8h_source.html | 4 +- 64drive__ll_8h.html | 2 +- 64drive__ll_8h_source.html | 2 +- actions_8h.html | 2 +- actions_8h_source.html | 4 +- annotated.html | 2 +- boot_8h.html | 2 +- boot_8h_source.html | 2 +- boot__io_8h.html | 2 +- boot__io_8h_source.html | 2 +- cart__load_8h.html | 2 +- cart__load_8h_source.html | 4 +- cic_8h_source.html | 2 +- classes.html | 2 +- components_8h.html | 8 +- components_8h_source.html | 8 +- constants_8h.html | 2 +- constants_8h_source.html | 2 +- dir_1a56cc8cdc1689899910be5fa4716ee4.html | 2 +- dir_2ac260d472217b65191de9df2a24e86e.html | 2 +- dir_313caf1132e152dd9b58bea13a4052ca.html | 2 +- dir_4ad298de6e9dc10146d0378a1888b2cb.html | 2 +- dir_52780cb445d9f0b97a98e8aabec4d968.html | 2 +- dir_68267d1309a1af8e8297ef4c3efbcdba.html | 2 +- dir_a2193b6f8ca8748b0e3b26a8265ce7c7.html | 2 +- dir_abdc04f88b2866c1353f358c089205e4.html | 2 +- dir_fc7b276aa2f26a1d485b93ff01d7cabb.html | 2 +- disk__info_8h.html | 8 +- disk__info_8h_source.html | 87 +++++---- files.html | 2 +- flashcart_8h.html | 13 +- flashcart_8h_source.html | 129 ++++++------- flashcart__utils_8h.html | 26 ++- flashcart__utils_8h_source.html | 32 ++- fonts_8h.html | 8 +- fonts_8h_source.html | 4 +- fs_8h_source.html | 27 ++- functions.html | 6 +- functions_vars.html | 6 +- globals.html | 3 +- globals_defs.html | 2 +- globals_enum.html | 2 +- globals_eval.html | 2 +- globals_func.html | 3 +- group__drive.html | 2 +- group__sc64.html | 2 +- group__view.html | 2 +- hdmi_8h_source.html | 2 +- index.html | 2 +- menu_8h.html | 2 +- menu_8h_source.html | 2 +- menu__state_8h.html | 21 +- menu__state_8h_source.html | 182 +++++++++--------- modules.html | 2 +- mp3__player_8h.html | 2 +- mp3__player_8h_source.html | 2 +- path_8h.html | 8 +- path_8h_source.html | 4 +- png__decoder_8h.html | 2 +- png__decoder_8h_source.html | 2 +- rom__info_8h.html | 2 +- rom__info_8h_source.html | 2 +- sc64_8h.html | 2 +- sc64_8h_source.html | 4 +- sc64__ll_8h.html | 2 +- sc64__ll_8h_source.html | 2 +- search/all_7.js | 3 +- search/all_f.js | 20 +- search/functions_0.js | 5 +- search/variables_5.js | 3 +- search/variables_c.js | 7 +- settings_8h.html | 12 +- settings_8h_source.html | 22 ++- sound_8h.html | 2 +- sound_8h_source.html | 2 +- structcache__metadata__t.html | 2 +- structcomponent__background__t.html | 2 +- structcomponent__context__menu__t_8list.html | 2 +- structflashcart__t.html | 10 +- structmatch__t.html | 2 +- structmatch__t_8data.html | 2 +- ...ctmatch__t_8fields_8____unnamed15____.html | 2 +- structmp3player__t.html | 140 +++++++------- structpng__decoder__t.html | 14 +- structrom__header__t.html | 2 +- ..._8____unnamed9_____8____unnamed11____.html | 2 +- structrom__header__t_8libultra.html | 2 +- structsc64__cmd__t.html | 2 +- structsc64__regs__t.html | 2 +- structusb__comm__command__t.html | 2 +- structview__t.html | 2 +- unionmatch__t_8fields.html | 2 +- unionrom__header__t_8____unnamed9____.html | 2 +- usb__comm_8h.html | 2 +- usb__comm_8h_source.html | 4 +- utils_8h_source.html | 2 +- views_8h.html | 2 +- views_8h_source.html | 4 +- 99 files changed, 505 insertions(+), 466 deletions(-) diff --git a/64drive_8h.html b/64drive_8h.html index 8d1ddb40..bd019a7f 100644 --- a/64drive_8h.html +++ b/64drive_8h.html @@ -95,7 +95,7 @@ Functions diff --git a/64drive_8h_source.html b/64drive_8h_source.html index a640404c..8a406f49 100644 --- a/64drive_8h_source.html +++ b/64drive_8h_source.html @@ -89,11 +89,11 @@ $(function() {
22
23
24#endif
-
Flashcart Structure.
Definition: flashcart.h:58
+
Flashcart Structure.
Definition: flashcart.h:57
diff --git a/64drive__ll_8h.html b/64drive__ll_8h.html index 13b3e1f6..96b1c86c 100644 --- a/64drive__ll_8h.html +++ b/64drive__ll_8h.html @@ -170,7 +170,7 @@ bool d64_ll_write_save_wri diff --git a/64drive__ll_8h_source.html b/64drive__ll_8h_source.html index 85c81299..560ebcf9 100644 --- a/64drive__ll_8h_source.html +++ b/64drive__ll_8h_source.html @@ -170,7 +170,7 @@ $(function() { diff --git a/actions_8h.html b/actions_8h.html index abc85f02..1ffb6035 100644 --- a/actions_8h.html +++ b/actions_8h.html @@ -95,7 +95,7 @@ void actions_update (< diff --git a/actions_8h_source.html b/actions_8h_source.html index 4d242f87..72ee2d43 100644 --- a/actions_8h_source.html +++ b/actions_8h_source.html @@ -89,11 +89,11 @@ $(function() {
16
17#endif
Menu State.
-
Menu Structure.
Definition: menu_state.h:67
+
Menu Structure.
Definition: menu_state.h:64
diff --git a/annotated.html b/annotated.html index b6840c03..de25298f 100644 --- a/annotated.html +++ b/annotated.html @@ -126,7 +126,7 @@ $(function() { diff --git a/boot_8h.html b/boot_8h.html index 79879c14..b1522983 100644 --- a/boot_8h.html +++ b/boot_8h.html @@ -166,7 +166,7 @@ detect_cic_seed diff --git a/boot_8h_source.html b/boot_8h_source.html index fd89b7bf..6467e9a0 100644 --- a/boot_8h_source.html +++ b/boot_8h_source.html @@ -121,7 +121,7 @@ $(function() { diff --git a/boot__io_8h.html b/boot__io_8h.html index 75d3c61f..b8e17ee5 100644 --- a/boot__io_8h.html +++ b/boot__io_8h.html @@ -854,7 +854,7 @@ The Release Value. diff --git a/boot__io_8h_source.html b/boot__io_8h_source.html index 3dc2f053..141f48e6 100644 --- a/boot__io_8h_source.html +++ b/boot__io_8h_source.html @@ -326,7 +326,7 @@ $(function() { diff --git a/cart__load_8h.html b/cart__load_8h.html index 581ef4e4..669c9788 100644 --- a/cart__load_8h.html +++ b/cart__load_8h.html @@ -211,7 +211,7 @@ char * cart_load_convert_e diff --git a/cart__load_8h_source.html b/cart__load_8h_source.html index 99f3ae67..bae54053 100644 --- a/cart__load_8h_source.html +++ b/cart__load_8h_source.html @@ -140,12 +140,12 @@ $(function() {
64DD disk information
Flashcart Subsystem.
Menu State.
-
Menu Structure.
Definition: menu_state.h:67
+
Menu Structure.
Definition: menu_state.h:64
N64 ROM Database.
diff --git a/cic_8h_source.html b/cic_8h_source.html index 529cd458..a151f26d 100644 --- a/cic_8h_source.html +++ b/cic_8h_source.html @@ -112,7 +112,7 @@ $(function() { diff --git a/classes.html b/classes.html index ce2c0b5a..8e9eb1a6 100644 --- a/classes.html +++ b/classes.html @@ -114,7 +114,7 @@ $(function() { diff --git a/components_8h.html b/components_8h.html index 0d99a1d8..c1c835fa 100644 --- a/components_8h.html +++ b/components_8h.html @@ -167,9 +167,9 @@ bool component_context_men void component_context_menu_draw (component_context_menu_t *cm)   - -component_boxart_tcomponent_boxart_init (char *game_code) -  + +component_boxart_tcomponent_boxart_init (const char *storage_prefix, char *game_code) +  void component_boxart_free (component_boxart_t *b)   @@ -266,7 +266,7 @@ image diff --git a/components_8h_source.html b/components_8h_source.html index 5a7f6362..df242c66 100644 --- a/components_8h_source.html +++ b/components_8h_source.html @@ -131,7 +131,7 @@ $(function() {
64 surface_t *image;
66
-
67component_boxart_t *component_boxart_init (char *game_code);
+
67component_boxart_t *component_boxart_init (const char *storage_prefix, char *game_code);
68void component_boxart_free (component_boxart_t *b);
69void component_boxart_draw (component_boxart_t *b);
70 /* menu_components */
@@ -141,12 +141,12 @@ $(function() {
Box Art Structure.
Definition: components.h:62
Definition: components.h:40
Menu State.
-
File Entry Structure.
Definition: menu_state.h:60
-
Menu Structure.
Definition: menu_state.h:67
+
File Entry Structure.
Definition: menu_state.h:57
+
Menu Structure.
Definition: menu_state.h:64
diff --git a/constants_8h.html b/constants_8h.html index 4d5d961f..b21154be 100644 --- a/constants_8h.html +++ b/constants_8h.html @@ -287,7 +287,7 @@ Macros diff --git a/constants_8h_source.html b/constants_8h_source.html index 2c9f9a07..2f9717d7 100644 --- a/constants_8h_source.html +++ b/constants_8h_source.html @@ -157,7 +157,7 @@ $(function() { diff --git a/dir_1a56cc8cdc1689899910be5fa4716ee4.html b/dir_1a56cc8cdc1689899910be5fa4716ee4.html index 87044fc2..066ff77a 100644 --- a/dir_1a56cc8cdc1689899910be5fa4716ee4.html +++ b/dir_1a56cc8cdc1689899910be5fa4716ee4.html @@ -134,7 +134,7 @@ Files diff --git a/dir_2ac260d472217b65191de9df2a24e86e.html b/dir_2ac260d472217b65191de9df2a24e86e.html index 9ba075bd..3e55648c 100644 --- a/dir_2ac260d472217b65191de9df2a24e86e.html +++ b/dir_2ac260d472217b65191de9df2a24e86e.html @@ -89,7 +89,7 @@ Files diff --git a/dir_313caf1132e152dd9b58bea13a4052ca.html b/dir_313caf1132e152dd9b58bea13a4052ca.html index dc252b8a..3fc0d3dd 100644 --- a/dir_313caf1132e152dd9b58bea13a4052ca.html +++ b/dir_313caf1132e152dd9b58bea13a4052ca.html @@ -87,7 +87,7 @@ Files diff --git a/dir_4ad298de6e9dc10146d0378a1888b2cb.html b/dir_4ad298de6e9dc10146d0378a1888b2cb.html index 0972b690..54ce4332 100644 --- a/dir_4ad298de6e9dc10146d0378a1888b2cb.html +++ b/dir_4ad298de6e9dc10146d0378a1888b2cb.html @@ -89,7 +89,7 @@ Files diff --git a/dir_52780cb445d9f0b97a98e8aabec4d968.html b/dir_52780cb445d9f0b97a98e8aabec4d968.html index e9dc16be..9c76f618 100644 --- a/dir_52780cb445d9f0b97a98e8aabec4d968.html +++ b/dir_52780cb445d9f0b97a98e8aabec4d968.html @@ -91,7 +91,7 @@ Files diff --git a/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/dir_68267d1309a1af8e8297ef4c3efbcdba.html index 2cb4ecbc..ad35ca03 100644 --- a/dir_68267d1309a1af8e8297ef4c3efbcdba.html +++ b/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -91,7 +91,7 @@ Directories diff --git a/dir_a2193b6f8ca8748b0e3b26a8265ce7c7.html b/dir_a2193b6f8ca8748b0e3b26a8265ce7c7.html index 6b4bb1e1..da744cac 100644 --- a/dir_a2193b6f8ca8748b0e3b26a8265ce7c7.html +++ b/dir_a2193b6f8ca8748b0e3b26a8265ce7c7.html @@ -86,7 +86,7 @@ Files diff --git a/dir_abdc04f88b2866c1353f358c089205e4.html b/dir_abdc04f88b2866c1353f358c089205e4.html index 9d91c749..f9ca78af 100644 --- a/dir_abdc04f88b2866c1353f358c089205e4.html +++ b/dir_abdc04f88b2866c1353f358c089205e4.html @@ -96,7 +96,7 @@ Files diff --git a/dir_fc7b276aa2f26a1d485b93ff01d7cabb.html b/dir_fc7b276aa2f26a1d485b93ff01d7cabb.html index de9d3adb..182f0d76 100644 --- a/dir_fc7b276aa2f26a1d485b93ff01d7cabb.html +++ b/dir_fc7b276aa2f26a1d485b93ff01d7cabb.html @@ -86,7 +86,7 @@ Files diff --git a/disk__info_8h.html b/disk__info_8h.html index dde4e082..f7e140f5 100644 --- a/disk__info_8h.html +++ b/disk__info_8h.html @@ -123,9 +123,9 @@ Enumerations - - + +

Functions

-disk_err_t disk_info_load (char *path, disk_info_t *disk_info)
 
+disk_err_t disk_info_load (path_t *path, disk_info_t *disk_info)
 

Detailed Description

64DD disk information

@@ -187,7 +187,7 @@ defect_tracks[16][12]
diff --git a/disk__info_8h_source.html b/disk__info_8h_source.html index 138f6f0e..1a9472b5 100644 --- a/disk__info_8h_source.html +++ b/disk__info_8h_source.html @@ -84,52 +84,57 @@ $(function() {
11#include <stdbool.h>
12#include <stdint.h>
13
-
15typedef enum {
-
16 DISK_OK,
-
17 DISK_ERR_IO,
-
18 DISK_ERR_NO_FILE,
-
19 DISK_ERR_INVALID,
- -
21
-
23typedef enum {
-
24 DISK_REGION_DEVELOPMENT,
-
25 DISK_REGION_JAPANESE,
-
26 DISK_REGION_USA,
- -
28
-
30typedef enum {
-
31 DISK_TYPE_0,
-
32 DISK_TYPE_1,
-
33 DISK_TYPE_2,
-
34 DISK_TYPE_3,
-
35 DISK_TYPE_4,
-
36 DISK_TYPE_5,
-
37 DISK_TYPE_6,
- -
39
-
41typedef struct {
-
42 disk_region_t region;
-
43 disk_type_t disk_type;
-
44 char id[4];
-
45 uint8_t version;
-
46
-
47 bool bad_system_area_lbas[24];
-
48 uint8_t defect_tracks[16][12];
- -
50
-
51
-
52disk_err_t disk_info_load (char *path, disk_info_t *disk_info);
+
14#include "path.h"
+
15
+
16
+
18typedef enum {
+
19 DISK_OK,
+
20 DISK_ERR_IO,
+
21 DISK_ERR_NO_FILE,
+
22 DISK_ERR_INVALID,
+ +
24
+
26typedef enum {
+
27 DISK_REGION_DEVELOPMENT,
+
28 DISK_REGION_JAPANESE,
+
29 DISK_REGION_USA,
+ +
31
+
33typedef enum {
+
34 DISK_TYPE_0,
+
35 DISK_TYPE_1,
+
36 DISK_TYPE_2,
+
37 DISK_TYPE_3,
+
38 DISK_TYPE_4,
+
39 DISK_TYPE_5,
+
40 DISK_TYPE_6,
+ +
42
+
44typedef struct {
+
45 disk_region_t region;
+
46 disk_type_t disk_type;
+
47 char id[4];
+
48 uint8_t version;
+
49
+
50 bool bad_system_area_lbas[24];
+
51 uint8_t defect_tracks[16][12];
+
53
54
-
55#endif
-
disk_region_t
Disk region enumeration.
Definition: disk_info.h:23
-
disk_err_t
Disk state enumeration.
Definition: disk_info.h:15
-
disk_type_t
Disk type enumeration.
Definition: disk_info.h:30
-
Disk Information Structure.
Definition: disk_info.h:41
+
55disk_err_t disk_info_load (path_t *path, disk_info_t *disk_info);
+
56
+
57
+
58#endif
+
disk_region_t
Disk region enumeration.
Definition: disk_info.h:26
+
disk_err_t
Disk state enumeration.
Definition: disk_info.h:18
+
disk_type_t
Disk type enumeration.
Definition: disk_info.h:33
+
Disk Information Structure.
Definition: disk_info.h:44
+
Menu Path.
+
Path Structure.
Definition: path.h:16
diff --git a/files.html b/files.html index cd334a6a..412325b7 100644 --- a/files.html +++ b/files.html @@ -116,7 +116,7 @@ $(function() { diff --git a/flashcart_8h.html b/flashcart_8h.html index 9bedbe0e..654fc694 100644 --- a/flashcart_8h.html +++ b/flashcart_8h.html @@ -106,12 +106,11 @@ typedef void flashcart_pro Enumerations enum  flashcart_err_t {
  FLASHCART_OK -, FLASHCART_ERR_NOT_DETECTED , FLASHCART_ERR_OUTDATED , FLASHCART_ERR_SD_CARD +, FLASHCART_ERR_ARGS ,
-  FLASHCART_ERR_ARGS -, FLASHCART_ERR_LOAD +  FLASHCART_ERR_LOAD , FLASHCART_ERR_INT , FLASHCART_ERR_FUNCTION_NOT_SUPPORTED
@@ -146,9 +145,9 @@ Functions char * flashcart_convert_error_message (flashcart_err_t err)   - -flashcart_err_t flashcart_init (void) -  + +flashcart_err_t flashcart_init (const char **storage_prefix) +  flashcart_err_t flashcart_deinit (void)   @@ -219,7 +218,7 @@ defect_tracks[16][12] diff --git a/flashcart_8h_source.html b/flashcart_8h_source.html index 71b4c521..7b49c373 100644 --- a/flashcart_8h_source.html +++ b/flashcart_8h_source.html @@ -87,77 +87,76 @@ $(function() {
14
16typedef enum {
17 FLASHCART_OK,
-
18 FLASHCART_ERR_NOT_DETECTED,
-
19 FLASHCART_ERR_OUTDATED,
-
20 FLASHCART_ERR_SD_CARD,
-
21 FLASHCART_ERR_ARGS,
-
22 FLASHCART_ERR_LOAD,
-
23 FLASHCART_ERR_INT,
-
24 FLASHCART_ERR_FUNCTION_NOT_SUPPORTED,
- -
26
-
28typedef enum {
-
29 FLASHCART_FEATURE_64DD,
-
30 FLASHCART_FEATURE_RTC,
-
31 FLASHCART_FEATURE_USB,
- -
33
-
35typedef enum {
-
36 FLASHCART_SAVE_TYPE_NONE,
-
37 FLASHCART_SAVE_TYPE_EEPROM_4K,
-
38 FLASHCART_SAVE_TYPE_EEPROM_16K,
-
39 FLASHCART_SAVE_TYPE_SRAM,
-
40 FLASHCART_SAVE_TYPE_SRAM_BANKED,
-
41 FLASHCART_SAVE_TYPE_SRAM_128K,
-
42 FLASHCART_SAVE_TYPE_FLASHRAM,
-
43 FLASHCART_SAVE_TYPE_FLASHRAM_PKST2,
-
44 __FLASHCART_SAVE_TYPE_END
- -
46
-
48typedef struct {
-
49 bool development_drive;
-
50 uint8_t disk_type;
-
51 bool bad_system_area_lbas[24];
-
52 uint8_t defect_tracks[16][12];
- -
54
-
55typedef void flashcart_progress_callback_t (float progress);
-
56
-
58typedef struct {
-
60 flashcart_err_t (*init) (void);
-
62 flashcart_err_t (*deinit) (void);
-
64 bool (*has_feature) (flashcart_features_t feature);
-
66 flashcart_err_t (*load_rom) (char *rom_path, flashcart_progress_callback_t *progress);
-
68 flashcart_err_t (*load_file) (char *file_path, uint32_t rom_offset, uint32_t file_offset);
-
70 flashcart_err_t (*load_save) (char *save_path);
-
72 flashcart_err_t (*load_64dd_ipl) (char *ipl_path, flashcart_progress_callback_t *progress);
-
74 flashcart_err_t (*load_64dd_disk) (char *disk_path, flashcart_disk_parameters_t *disk_parameters);
-
76 flashcart_err_t (*set_save_type) (flashcart_save_type_t save_type);
-
78 flashcart_err_t (*set_save_writeback) (uint32_t *sectors);
- +
18 FLASHCART_ERR_OUTDATED,
+
19 FLASHCART_ERR_SD_CARD,
+
20 FLASHCART_ERR_ARGS,
+
21 FLASHCART_ERR_LOAD,
+
22 FLASHCART_ERR_INT,
+
23 FLASHCART_ERR_FUNCTION_NOT_SUPPORTED,
+ +
25
+
27typedef enum {
+
28 FLASHCART_FEATURE_64DD,
+
29 FLASHCART_FEATURE_RTC,
+
30 FLASHCART_FEATURE_USB,
+ +
32
+
34typedef enum {
+
35 FLASHCART_SAVE_TYPE_NONE,
+
36 FLASHCART_SAVE_TYPE_EEPROM_4K,
+
37 FLASHCART_SAVE_TYPE_EEPROM_16K,
+
38 FLASHCART_SAVE_TYPE_SRAM,
+
39 FLASHCART_SAVE_TYPE_SRAM_BANKED,
+
40 FLASHCART_SAVE_TYPE_SRAM_128K,
+
41 FLASHCART_SAVE_TYPE_FLASHRAM,
+
42 FLASHCART_SAVE_TYPE_FLASHRAM_PKST2,
+
43 __FLASHCART_SAVE_TYPE_END
+ +
45
+
47typedef struct {
+
48 bool development_drive;
+
49 uint8_t disk_type;
+
50 bool bad_system_area_lbas[24];
+
51 uint8_t defect_tracks[16][12];
+ +
53
+
54typedef void flashcart_progress_callback_t (float progress);
+
55
+
57typedef struct {
+
59 flashcart_err_t (*init) (void);
+
61 flashcart_err_t (*deinit) (void);
+
63 bool (*has_feature) (flashcart_features_t feature);
+
65 flashcart_err_t (*load_rom) (char *rom_path, flashcart_progress_callback_t *progress);
+
67 flashcart_err_t (*load_file) (char *file_path, uint32_t rom_offset, uint32_t file_offset);
+
69 flashcart_err_t (*load_save) (char *save_path);
+
71 flashcart_err_t (*load_64dd_ipl) (char *ipl_path, flashcart_progress_callback_t *progress);
+
73 flashcart_err_t (*load_64dd_disk) (char *disk_path, flashcart_disk_parameters_t *disk_parameters);
+
75 flashcart_err_t (*set_save_type) (flashcart_save_type_t save_type);
+
77 flashcart_err_t (*set_save_writeback) (char *save_path);
+ +
79
80
-
81
-
82char *flashcart_convert_error_message (flashcart_err_t err);
-
83flashcart_err_t flashcart_init (void);
-
84flashcart_err_t flashcart_deinit (void);
-
85bool flashcart_has_feature (flashcart_features_t feature);
-
86flashcart_err_t flashcart_load_rom (char *rom_path, bool byte_swap, flashcart_progress_callback_t *progress);
-
87flashcart_err_t flashcart_load_file (char *file_path, uint32_t rom_offset, uint32_t file_offset);
-
88flashcart_err_t flashcart_load_save (char *save_path, flashcart_save_type_t save_type);
-
89flashcart_err_t flashcart_load_64dd_ipl (char *ipl_path, flashcart_progress_callback_t *progress);
-
90flashcart_err_t flashcart_load_64dd_disk (char *disk_path, flashcart_disk_parameters_t *disk_parameters);
+
81char *flashcart_convert_error_message (flashcart_err_t err);
+
82flashcart_err_t flashcart_init (const char **storage_prefix);
+
83flashcart_err_t flashcart_deinit (void);
+
84bool flashcart_has_feature (flashcart_features_t feature);
+
85flashcart_err_t flashcart_load_rom (char *rom_path, bool byte_swap, flashcart_progress_callback_t *progress);
+
86flashcart_err_t flashcart_load_file (char *file_path, uint32_t rom_offset, uint32_t file_offset);
+
87flashcart_err_t flashcart_load_save (char *save_path, flashcart_save_type_t save_type);
+
88flashcart_err_t flashcart_load_64dd_ipl (char *ipl_path, flashcart_progress_callback_t *progress);
+
89flashcart_err_t flashcart_load_64dd_disk (char *disk_path, flashcart_disk_parameters_t *disk_parameters);
+
90
91
-
92
-
93#endif
+
92#endif
flashcart_err_t
Flashcart error enumeration.
Definition: flashcart.h:16
-
flashcart_save_type_t
Flashcart save type enumeration.
Definition: flashcart.h:35
-
flashcart_features_t
List of optional supported flashcart features.
Definition: flashcart.h:28
-
Flashcart Disk Parameter Structure.
Definition: flashcart.h:48
-
Flashcart Structure.
Definition: flashcart.h:58
+
flashcart_save_type_t
Flashcart save type enumeration.
Definition: flashcart.h:34
+
flashcart_features_t
List of optional supported flashcart features.
Definition: flashcart.h:27
+
Flashcart Disk Parameter Structure.
Definition: flashcart.h:47
+
Flashcart Structure.
Definition: flashcart.h:57
diff --git a/flashcart__utils_8h.html b/flashcart__utils_8h.html index ab7aab8a..c4e4be79 100644 --- a/flashcart__utils_8h.html +++ b/flashcart__utils_8h.html @@ -74,6 +74,8 @@ $(function() {
flashcart_utils.h File Reference
@@ -84,24 +86,40 @@ $(function() {

Go to the source code of this file.

+ + + +

+Macros

+#define SAVE_WRITEBACK_MAX_SECTORS   (256)
 
+ + + +

+Enumerations

enum  address_type_t { ADDRESS_TYPE_MEM +, ADDRESS_TYPE_PI + }
 
- - + + + +

Functions

-void fix_file_size (FIL *fil)
 
void pi_dma_read_data (void *src, void *dst, size_t length)
 
void pi_dma_write_data (void *src, void *dst, size_t length)
 
+void fatfs_fix_file_size (FIL *fil)
 
+bool fatfs_get_file_sectors (char *path, uint32_t *address, address_type_t address_type, uint32_t max_sectors)
 

Detailed Description

Flashcart utilities.

diff --git a/flashcart__utils_8h_source.html b/flashcart__utils_8h_source.html index e27c8505..f7dc38c4 100644 --- a/flashcart__utils_8h_source.html +++ b/flashcart__utils_8h_source.html @@ -81,19 +81,33 @@ $(function() {
8#define FLASHCART_UTILS_H__
9
10
-
11#include <fatfs/ff.h>
-
12
-
13
-
14void fix_file_size (FIL *fil);
-
15void pi_dma_read_data (void *src, void *dst, size_t length);
-
16void pi_dma_write_data (void *src, void *dst, size_t length);
+
11#include <stdbool.h>
+
12#include <stddef.h>
+
13#include <stdint.h>
+
14
+
15#include <fatfs/ff.h>
+
16
17
-
18
-
19#endif
+
18#define SAVE_WRITEBACK_MAX_SECTORS (256)
+
19
+
20
+
21typedef enum {
+
22 ADDRESS_TYPE_MEM,
+
23 ADDRESS_TYPE_PI,
+
24} address_type_t;
+
25
+
26
+
27void pi_dma_read_data (void *src, void *dst, size_t length);
+
28void pi_dma_write_data (void *src, void *dst, size_t length);
+
29void fatfs_fix_file_size (FIL *fil);
+
30bool fatfs_get_file_sectors (char *path, uint32_t *address, address_type_t address_type, uint32_t max_sectors);
+
31
+
32
+
33#endif
diff --git a/fonts_8h.html b/fonts_8h.html index 84cebd53..b04982d5 100644 --- a/fonts_8h.html +++ b/fonts_8h.html @@ -106,16 +106,16 @@ Enumerations - - + +

Functions

-void fonts_init (void)
 
+void fonts_init (char *custom_font_path)
 

Detailed Description

Menu fonts.

diff --git a/fonts_8h_source.html b/fonts_8h_source.html index 8430000a..e8e0a67f 100644 --- a/fonts_8h_source.html +++ b/fonts_8h_source.html @@ -94,7 +94,7 @@ $(function() {
24
25
-
26void fonts_init (void);
+
26void fonts_init (char *custom_font_path);
27
28
29#endif
@@ -103,7 +103,7 @@ $(function() { diff --git a/fs_8h_source.html b/fs_8h_source.html index 2c13ce96..2aba077a 100644 --- a/fs_8h_source.html +++ b/fs_8h_source.html @@ -88,26 +88,23 @@ $(function() {
10#define FS_SECTOR_SIZE (512)
11
12
-
13char *strip_sd_prefix (char *path);
+
13char *strip_fs_prefix (char *path);
14
15bool file_exists (char *path);
-
16size_t file_get_size (char *path);
-
17bool file_delete (char *path);
-
18bool file_allocate (char *path, size_t size);
-
19bool file_fill (char *path, uint8_t value);
-
20bool file_get_sectors (char *path, void (*callback) (uint32_t sector_count, uint32_t file_sector, uint32_t cluster_sector, uint32_t cluster_size));
-
21bool file_has_extensions (char *path, const char *extensions[]);
-
22
-
23bool directory_exists (char *path);
-
24bool directory_delete (char *path);
-
25bool directory_create (char *path);
-
26
-
27
-
28#endif
+
16int64_t file_get_size (char *path);
+
17bool file_allocate (char *path, size_t size);
+
18bool file_fill (char *path, uint8_t value);
+
19bool file_has_extensions (char *path, const char *extensions[]);
+
20
+
21bool directory_exists (char *path);
+
22bool directory_create (char *path);
+
23
+
24
+
25#endif
diff --git a/functions.html b/functions.html index b374b85c..a933991b 100644 --- a/functions.html +++ b/functions.html @@ -113,7 +113,6 @@ $(function() {
  • H_SYNC_LEAP : vi_regs_t
  • H_WIDTH : vi_regs_t
  • has_feature : flashcart_t
  • -
  • hidden_files_enabled : settings_t
  • @@ -159,7 +158,8 @@ $(function() {

    - s -

    @@ -192,7 +192,7 @@ $(function() { diff --git a/functions_vars.html b/functions_vars.html index a4b3ac6c..6f6d3740 100644 --- a/functions_vars.html +++ b/functions_vars.html @@ -113,7 +113,6 @@ $(function() {
  • H_SYNC_LEAP : vi_regs_t
  • H_WIDTH : vi_regs_t
  • has_feature : flashcart_t
  • -
  • hidden_files_enabled : settings_t
  • @@ -159,7 +158,8 @@ $(function() {

    - s -

    @@ -192,7 +192,7 @@ $(function() { diff --git a/globals.html b/globals.html index 4d07ffbf..1792b1d4 100644 --- a/globals.html +++ b/globals.html @@ -237,6 +237,7 @@ $(function() {
  • SEEKBAR_WIDTH : constants.h
  • SEEKBAR_X : constants.h
  • SEEKBAR_Y : constants.h
  • +
  • settings_init() : settings.h
  • settings_load() : settings.h
  • settings_save() : settings.h
  • @@ -253,7 +254,7 @@ $(function() { diff --git a/globals_defs.html b/globals_defs.html index 373ee75f..33670372 100644 --- a/globals_defs.html +++ b/globals_defs.html @@ -158,7 +158,7 @@ $(function() { diff --git a/globals_enum.html b/globals_enum.html index 66728140..ab073a2e 100644 --- a/globals_enum.html +++ b/globals_enum.html @@ -104,7 +104,7 @@ $(function() { diff --git a/globals_eval.html b/globals_eval.html index 31090016..953b5b36 100644 --- a/globals_eval.html +++ b/globals_eval.html @@ -143,7 +143,7 @@ $(function() { diff --git a/globals_func.html b/globals_func.html index 85ce4189..42823a98 100644 --- a/globals_func.html +++ b/globals_func.html @@ -70,13 +70,14 @@ $(function() {
     
    diff --git a/group__drive.html b/group__drive.html index a2eba146..53a3b811 100644 --- a/group__drive.html +++ b/group__drive.html @@ -338,7 +338,7 @@ WRITEBACK[256] diff --git a/group__sc64.html b/group__sc64.html index 567f3332..5ef4f37d 100644 --- a/group__sc64.html +++ b/group__sc64.html @@ -330,7 +330,7 @@ sector_table diff --git a/group__view.html b/group__view.html index 68658868..3cb1c415 100644 --- a/group__view.html +++ b/group__view.html @@ -181,7 +181,7 @@ void menu_show_error ( diff --git a/hdmi_8h_source.html b/hdmi_8h_source.html index 66b4ec93..839a3a0e 100644 --- a/hdmi_8h_source.html +++ b/hdmi_8h_source.html @@ -93,7 +93,7 @@ $(function() { diff --git a/index.html b/index.html index 48c09dee..bba0f775 100644 --- a/index.html +++ b/index.html @@ -213,7 +213,7 @@ Open source software and licenses used diff --git a/menu_8h.html b/menu_8h.html index 69d8d36a..09ef344f 100644 --- a/menu_8h.html +++ b/menu_8h.html @@ -95,7 +95,7 @@ void menu_run ( diff --git a/menu_8h_source.html b/menu_8h_source.html index 40728a1f..3377c1b5 100644 --- a/menu_8h_source.html +++ b/menu_8h_source.html @@ -93,7 +93,7 @@ $(function() { diff --git a/menu__state_8h.html b/menu__state_8h.html index 2a72b962..a50c0e22 100644 --- a/menu__state_8h.html +++ b/menu__state_8h.html @@ -75,7 +75,6 @@ $(function() {
    menu_state.h File Reference
    @@ -101,12 +100,6 @@ Data Structures struct  menu_t.load   - - - -

    -Macros

    -#define BROWSER_LIST_SIZE   2048
     
    +int64_t + + + @@ -373,9 +372,9 @@ directory +entry_t * +list diff --git a/menu__state_8h_source.html b/menu__state_8h_source.html index 7ad8e14f..364ad14a 100644 --- a/menu__state_8h_source.html +++ b/menu__state_8h_source.html @@ -91,103 +91,101 @@ $(function() {
    18#include "settings.h"
    19
    20
    -
    21#define BROWSER_LIST_SIZE 2048
    -
    22
    -
    23
    -
    25typedef enum {
    -
    26 MENU_MODE_NONE,
    -
    27 MENU_MODE_STARTUP,
    -
    28 MENU_MODE_BROWSER,
    -
    29 MENU_MODE_FILE_INFO,
    -
    30 MENU_MODE_SYSTEM_INFO,
    -
    31 MENU_MODE_IMAGE_VIEWER,
    -
    32 MENU_MODE_TEXT_VIEWER,
    -
    33 MENU_MODE_MUSIC_PLAYER,
    -
    34 MENU_MODE_CREDITS,
    -
    35 MENU_MODE_SETTINGS_EDITOR,
    -
    36 MENU_MODE_RTC,
    -
    37 MENU_MODE_FLASHCART,
    -
    38 MENU_MODE_LOAD_ROM,
    -
    39 MENU_MODE_LOAD_DISK,
    -
    40 MENU_MODE_LOAD_EMULATOR,
    -
    41 MENU_MODE_ERROR,
    -
    42 MENU_MODE_FAULT,
    -
    43 MENU_MODE_BOOT,
    - -
    45
    -
    47typedef enum {
    -
    48 ENTRY_TYPE_DIR,
    -
    49 ENTRY_TYPE_ROM,
    -
    50 ENTRY_TYPE_DISK,
    -
    51 ENTRY_TYPE_EMULATOR,
    -
    52 ENTRY_TYPE_SAVE,
    -
    53 ENTRY_TYPE_IMAGE,
    -
    54 ENTRY_TYPE_MUSIC,
    -
    55 ENTRY_TYPE_TEXT,
    -
    56 ENTRY_TYPE_OTHER,
    - -
    58
    -
    60typedef struct {
    -
    61 char *name;
    -
    62 entry_type_t type;
    -
    63 int size;
    -
    64} entry_t;
    -
    65
    -
    67typedef struct {
    -
    68 menu_mode_t mode;
    -
    69 menu_mode_t next_mode;
    -
    70
    -
    71 settings_t settings;
    -
    72 boot_params_t *boot_params;
    -
    73
    -
    74 char *error_message;
    -
    75 flashcart_err_t flashcart_err;
    +
    22typedef enum {
    +
    23 MENU_MODE_NONE,
    +
    24 MENU_MODE_STARTUP,
    +
    25 MENU_MODE_BROWSER,
    +
    26 MENU_MODE_FILE_INFO,
    +
    27 MENU_MODE_SYSTEM_INFO,
    +
    28 MENU_MODE_IMAGE_VIEWER,
    +
    29 MENU_MODE_TEXT_VIEWER,
    +
    30 MENU_MODE_MUSIC_PLAYER,
    +
    31 MENU_MODE_CREDITS,
    +
    32 MENU_MODE_SETTINGS_EDITOR,
    +
    33 MENU_MODE_RTC,
    +
    34 MENU_MODE_FLASHCART,
    +
    35 MENU_MODE_LOAD_ROM,
    +
    36 MENU_MODE_LOAD_DISK,
    +
    37 MENU_MODE_LOAD_EMULATOR,
    +
    38 MENU_MODE_ERROR,
    +
    39 MENU_MODE_FAULT,
    +
    40 MENU_MODE_BOOT,
    + +
    42
    +
    44typedef enum {
    +
    45 ENTRY_TYPE_DIR,
    +
    46 ENTRY_TYPE_ROM,
    +
    47 ENTRY_TYPE_DISK,
    +
    48 ENTRY_TYPE_EMULATOR,
    +
    49 ENTRY_TYPE_SAVE,
    +
    50 ENTRY_TYPE_IMAGE,
    +
    51 ENTRY_TYPE_MUSIC,
    +
    52 ENTRY_TYPE_TEXT,
    +
    53 ENTRY_TYPE_OTHER,
    + +
    55
    +
    57typedef struct {
    +
    58 char *name;
    +
    59 entry_type_t type;
    +
    60 int64_t size;
    +
    61} entry_t;
    +
    62
    +
    64typedef struct {
    +
    65 menu_mode_t mode;
    +
    66 menu_mode_t next_mode;
    +
    67
    +
    68 const char *storage_prefix;
    +
    69 settings_t settings;
    +
    70 boot_params_t *boot_params;
    +
    71
    +
    72 char *error_message;
    +
    73 flashcart_err_t flashcart_err;
    +
    74
    +
    75 time_t current_time;
    76
    -
    77 time_t current_time;
    -
    78
    -
    79 struct {
    -
    80 bool go_up;
    -
    81 bool go_down;
    -
    82 bool go_left;
    -
    83 bool go_right;
    -
    84 bool go_fast;
    -
    85
    -
    86 bool enter;
    -
    87 bool back;
    -
    88 bool options;
    -
    89 bool settings;
    -
    90 } actions;
    -
    91
    -
    92 struct {
    -
    93 bool valid;
    -
    94 bool reload;
    -
    95 path_t *directory;
    -
    96 entry_t list[BROWSER_LIST_SIZE];
    -
    97 int entries;
    -
    98 entry_t *entry;
    -
    99 int selected;
    -
    100 } browser;
    -
    101
    -
    102 struct {
    -
    103 path_t *rom_path;
    -
    104 rom_info_t rom_info;
    -
    105 path_t *disk_path;
    -
    106 disk_info_t disk_info;
    -
    107 } load;
    -
    108} menu_t;
    -
    109
    -
    110
    -
    111#endif
    +
    77 struct {
    +
    78 bool go_up;
    +
    79 bool go_down;
    +
    80 bool go_left;
    +
    81 bool go_right;
    +
    82 bool go_fast;
    +
    83
    +
    84 bool enter;
    +
    85 bool back;
    +
    86 bool options;
    +
    87 bool settings;
    +
    88 } actions;
    +
    89
    +
    90 struct {
    +
    91 bool valid;
    +
    92 bool reload;
    +
    93 path_t *directory;
    +
    94 entry_t *list;
    +
    95 int entries;
    +
    96 entry_t *entry;
    +
    97 int selected;
    +
    98 } browser;
    +
    99
    +
    100 struct {
    +
    101 path_t *rom_path;
    +
    102 rom_info_t rom_info;
    +
    103 path_t *disk_path;
    +
    104 disk_info_t disk_info;
    +
    105 } load;
    +
    106} menu_t;
    +
    107
    +
    108
    +
    109#endif
    Flashcart Boot Subsystem.
    Boot Parameters Structure.
    Definition: boot.h:36
    64DD disk information
    -
    Disk Information Structure.
    Definition: disk_info.h:41
    +
    Disk Information Structure.
    Definition: disk_info.h:44
    Flashcart Subsystem.
    flashcart_err_t
    Flashcart error enumeration.
    Definition: flashcart.h:16
    -
    entry_type_t
    File entry type enumeration.
    Definition: menu_state.h:47
    -
    menu_mode_t
    Menu mode enumeration.
    Definition: menu_state.h:25
    -
    File Entry Structure.
    Definition: menu_state.h:60
    -
    Menu Structure.
    Definition: menu_state.h:67
    +
    entry_type_t
    File entry type enumeration.
    Definition: menu_state.h:44
    +
    menu_mode_t
    Menu mode enumeration.
    Definition: menu_state.h:22
    +
    File Entry Structure.
    Definition: menu_state.h:57
    +
    Menu Structure.
    Definition: menu_state.h:64
    Menu Path.
    Path Structure.
    Definition: path.h:16
    N64 ROM Database.
    @@ -197,7 +195,7 @@ $(function() { diff --git a/modules.html b/modules.html index e8da1b56..4616e8b1 100644 --- a/modules.html +++ b/modules.html @@ -82,7 +82,7 @@ $(function() { diff --git a/mp3__player_8h.html b/mp3__player_8h.html index 5fc43d8b..fe138675 100644 --- a/mp3__player_8h.html +++ b/mp3__player_8h.html @@ -158,7 +158,7 @@ float 

    Enumerations

    enum  menu_mode_t {
    @@ -183,7 +176,7 @@ type
    -int size @@ -219,6 +212,12 @@ next_mode
    +const char * +storage_prefix +
    settings_t settings
    -entry_t -list[BROWSER_LIST_SIZE]
    @@ -444,7 +443,7 @@ disk_info mp3player_get_progre diff --git a/mp3__player_8h_source.html b/mp3__player_8h_source.html index 78bafa27..8820e729 100644 --- a/mp3__player_8h_source.html +++ b/mp3__player_8h_source.html @@ -117,7 +117,7 @@ $(function() { diff --git a/path_8h.html b/path_8h.html index ceee2fe5..0061c199 100644 --- a/path_8h.html +++ b/path_8h.html @@ -93,9 +93,9 @@ Data Structures
    - - + + @@ -175,7 +175,7 @@ capacity diff --git a/path_8h_source.html b/path_8h_source.html index 0743215a..377f6d86 100644 --- a/path_8h_source.html +++ b/path_8h_source.html @@ -92,7 +92,7 @@ $(function() {
    20} path_t;
    21
    22
    -
    23path_t *path_init (char *prefix, char *string);
    +
    23path_t *path_init (const char *prefix, char *string);
    24void path_free (path_t *path);
    25path_t *path_clone (path_t *string);
    26path_t *path_clone_push (path_t *path, char *string);
    @@ -112,7 +112,7 @@ $(function() { diff --git a/png__decoder_8h.html b/png__decoder_8h.html index 37f34e24..2e4d6758 100644 --- a/png__decoder_8h.html +++ b/png__decoder_8h.html @@ -127,7 +127,7 @@ void  diff --git a/rom__info_8h_source.html b/rom__info_8h_source.html index 0099b501..d2e22dd6 100644 --- a/rom__info_8h_source.html +++ b/rom__info_8h_source.html @@ -306,7 +306,7 @@ $(function() { diff --git a/sc64_8h.html b/sc64_8h.html index 4c82d565..7513ea70 100644 --- a/sc64_8h.html +++ b/sc64_8h.html @@ -95,7 +95,7 @@ Functions diff --git a/sc64_8h_source.html b/sc64_8h_source.html index 9110b046..90f46ba4 100644 --- a/sc64_8h_source.html +++ b/sc64_8h_source.html @@ -89,11 +89,11 @@ $(function() {
    22
    23
    24#endif
    -
    Flashcart Structure.
    Definition: flashcart.h:58
    +
    Flashcart Structure.
    Definition: flashcart.h:57
    diff --git a/sc64__ll_8h.html b/sc64__ll_8h.html index 6b2d859b..2007387d 100644 --- a/sc64__ll_8h.html +++ b/sc64__ll_8h.html @@ -236,7 +236,7 @@ void 

    Functions

    -path_tpath_init (char *prefix, char *string)
     
    +path_tpath_init (const char *prefix, char *string)
     
    void path_free (path_t *path)
     
    png_decoder_poll diff --git a/png__decoder_8h_source.html b/png__decoder_8h_source.html index 54214eb2..7c717297 100644 --- a/png__decoder_8h_source.html +++ b/png__decoder_8h_source.html @@ -107,7 +107,7 @@ $(function() { diff --git a/rom__info_8h.html b/rom__info_8h.html index c6c22824..edea39db 100644 --- a/rom__info_8h.html +++ b/rom__info_8h.html @@ -721,7 +721,7 @@ expansion_pak
    sc64_ll_lock (voi diff --git a/sc64__ll_8h_source.html b/sc64__ll_8h_source.html index a6ed4463..b104fef9 100644 --- a/sc64__ll_8h_source.html +++ b/sc64__ll_8h_source.html @@ -208,7 +208,7 @@ $(function() { diff --git a/search/all_7.js b/search/all_7.js index 4d189a9b..7c41c9e1 100644 --- a/search/all_7.js +++ b/search/all_7.js @@ -5,6 +5,5 @@ var searchData= ['h_5fsync_2',['H_SYNC',['../boot__io_8h.html#a68c8e1537ebc5243d5b6bb773fe479ad',1,'vi_regs_t']]], ['h_5fsync_5fleap_3',['H_SYNC_LEAP',['../boot__io_8h.html#ab76316a7a5c429c53d97eff274b99747',1,'vi_regs_t']]], ['h_5fwidth_4',['H_WIDTH',['../boot__io_8h.html#af2521492273c60801fa69449d73487a9',1,'vi_regs_t']]], - ['has_5ffeature_5',['has_feature',['../structflashcart__t.html#aa2fe700083b66bd2eabf3dd61fa822d7',1,'flashcart_t']]], - ['hidden_5ffiles_5fenabled_6',['hidden_files_enabled',['../settings_8h.html#a9104a215abdf644beae030600efcec6a',1,'settings_t']]] + ['has_5ffeature_5',['has_feature',['../structflashcart__t.html#aa2fe700083b66bd2eabf3dd61fa822d7',1,'flashcart_t']]] ]; diff --git a/search/all_f.js b/search/all_f.js index 7fc4c259..10b0f808 100644 --- a/search/all_f.js +++ b/search/all_f.js @@ -21,14 +21,16 @@ var searchData= ['seekbar_5fx_18',['SEEKBAR_X',['../constants_8h.html#a107ef7af0cc809f048e0e7ebfd5866d7',1,'constants.h']]], ['seekbar_5fy_19',['SEEKBAR_Y',['../constants_8h.html#af7d998d0dc9e124bacc16281a9b8935b',1,'constants.h']]], ['set_5fsave_5ftype_20',['set_save_type',['../structflashcart__t.html#ac6fb8bf7d1957a4200273068c94d13b4',1,'flashcart_t']]], - ['set_5fsave_5fwriteback_21',['set_save_writeback',['../structflashcart__t.html#ae845c50d123fd327f7b3213adfb6702d',1,'flashcart_t']]], + ['set_5fsave_5fwriteback_21',['set_save_writeback',['../structflashcart__t.html#a19eba40921dc872c15fab58bdcc853b1',1,'flashcart_t']]], ['settings_2eh_22',['settings.h',['../settings_8h.html',1,'']]], - ['settings_5fload_23',['settings_load',['../settings_8h.html#a92cf6203bb213032dddd4dcc16a95536',1,'settings.c']]], - ['settings_5fsave_24',['settings_save',['../settings_8h.html#afdd03c789a4efd13147e1e7ef25bab9d',1,'settings.c']]], - ['settings_5ft_25',['settings_t',['../settings_8h.html#structsettings__t',1,'']]], - ['sound_2eh_26',['sound.h',['../sound_8h.html',1,'']]], - ['sound_5fenabled_27',['sound_enabled',['../settings_8h.html#a7f7e78c2b3edb912391e59b3d0038323',1,'settings_t']]], - ['sp_5fmem_5ft_28',['sp_mem_t',['../boot__io_8h.html#structsp__mem__t',1,'']]], - ['sp_5fregs_5ft_29',['sp_regs_t',['../boot__io_8h.html#structsp__regs__t',1,'']]], - ['sr_30',['SR',['../boot__io_8h.html#a6c4f19758b5239f5239f490a6be98262',1,'pi_regs_t::SR()'],['../boot__io_8h.html#a8b1251e120efe26718d3394aec73ca0c',1,'ai_regs_t::SR()']]] + ['settings_5finit_23',['settings_init',['../settings_8h.html#a0d712e9d053c952928b0d7c6355fee96',1,'settings.c']]], + ['settings_5fload_24',['settings_load',['../settings_8h.html#a92cf6203bb213032dddd4dcc16a95536',1,'settings.c']]], + ['settings_5fsave_25',['settings_save',['../settings_8h.html#afdd03c789a4efd13147e1e7ef25bab9d',1,'settings.c']]], + ['settings_5ft_26',['settings_t',['../settings_8h.html#structsettings__t',1,'']]], + ['show_5fprotected_5fentries_27',['show_protected_entries',['../settings_8h.html#af59022b231f0952311af71f4eb132d67',1,'settings_t']]], + ['sound_2eh_28',['sound.h',['../sound_8h.html',1,'']]], + ['sound_5fenabled_29',['sound_enabled',['../settings_8h.html#a7f7e78c2b3edb912391e59b3d0038323',1,'settings_t']]], + ['sp_5fmem_5ft_30',['sp_mem_t',['../boot__io_8h.html#structsp__mem__t',1,'']]], + ['sp_5fregs_5ft_31',['sp_regs_t',['../boot__io_8h.html#structsp__regs__t',1,'']]], + ['sr_32',['SR',['../boot__io_8h.html#a6c4f19758b5239f5239f490a6be98262',1,'pi_regs_t::SR()'],['../boot__io_8h.html#a8b1251e120efe26718d3394aec73ca0c',1,'ai_regs_t::SR()']]] ]; diff --git a/search/functions_0.js b/search/functions_0.js index 688e8313..a902fa26 100644 --- a/search/functions_0.js +++ b/search/functions_0.js @@ -1,5 +1,6 @@ var searchData= [ - ['settings_5fload_0',['settings_load',['../settings_8h.html#a92cf6203bb213032dddd4dcc16a95536',1,'settings.c']]], - ['settings_5fsave_1',['settings_save',['../settings_8h.html#afdd03c789a4efd13147e1e7ef25bab9d',1,'settings.c']]] + ['settings_5finit_0',['settings_init',['../settings_8h.html#a0d712e9d053c952928b0d7c6355fee96',1,'settings.c']]], + ['settings_5fload_1',['settings_load',['../settings_8h.html#a92cf6203bb213032dddd4dcc16a95536',1,'settings.c']]], + ['settings_5fsave_2',['settings_save',['../settings_8h.html#afdd03c789a4efd13147e1e7ef25bab9d',1,'settings.c']]] ]; diff --git a/search/variables_5.js b/search/variables_5.js index 4d189a9b..7c41c9e1 100644 --- a/search/variables_5.js +++ b/search/variables_5.js @@ -5,6 +5,5 @@ var searchData= ['h_5fsync_2',['H_SYNC',['../boot__io_8h.html#a68c8e1537ebc5243d5b6bb773fe479ad',1,'vi_regs_t']]], ['h_5fsync_5fleap_3',['H_SYNC_LEAP',['../boot__io_8h.html#ab76316a7a5c429c53d97eff274b99747',1,'vi_regs_t']]], ['h_5fwidth_4',['H_WIDTH',['../boot__io_8h.html#af2521492273c60801fa69449d73487a9',1,'vi_regs_t']]], - ['has_5ffeature_5',['has_feature',['../structflashcart__t.html#aa2fe700083b66bd2eabf3dd61fa822d7',1,'flashcart_t']]], - ['hidden_5ffiles_5fenabled_6',['hidden_files_enabled',['../settings_8h.html#a9104a215abdf644beae030600efcec6a',1,'settings_t']]] + ['has_5ffeature_5',['has_feature',['../structflashcart__t.html#aa2fe700083b66bd2eabf3dd61fa822d7',1,'flashcart_t']]] ]; diff --git a/search/variables_c.js b/search/variables_c.js index afc7475a..36e8b262 100644 --- a/search/variables_c.js +++ b/search/variables_c.js @@ -2,7 +2,8 @@ var searchData= [ ['save_5ftype_0',['save_type',['../rom__info_8h.html#a9bf05efea2279aeacb197096bb88e59d',1,'rom_info_t']]], ['set_5fsave_5ftype_1',['set_save_type',['../structflashcart__t.html#ac6fb8bf7d1957a4200273068c94d13b4',1,'flashcart_t']]], - ['set_5fsave_5fwriteback_2',['set_save_writeback',['../structflashcart__t.html#ae845c50d123fd327f7b3213adfb6702d',1,'flashcart_t']]], - ['sound_5fenabled_3',['sound_enabled',['../settings_8h.html#a7f7e78c2b3edb912391e59b3d0038323',1,'settings_t']]], - ['sr_4',['SR',['../boot__io_8h.html#a8b1251e120efe26718d3394aec73ca0c',1,'ai_regs_t::SR()'],['../boot__io_8h.html#a6c4f19758b5239f5239f490a6be98262',1,'pi_regs_t::SR()']]] + ['set_5fsave_5fwriteback_2',['set_save_writeback',['../structflashcart__t.html#a19eba40921dc872c15fab58bdcc853b1',1,'flashcart_t']]], + ['show_5fprotected_5fentries_3',['show_protected_entries',['../settings_8h.html#af59022b231f0952311af71f4eb132d67',1,'settings_t']]], + ['sound_5fenabled_4',['sound_enabled',['../settings_8h.html#a7f7e78c2b3edb912391e59b3d0038323',1,'settings_t']]], + ['sr_5',['SR',['../boot__io_8h.html#a8b1251e120efe26718d3394aec73ca0c',1,'ai_regs_t::SR()'],['../boot__io_8h.html#a6c4f19758b5239f5239f490a6be98262',1,'pi_regs_t::SR()']]] ]; diff --git a/settings_8h.html b/settings_8h.html index 81f2606d..1ca02494 100644 --- a/settings_8h.html +++ b/settings_8h.html @@ -93,6 +93,10 @@ Data Structures
    + + + @@ -126,11 +130,11 @@ pal60_enabled +bool +show_protected_entries +Show files/directories that are filtered in the browser. diff --git a/settings_8h_source.html b/settings_8h_source.html index 097ebea8..43622c41 100644 --- a/settings_8h_source.html +++ b/settings_8h_source.html @@ -84,7 +84,7 @@ $(function() {
    12typedef struct {
    15
    - +
    18
    21
    @@ -98,25 +98,27 @@ $(function() {
    34
    35
    -
    37void settings_load (settings_t *settings);
    -
    39void settings_save (settings_t *settings);
    -
    40
    -
    41
    -
    42#endif
    +
    37void settings_init (char *path);
    +
    39void settings_load (settings_t *settings);
    +
    41void settings_save (settings_t *settings);
    +
    42
    +
    43
    +
    44#endif
    +
    void settings_init(char *path)
    Init settings path.
    Definition: settings.c:24
    bool bgm_enabled
    Enable Background music.
    Definition: settings.h:26
    char * default_directory
    Default directory to navigate to when menu loads.
    Definition: settings.h:20
    bool sound_enabled
    Enable Sounds.
    Definition: settings.h:29
    -
    bool hidden_files_enabled
    Show files marked as hidden in the browser.
    Definition: settings.h:17
    -
    void settings_load(settings_t *settings)
    The settings to load.
    Definition: settings.c:26
    +
    void settings_load(settings_t *settings)
    The settings to load.
    Definition: settings.c:31
    bool use_saves_folder
    Put saves into separate directory.
    Definition: settings.h:23
    bool pal60_enabled
    Use 60 Hz refresh rate on a PAL console.
    Definition: settings.h:14
    +
    bool show_protected_entries
    Show files/directories that are filtered in the browser.
    Definition: settings.h:17
    bool rumble_enabled
    Enable rumble feedback.
    Definition: settings.h:32
    -
    void settings_save(settings_t *settings)
    The settings to save.
    Definition: settings.c:46
    +
    void settings_save(settings_t *settings)
    The settings to save.
    Definition: settings.c:51
    Settings Structure.
    Definition: settings.h:12
    diff --git a/sound_8h.html b/sound_8h.html index 049b9c1e..6fb0d577 100644 --- a/sound_8h.html +++ b/sound_8h.html @@ -111,7 +111,7 @@ void  diff --git a/structcomponent__background__t.html b/structcomponent__background__t.html index 6af30eab..947f40f1 100644 --- a/structcomponent__background__t.html +++ b/structcomponent__background__t.html @@ -136,7 +136,7 @@ rspq_block_t *  - - - + + +

    Functions

    +void settings_init (char *path)
     Init settings path.
     
    void settings_load (settings_t *settings)
     The settings to load.
    Use 60 Hz refresh rate on a PAL console.
    -bool -hidden_files_enabled -Show files marked as hidden in the browser.
    char * @@ -168,7 +172,7 @@ Enable rumble feedback.
    sound_poll (void) diff --git a/sound_8h_source.html b/sound_8h_source.html index b43a0e3d..0daa7069 100644 --- a/sound_8h_source.html +++ b/sound_8h_source.html @@ -94,7 +94,7 @@ $(function() { diff --git a/structcache__metadata__t.html b/structcache__metadata__t.html index 39725661..75d7e067 100644 --- a/structcache__metadata__t.html +++ b/structcache__metadata__t.html @@ -153,7 +153,7 @@ uint32_t size
    image_displ diff --git a/structcomponent__context__menu__t_8list.html b/structcomponent__context__menu__t_8list.html index 0b0a97e7..1fa7309d 100644 --- a/structcomponent__context__menu__t_8list.html +++ b/structcomponent__context__menu__t_8list.html @@ -93,7 +93,7 @@ struct component_context_menu *  diff --git a/structflashcart__t.html b/structflashcart__t.html index bfda0e66..463075ec 100644 --- a/structflashcart__t.html +++ b/structflashcart__t.html @@ -118,10 +118,10 @@ bool(* has_feature )(< flashcart_err_t(* set_save_type )(flashcart_save_type_t save_type)
     The flashcart set save type function.
     
    -flashcart_err_t(* set_save_writeback )(uint32_t *sectors)
     The flashcart set save writeback function.
     
    +flashcart_err_t(* set_save_writeback )(char *save_path)
     The flashcart set save writeback function.
     

    Detailed Description

    Flashcart Structure.

    @@ -131,7 +131,7 @@ bool(* has_feature )(<
    diff --git a/structmatch__t.html b/structmatch__t.html index 2095dd16..1f34e28c 100644 --- a/structmatch__t.html +++ b/structmatch__t.html @@ -157,7 +157,7 @@ feat_t feat diff --git a/structmatch__t_8data.html b/structmatch__t_8data.html index 257dbc4d..b89c1948 100644 --- a/structmatch__t_8data.html +++ b/structmatch__t_8data.html @@ -116,7 +116,7 @@ feat_t feat
    The documentation for this struct was generated from the following files: diff --git a/structmatch__t_8fields_8____unnamed15____.html b/structmatch__t_8fields_8____unnamed15____.html index d9d33193..ec99eae5 100644 --- a/structmatch__t_8fields_8____unnamed15____.html +++ b/structmatch__t_8fields_8____unnamed15____.html @@ -116,7 +116,7 @@ uint8_t versionThe documentation for this struct was generated from the following files: diff --git a/structmp3player__t.html b/structmp3player__t.html index f6423956..a2874281 100644 --- a/structmp3player__t.html +++ b/structmp3player__t.html @@ -83,24 +83,15 @@ Data Fields bool loaded   - -bool io_error -  - -FIL fil -  - -FSIZE_t data_start -  - -int seek_predecode_frames -  - -mp3dec_t dec -  - -mp3dec_frame_info_t info -  + +FILE * f +  + +size_t file_size +  + +size_t data_start uint8_t buffer [16 *1024]   @@ -110,6 +101,15 @@ uint8_t * buffer_ptr size_t buffer_left   + +mp3dec_t dec +  + +mp3dec_frame_info_t info +  + +int seek_predecode_frames float duration   @@ -137,84 +137,42 @@ waveform_t wave - -

    ◆ io_error

    + +

    ◆ f

    - +
    bool mp3player_t::io_errorFILE* mp3player_t::f
    - -

    ◆ fil

    + +

    ◆ file_size

    - +
    FIL mp3player_t::filsize_t mp3player_t::file_size
    - -

    ◆ data_start

    + +

    ◆ data_start

    - - -
    FSIZE_t mp3player_t::data_start
    -
    - -
    -
    - -

    ◆ seek_predecode_frames

    - -
    -
    - - - - -
    int mp3player_t::seek_predecode_frames
    -
    - -
    -
    - -

    ◆ dec

    - -
    -
    - - - - -
    mp3dec_t mp3player_t::dec
    -
    - -
    -
    - -

    ◆ info

    - -
    -
    - - - +
    mp3dec_frame_info_t mp3player_t::infosize_t mp3player_t::data_start
    @@ -261,6 +219,48 @@ waveform_t wave
    +
    +
    + +

    ◆ dec

    + +
    +
    + + + + +
    mp3dec_t mp3player_t::dec
    +
    + +
    +
    + +

    ◆ info

    + +
    +
    + + + + +
    mp3dec_frame_info_t mp3player_t::info
    +
    + +
    +
    + +

    ◆ seek_predecode_frames

    + +
    +
    + + + + +
    int mp3player_t::seek_predecode_frames
    +
    +
    @@ -311,7 +311,7 @@ waveform_t wave diff --git a/structpng__decoder__t.html b/structpng__decoder__t.html index 92ab24b1..73ed277b 100644 --- a/structpng__decoder__t.html +++ b/structpng__decoder__t.html @@ -80,9 +80,9 @@ $(function() { - - + + @@ -108,14 +108,14 @@ void * The documentation for this struct was generated from the following files: diff --git a/structsc64__cmd__t.html b/structsc64__cmd__t.html index 9a5dbceb..4ea01aa2 100644 --- a/structsc64__cmd__t.html +++ b/structsc64__cmd__t.html @@ -141,7 +141,7 @@ uint32_t < diff --git a/structsc64__regs__t.html b/structsc64__regs__t.html index 8fb22397..2f7e76fe 100644 --- a/structsc64__regs__t.html +++ b/structsc64__regs__t.html @@ -158,7 +158,7 @@ uint32_t  diff --git a/structusb__comm__command__t.html b/structusb__comm__command__t.html index 7781c41a..1b317498 100644 --- a/structusb__comm__command__t.html +++ b/structusb__comm__command__t.html @@ -97,7 +97,7 @@ void(* 

    Data Fields

    -FIL fil
     
    +FILE * f
     
    spng_ctx * ctx
     
    callback_data

    Detailed Description

    PNG File Information Structure.

    Field Documentation

    - -

    ◆ fil

    + +

    ◆ f

    - +
    FIL png_decoder_t::filFILE* png_decoder_t::f
    @@ -226,7 +226,7 @@ void * 
    callback_data diff --git a/structrom__header__t.html b/structrom__header__t.html index d4d1d081..c0366ef8 100644 --- a/structrom__header__t.html +++ b/structrom__header__t.html @@ -304,7 +304,7 @@ uint8_t ipl3 [IPL3_LEN diff --git a/structrom__header__t_8____unnamed9_____8____unnamed11____.html b/structrom__header__t_8____unnamed9_____8____unnamed11____.html index 0c3b2cc0..dfa6ee0b 100644 --- a/structrom__header__t_8____unnamed9_____8____unnamed11____.html +++ b/structrom__header__t_8____unnamed9_____8____unnamed11____.html @@ -133,7 +133,7 @@ char destination_code<
    The documentation for this struct was generated from the following files: diff --git a/structrom__header__t_8libultra.html b/structrom__header__t_8libultra.html index b92adc07..47a97b09 100644 --- a/structrom__header__t_8libultra.html +++ b/structrom__header__t_8libultra.html @@ -133,7 +133,7 @@ char 
    revision
    rsp [2] KEY
    op )( diff --git a/structview__t.html b/structview__t.html index 413e8fe8..9f21d618 100644 --- a/structview__t.html +++ b/structview__t.html @@ -93,7 +93,7 @@ void(* show )( diff --git a/unionmatch__t_8fields.html b/unionmatch__t_8fields.html index 746bd371..44ffa449 100644 --- a/unionmatch__t_8fields.html +++ b/unionmatch__t_8fields.html @@ -123,7 +123,7 @@ uint64_t check_codeThe documentation for this union was generated from the following files: diff --git a/unionrom__header__t_8____unnamed9____.html b/unionrom__header__t_8____unnamed9____.html index 6effcdcc..5b25fe67 100644 --- a/unionrom__header__t_8____unnamed9____.html +++ b/unionrom__header__t_8____unnamed9____.html @@ -126,7 +126,7 @@ char destination_code<
    The documentation for this union was generated from the following files: diff --git a/usb__comm_8h.html b/usb__comm_8h.html index 87dd9d6b..8113c96f 100644 --- a/usb__comm_8h.html +++ b/usb__comm_8h.html @@ -95,7 +95,7 @@ void 
    usb_comm_poll ( diff --git a/usb__comm_8h_source.html b/usb__comm_8h_source.html index 0d0ab205..8a97de38 100644 --- a/usb__comm_8h_source.html +++ b/usb__comm_8h_source.html @@ -93,11 +93,11 @@ $(function() {
    20
    21#endif
    Menu State.
    -
    Menu Structure.
    Definition: menu_state.h:67
    +
    Menu Structure.
    Definition: menu_state.h:64
    diff --git a/utils_8h_source.html b/utils_8h_source.html index e0edfcd1..7ac3b49c 100644 --- a/utils_8h_source.html +++ b/utils_8h_source.html @@ -93,7 +93,7 @@ $(function() { diff --git a/views_8h.html b/views_8h.html index f360cdbf..39aeeb19 100644 --- a/views_8h.html +++ b/views_8h.html @@ -191,7 +191,7 @@ void 
    menu_show_error ( diff --git a/views_8h_source.html b/views_8h_source.html index 456eeb58..53d9815b 100644 --- a/views_8h_source.html +++ b/views_8h_source.html @@ -138,11 +138,11 @@ $(function() {
    71
    72
    73#endif
    -
    Menu Structure.
    Definition: menu_state.h:67
    +
    Menu Structure.
    Definition: menu_state.h:64