diff --git a/actions_8h.html b/actions_8h.html index d14352a7..10b394d0 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 de97ded6..675c4afd 100644 --- a/actions_8h_source.html +++ b/actions_8h_source.html @@ -89,11 +89,11 @@ $(function() {
16
17#endif
menu_state.h
Menu State.
-
menu_t
Menu Structure.
Definition: menu_state.h:57
+
menu_t
Menu Structure.
Definition: menu_state.h:58
diff --git a/annotated.html b/annotated.html index 6178a8b9..b1da732b 100644 --- a/annotated.html +++ b/annotated.html @@ -107,7 +107,7 @@ $(function() { diff --git a/boot_8h.html b/boot_8h.html index 8e75fbb7..2208e9bc 100644 --- a/boot_8h.html +++ b/boot_8h.html @@ -169,7 +169,7 @@ detect_cic_seed diff --git a/boot_8h_source.html b/boot_8h_source.html index a4b5c2d4..411f8680 100644 --- a/boot_8h_source.html +++ b/boot_8h_source.html @@ -122,7 +122,7 @@ $(function() { diff --git a/boot__io_8h.html b/boot__io_8h.html index f1501e6e..2274a502 100644 --- a/boot__io_8h.html +++ b/boot__io_8h.html @@ -922,7 +922,7 @@ RLS diff --git a/boot__io_8h_source.html b/boot__io_8h_source.html index 5c2a3d8e..ff5e52f6 100644 --- a/boot__io_8h_source.html +++ b/boot__io_8h_source.html @@ -321,7 +321,7 @@ $(function() { diff --git a/classes.html b/classes.html index f3616037..61f48e7c 100644 --- a/classes.html +++ b/classes.html @@ -117,7 +117,7 @@ $(function() { diff --git a/components_8h.html b/components_8h.html index 60d78301..68f9bc3b 100644 --- a/components_8h.html +++ b/components_8h.html @@ -188,7 +188,7 @@ image diff --git a/components_8h_source.html b/components_8h_source.html index 17c4be1c..bd95c77e 100644 --- a/components_8h_source.html +++ b/components_8h_source.html @@ -119,11 +119,11 @@ $(function() {
52#endif
component_boxart_t
Definition: components.h:40
menu_state.h
Menu State.
-
entry_t
File Entry Structure.
Definition: menu_state.h:50
+
entry_t
File Entry Structure.
Definition: menu_state.h:51
diff --git a/constants_8h.html b/constants_8h.html index 4d5e3be0..ceb93231 100644 --- a/constants_8h.html +++ b/constants_8h.html @@ -239,7 +239,7 @@ Macros diff --git a/constants_8h_source.html b/constants_8h_source.html index 1ddce2c2..5c4df2cb 100644 --- a/constants_8h_source.html +++ b/constants_8h_source.html @@ -157,7 +157,7 @@ $(function() { diff --git a/crc32_8h.html b/crc32_8h.html index 6f82c9a7..6d71ad2e 100644 --- a/crc32_8h.html +++ b/crc32_8h.html @@ -95,7 +95,7 @@ uint32_t crc32_calculate diff --git a/crc32_8h_source.html b/crc32_8h_source.html index 8087556d..e5a53e2e 100644 --- a/crc32_8h_source.html +++ b/crc32_8h_source.html @@ -92,7 +92,7 @@ $(function() { diff --git a/dir_1a56cc8cdc1689899910be5fa4716ee4.html b/dir_1a56cc8cdc1689899910be5fa4716ee4.html index e8a1c6ef..b4f9d160 100644 --- a/dir_1a56cc8cdc1689899910be5fa4716ee4.html +++ b/dir_1a56cc8cdc1689899910be5fa4716ee4.html @@ -118,7 +118,7 @@ Files diff --git a/dir_313caf1132e152dd9b58bea13a4052ca.html b/dir_313caf1132e152dd9b58bea13a4052ca.html index 7a7ab302..108350b6 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 54fdb6f5..f6771371 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 4c1b8024..2ff6ad9b 100644 --- a/dir_52780cb445d9f0b97a98e8aabec4d968.html +++ b/dir_52780cb445d9f0b97a98e8aabec4d968.html @@ -92,7 +92,7 @@ Files diff --git a/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/dir_68267d1309a1af8e8297ef4c3efbcdba.html index c41d0127..d4427a11 100644 --- a/dir_68267d1309a1af8e8297ef4c3efbcdba.html +++ b/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -93,7 +93,7 @@ Directories diff --git a/dir_a2193b6f8ca8748b0e3b26a8265ce7c7.html b/dir_a2193b6f8ca8748b0e3b26a8265ce7c7.html index 946bc711..f6c77ea7 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 caa110eb..d5aa1beb 100644 --- a/dir_abdc04f88b2866c1353f358c089205e4.html +++ b/dir_abdc04f88b2866c1353f358c089205e4.html @@ -94,7 +94,7 @@ Files diff --git a/dir_c79c44306f0ec79a70cb47ce6bfc5e33.html b/dir_c79c44306f0ec79a70cb47ce6bfc5e33.html index fef417c6..f26cb693 100644 --- a/dir_c79c44306f0ec79a70cb47ce6bfc5e33.html +++ b/dir_c79c44306f0ec79a70cb47ce6bfc5e33.html @@ -85,7 +85,7 @@ Files diff --git a/dir_fc7b276aa2f26a1d485b93ff01d7cabb.html b/dir_fc7b276aa2f26a1d485b93ff01d7cabb.html index 00eae9a1..5cb976b0 100644 --- a/dir_fc7b276aa2f26a1d485b93ff01d7cabb.html +++ b/dir_fc7b276aa2f26a1d485b93ff01d7cabb.html @@ -86,7 +86,7 @@ Files diff --git a/files.html b/files.html index 23cd41ba..2fa77051 100644 --- a/files.html +++ b/files.html @@ -110,7 +110,7 @@ $(function() { diff --git a/flashcart_8h.html b/flashcart_8h.html index 413f287f..8d6a2e6f 100644 --- a/flashcart_8h.html +++ b/flashcart_8h.html @@ -152,7 +152,7 @@ Functions diff --git a/flashcart_8h_source.html b/flashcart_8h_source.html index c15eaa52..90d41c7e 100644 --- a/flashcart_8h_source.html +++ b/flashcart_8h_source.html @@ -133,7 +133,7 @@ $(function() { diff --git a/flashcart__utils_8h.html b/flashcart__utils_8h.html index 1ab707b2..40902b74 100644 --- a/flashcart__utils_8h.html +++ b/flashcart__utils_8h.html @@ -101,7 +101,7 @@ void pi_dma_write_data diff --git a/flashcart__utils_8h_source.html b/flashcart__utils_8h_source.html index 434d03d3..1eb99550 100644 --- a/flashcart__utils_8h_source.html +++ b/flashcart__utils_8h_source.html @@ -93,7 +93,7 @@ $(function() { diff --git a/fonts_8h.html b/fonts_8h.html index 1ff731e9..5b7c1a2d 100644 --- a/fonts_8h.html +++ b/fonts_8h.html @@ -112,7 +112,7 @@ void fonts_init (void) diff --git a/fonts_8h_source.html b/fonts_8h_source.html index 2f718f2f..cc99a2ce 100644 --- a/fonts_8h_source.html +++ b/fonts_8h_source.html @@ -101,7 +101,7 @@ $(function() { diff --git a/fs_8h_source.html b/fs_8h_source.html index 8b20e074..3e4c465f 100644 --- a/fs_8h_source.html +++ b/fs_8h_source.html @@ -106,7 +106,7 @@ $(function() { diff --git a/functions.html b/functions.html index cc4edbe2..635689d8 100644 --- a/functions.html +++ b/functions.html @@ -87,7 +87,7 @@ $(function() { diff --git a/functions_vars.html b/functions_vars.html index 6b1d41a4..a6310b60 100644 --- a/functions_vars.html +++ b/functions_vars.html @@ -87,7 +87,7 @@ $(function() { diff --git a/globals.html b/globals.html index edfdfd72..b23ddef9 100644 --- a/globals.html +++ b/globals.html @@ -175,7 +175,7 @@ $(function() { diff --git a/globals_enum.html b/globals_enum.html index ef629b3e..c22568d7 100644 --- a/globals_enum.html +++ b/globals_enum.html @@ -87,7 +87,7 @@ $(function() { diff --git a/globals_eval.html b/globals_eval.html index cb800df9..85539a07 100644 --- a/globals_eval.html +++ b/globals_eval.html @@ -149,7 +149,7 @@ $(function() { diff --git a/globals_func.html b/globals_func.html index a1008d63..5537f98d 100644 --- a/globals_func.html +++ b/globals_func.html @@ -75,7 +75,7 @@ $(function() { diff --git a/group__sc64.html b/group__sc64.html index 336bde40..0ec96b8a 100644 --- a/group__sc64.html +++ b/group__sc64.html @@ -260,7 +260,7 @@ FLASHRAM[128] diff --git a/group__view.html b/group__view.html index bcd91627..8048cc57 100644 --- a/group__view.html +++ b/group__view.html @@ -151,7 +151,7 @@ void menu_show_error ( diff --git a/hdmi_8h_source.html b/hdmi_8h_source.html index 2a7a39a8..88783249 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 7fac3240..f073b692 100644 --- a/index.html +++ b/index.html @@ -145,7 +145,7 @@ OSS licenses used for libraries diff --git a/menu_8h.html b/menu_8h.html index 6ff2c9d1..a8a4a1c5 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 6db5d08e..d6b7204a 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 451b2f3c..47d40bed 100644 --- a/menu__state_8h.html +++ b/menu__state_8h.html @@ -233,6 +233,12 @@ error_message +time_t + +current_time + + + struct menu_t.actions actions @@ -393,7 +399,7 @@ selected diff --git a/menu__state_8h_source.html b/menu__state_8h_source.html index a755e805..7c27ae35 100644 --- a/menu__state_8h_source.html +++ b/menu__state_8h_source.html @@ -81,94 +81,97 @@ $(function() {
8#define MENU_STRUCT_H__
9
10
-
11#include "boot/boot.h"
-
12#include "flashcart/flashcart.h"
-
13#include "path.h"
-
14#include "settings.h"
-
15
+
11#include <time.h>
+
12#include "boot/boot.h"
+
13#include "flashcart/flashcart.h"
+
14#include "path.h"
+
15#include "settings.h"
16
-
17#define BROWSER_LIST_SIZE 2048
-
18
+
17
+
18#define BROWSER_LIST_SIZE 2048
19
-
21typedef enum {
-
22 MENU_MODE_NONE,
-
23 MENU_MODE_STARTUP,
-
24 MENU_MODE_BROWSER,
-
25 MENU_MODE_FILE_INFO,
-
26 MENU_MODE_SYSTEM_INFO,
-
27 MENU_MODE_IMAGE_VIEWER,
-
28 MENU_MODE_MUSIC_PLAYER,
-
29 MENU_MODE_CREDITS,
-
30 MENU_MODE_LOAD,
-
31 MENU_MODE_EMULATOR_LOAD,
-
32 MENU_MODE_ERROR,
-
33 MENU_MODE_FAULT,
-
34 MENU_MODE_BOOT,
-
35 __MENU_MODE_COUNT,
-
36} menu_mode_t;
-
37
-
39typedef enum {
-
40 ENTRY_TYPE_DIR,
-
41 ENTRY_TYPE_ROM,
-
42 ENTRY_TYPE_EMULATOR,
-
43 ENTRY_TYPE_SAVE,
-
44 ENTRY_TYPE_IMAGE,
-
45 ENTRY_TYPE_MUSIC,
-
46 ENTRY_TYPE_OTHER,
-
47} entry_type_t;
-
48
-
50typedef struct {
-
51 char *name;
-
52 entry_type_t type;
-
53 int size;
-
54} entry_t;
-
55
-
57typedef struct {
-
58 menu_mode_t mode;
-
59 menu_mode_t next_mode;
-
60
-
61 settings_t settings;
-
62 boot_params_t *boot_params;
-
63 flashcart_error_t flashcart_error;
-
64
-
65 char *error_message;
-
66
-
67 struct {
-
68 bool go_up;
-
69 bool go_down;
-
70 bool go_left;
-
71 bool go_right;
-
72 bool fast;
-
73 int vertical_held_counter;
-
74 int horizontal_held_counter;
-
75
-
76 bool enter;
-
77 bool back;
-
78 bool file_info;
-
79 bool system_info;
-
80 bool settings;
-
81 } actions;
-
82
-
83 struct {
-
84 bool valid;
-
85 path_t *directory;
-
86 entry_t list[BROWSER_LIST_SIZE];
-
87 int entries;
-
88 entry_t *entry;
-
89 int selected;
-
90 } browser;
-
91} menu_t;
-
92
-
93
-
94#endif
+
20
+
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_MUSIC_PLAYER,
+
30 MENU_MODE_CREDITS,
+
31 MENU_MODE_LOAD,
+
32 MENU_MODE_EMULATOR_LOAD,
+
33 MENU_MODE_ERROR,
+
34 MENU_MODE_FAULT,
+
35 MENU_MODE_BOOT,
+
36 __MENU_MODE_COUNT,
+
37} menu_mode_t;
+
38
+
40typedef enum {
+
41 ENTRY_TYPE_DIR,
+
42 ENTRY_TYPE_ROM,
+
43 ENTRY_TYPE_EMULATOR,
+
44 ENTRY_TYPE_SAVE,
+
45 ENTRY_TYPE_IMAGE,
+
46 ENTRY_TYPE_MUSIC,
+
47 ENTRY_TYPE_OTHER,
+
48} entry_type_t;
+
49
+
51typedef struct {
+
52 char *name;
+
53 entry_type_t type;
+
54 int size;
+
55} entry_t;
+
56
+
58typedef struct {
+
59 menu_mode_t mode;
+
60 menu_mode_t next_mode;
+
61
+
62 settings_t settings;
+
63 boot_params_t *boot_params;
+
64 flashcart_error_t flashcart_error;
+
65
+
66 char *error_message;
+
67
+
68 time_t current_time;
+
69
+
70 struct {
+
71 bool go_up;
+
72 bool go_down;
+
73 bool go_left;
+
74 bool go_right;
+
75 bool fast;
+
76 int vertical_held_counter;
+
77 int horizontal_held_counter;
+
78
+
79 bool enter;
+
80 bool back;
+
81 bool file_info;
+
82 bool system_info;
+
83 bool settings;
+
84 } actions;
+
85
+
86 struct {
+
87 bool valid;
+
88 path_t *directory;
+
89 entry_t list[BROWSER_LIST_SIZE];
+
90 int entries;
+
91 entry_t *entry;
+
92 int selected;
+
93 } browser;
+
94} menu_t;
+
95
+
96
+
97#endif
Flashcart Boot Subsystem.
Boot Parameters Structure.
Definition: boot.h:36
Flashcart Subsystem.
flashcart_error_t
Flashcart error enumeration.
Definition: flashcart.h:16
-
entry_type_t
File entry type enumeration.
Definition: menu_state.h:39
-
menu_mode_t
Menu mode enumeration.
Definition: menu_state.h:21
-
File Entry Structure.
Definition: menu_state.h:50
-
Menu Structure.
Definition: menu_state.h:57
+
entry_type_t
File entry type enumeration.
Definition: menu_state.h:40
+
menu_mode_t
Menu mode enumeration.
Definition: menu_state.h:22
+
File Entry Structure.
Definition: menu_state.h:51
+
Menu Structure.
Definition: menu_state.h:58
Menu Path.
Path Structure.
Definition: path.h:15
Menu Settings.
@@ -176,7 +179,7 @@ $(function() { diff --git a/modules.html b/modules.html index 8e84fd75..b2a6ebce 100644 --- a/modules.html +++ b/modules.html @@ -81,7 +81,7 @@ $(function() { diff --git a/mp3__player_8h_source.html b/mp3__player_8h_source.html index e620387d..caa337b4 100644 --- a/mp3__player_8h_source.html +++ b/mp3__player_8h_source.html @@ -116,7 +116,7 @@ $(function() { diff --git a/path_8h.html b/path_8h.html index 0c421ef9..cc2d88d9 100644 --- a/path_8h.html +++ b/path_8h.html @@ -172,7 +172,7 @@ capacity diff --git a/path_8h_source.html b/path_8h_source.html index eb7c628c..1b44ddde 100644 --- a/path_8h_source.html +++ b/path_8h_source.html @@ -110,7 +110,7 @@ $(function() { diff --git a/png__decoder_8h_source.html b/png__decoder_8h_source.html index e3ebcb40..ecb1ba76 100644 --- a/png__decoder_8h_source.html +++ b/png__decoder_8h_source.html @@ -106,7 +106,7 @@ $(function() { diff --git a/rom__database_8h.html b/rom__database_8h.html index 01ee9985..ce8ff496 100644 --- a/rom__database_8h.html +++ b/rom__database_8h.html @@ -628,7 +628,7 @@ The ROM file release version. diff --git a/rom__database_8h_source.html b/rom__database_8h_source.html index f238eac9..228ef05b 100644 --- a/rom__database_8h_source.html +++ b/rom__database_8h_source.html @@ -288,7 +288,7 @@ $(function() { diff --git a/sc64_8h.html b/sc64_8h.html index 414634ea..785a7c04 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 cd5db7ca..95cae5a8 100644 --- a/sc64_8h_source.html +++ b/sc64_8h_source.html @@ -93,7 +93,7 @@ $(function() { diff --git a/sc64__ll_8h.html b/sc64__ll_8h.html index 099e392e..3e61a90a 100644 --- a/sc64__ll_8h.html +++ b/sc64__ll_8h.html @@ -225,7 +225,7 @@ sc64_error_t sc64_ll_flash diff --git a/sc64__ll_8h_source.html b/sc64__ll_8h_source.html index ab163c6f..22244dce 100644 --- a/sc64__ll_8h_source.html +++ b/sc64__ll_8h_source.html @@ -196,7 +196,7 @@ $(function() { diff --git a/settings_8h.html b/settings_8h.html index 2b23be1d..5961f2da 100644 --- a/settings_8h.html +++ b/settings_8h.html @@ -142,7 +142,7 @@ Default directory to navigate to when menu loads. diff --git a/settings_8h_source.html b/settings_8h_source.html index 3c05a824..094b821c 100644 --- a/settings_8h_source.html +++ b/settings_8h_source.html @@ -102,7 +102,7 @@ $(function() { diff --git a/structcache__metadata__t.html b/structcache__metadata__t.html index b5b2ddce..873ae4ca 100644 --- a/structcache__metadata__t.html +++ b/structcache__metadata__t.html @@ -153,7 +153,7 @@ uint32_t size diff --git a/structcomponent__background__t.html b/structcomponent__background__t.html index 652cb161..60fec9d2 100644 --- a/structcomponent__background__t.html +++ b/structcomponent__background__t.html @@ -136,7 +136,7 @@ rspq_block_t * image_displ diff --git a/structflashcart__t.html b/structflashcart__t.html index 6bb5cab9..6ea6e7e3 100644 --- a/structflashcart__t.html +++ b/structflashcart__t.html @@ -112,7 +112,7 @@ Data Fields diff --git a/structipl3__crc32__t.html b/structipl3__crc32__t.html index e68ddf5e..d3544d0d 100644 --- a/structipl3__crc32__t.html +++ b/structipl3__crc32__t.html @@ -119,7 +119,7 @@ const uint8_t seed diff --git a/structmp3player__t.html b/structmp3player__t.html index 6ff851dc..980f1759 100644 --- a/structmp3player__t.html +++ b/structmp3player__t.html @@ -89,15 +89,18 @@ FIL fil FSIZE_t data_start   + +int seek_predecode_frames mp3dec_t dec   mp3dec_frame_info_t info   - -uint8_t buffer [16 *1024] -  + +uint8_t buffer [MAX_FREE_FORMAT_FRAME_SIZE] +  uint8_t * buffer_ptr   @@ -169,6 +172,20 @@ waveform_t wave
+
+ + +

◆ seek_predecode_frames

+ +
+
+ + + + +
int mp3player_t::seek_predecode_frames
+
+
@@ -199,14 +216,14 @@ waveform_t wave - -

◆ buffer

+ +

◆ buffer

- +
uint8_t mp3player_t::buffer[16 *1024]uint8_t mp3player_t::buffer[MAX_FREE_FORMAT_FRAME_SIZE]
@@ -289,7 +306,7 @@ waveform_t wave diff --git a/structpng__decoder__t.html b/structpng__decoder__t.html index 9b0bd403..4916a4bb 100644 --- a/structpng__decoder__t.html +++ b/structpng__decoder__t.html @@ -221,7 +221,7 @@ void * callback_data diff --git a/structsc64__cmd__t.html b/structsc64__cmd__t.html index 34d60235..f6b4a5e2 100644 --- a/structsc64__cmd__t.html +++ b/structsc64__cmd__t.html @@ -136,7 +136,7 @@ uint32_t rsp [2]<
diff --git a/structsc64__regs__t.html b/structsc64__regs__t.html index 564974e1..80d079c7 100644 --- a/structsc64__regs__t.html +++ b/structsc64__regs__t.html @@ -153,7 +153,7 @@ uint32_t KEY
diff --git a/utils_8h_source.html b/utils_8h_source.html index 576b3e73..f7364d73 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 b94f8707..fef1248c 100644 --- a/views_8h.html +++ b/views_8h.html @@ -161,7 +161,7 @@ void menu_show_error ( diff --git a/views_8h_source.html b/views_8h_source.html index 243a3bd0..b3b66d29 100644 --- a/views_8h_source.html +++ b/views_8h_source.html @@ -123,11 +123,11 @@ $(function() {
56
57
58#endif
-
Menu Structure.
Definition: menu_state.h:57
+
Menu Structure.
Definition: menu_state.h:58