From 9f11c69aee23c3b3fecea1ec3657ab284661b7b7 Mon Sep 17 00:00:00 2001 From: Polprzewodnikowy Date: Sat, 5 Aug 2023 13:56:29 +0000 Subject: [PATCH] deploy: 37162cac428e4cbf04ee8fd8cc00579a6593a9da --- 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 +- classes.html | 2 +- components_8h.html | 2 +- components_8h_source.html | 4 +- constants_8h.html | 2 +- constants_8h_source.html | 2 +- crc32_8h.html | 2 +- crc32_8h_source.html | 2 +- dir_1a56cc8cdc1689899910be5fa4716ee4.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 +- files.html | 2 +- flashcart_8h.html | 5 +- flashcart_8h_source.html | 28 ++--- flashcart__utils_8h.html | 2 +- flashcart__utils_8h_source.html | 2 +- fonts_8h.html | 2 +- fonts_8h_source.html | 2 +- fs_8h_source.html | 2 +- functions.html | 2 +- functions_vars.html | 2 +- globals.html | 2 +- globals_enum.html | 2 +- globals_eval.html | 2 +- globals_func.html | 2 +- group__sc64.html | 2 +- group__view.html | 8 +- index.html | 25 +++-- menu_8h.html | 2 +- menu_8h_source.html | 2 +- menu__state_8h.html | 11 +- menu__state_8h_source.html | 122 +++++++++++----------- modules.html | 2 +- mp3__player_8h_source.html | 2 +- path_8h.html | 2 +- path_8h_source.html | 2 +- png__decoder_8h_source.html | 2 +- rom__database_8h.html | 2 +- rom__database_8h_source.html | 2 +- sc64_8h_source.html | 2 +- sc64__internal_8h_source.html | 2 +- settings_8h.html | 2 +- settings_8h_source.html | 2 +- structcache__metadata__t.html | 2 +- structcomponent__background__t.html | 2 +- structflashcart__t.html | 5 +- structipl3__crc32__t.html | 2 +- structmp3player__t.html | 2 +- structpng__decoder__t.html | 2 +- structsc64__cmd__t.html | 2 +- structsc64__regs__t.html | 2 +- utils_8h_source.html | 2 +- views_8h.html | 8 +- views_8h_source.html | 25 +++-- 65 files changed, 194 insertions(+), 159 deletions(-) diff --git a/actions_8h.html b/actions_8h.html index 7445d8ef..4226e271 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 c4d83a1c..871b2d4d 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:54
+
Menu Structure.
Definition: menu_state.h:56
diff --git a/annotated.html b/annotated.html index 7f0a842a..2c39a1bb 100644 --- a/annotated.html +++ b/annotated.html @@ -107,7 +107,7 @@ $(function() { diff --git a/boot_8h.html b/boot_8h.html index 4a684438..9f79b82b 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 5c723aa8..e49371ce 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 1691c4e6..77914749 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 cc4dc108..b926ee55 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 a9be5c6c..83e0894a 100644 --- a/classes.html +++ b/classes.html @@ -117,7 +117,7 @@ $(function() { diff --git a/components_8h.html b/components_8h.html index 7f52a625..362fc0af 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 3ef4c79d..1234c610 100644 --- a/components_8h_source.html +++ b/components_8h_source.html @@ -119,11 +119,11 @@ $(function() {
52#endif
Definition: components.h:40
Menu State.
-
File Entry Structure.
Definition: menu_state.h:47
+
File Entry Structure.
Definition: menu_state.h:49
diff --git a/constants_8h.html b/constants_8h.html index a1796af7..c45bb722 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 ab33e7ed..13bbba31 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 27ec4fa3..45d9b290 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 4c6984d2..48bb4989 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 86f6af14..9d9d19ac 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 47909a29..fd8a06a3 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 0db9b4e3..3e317e4f 100644 --- a/dir_4ad298de6e9dc10146d0378a1888b2cb.html +++ b/dir_4ad298de6e9dc10146d0378a1888b2cb.html @@ -87,7 +87,7 @@ Files diff --git a/dir_52780cb445d9f0b97a98e8aabec4d968.html b/dir_52780cb445d9f0b97a98e8aabec4d968.html index 7b53efeb..62a44e5f 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 13405dc1..fa82e0a3 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 8b6189e9..8a367d9d 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 9a64c50d..32f95b4e 100644 --- a/dir_abdc04f88b2866c1353f358c089205e4.html +++ b/dir_abdc04f88b2866c1353f358c089205e4.html @@ -94,7 +94,7 @@ Files diff --git a/dir_fc7b276aa2f26a1d485b93ff01d7cabb.html b/dir_fc7b276aa2f26a1d485b93ff01d7cabb.html index c4acb6e5..38860ab1 100644 --- a/dir_fc7b276aa2f26a1d485b93ff01d7cabb.html +++ b/dir_fc7b276aa2f26a1d485b93ff01d7cabb.html @@ -86,7 +86,7 @@ Files diff --git a/files.html b/files.html index c61f1bea..1b20b9cc 100644 --- a/files.html +++ b/files.html @@ -108,7 +108,7 @@ $(function() { diff --git a/flashcart_8h.html b/flashcart_8h.html index e7503ae0..a9b16842 100644 --- a/flashcart_8h.html +++ b/flashcart_8h.html @@ -140,6 +140,9 @@ Functions flashcart_error_t flashcart_load_rom (char *rom_path, bool byte_swap, flashcart_progress_callback_t *progress)   + +flashcart_error_t flashcart_load_file (char *file_path, uint32_t start_offset_address) +  flashcart_error_t flashcart_load_save (char *save_path, flashcart_save_type_t save_type)   @@ -151,7 +154,7 @@ Functions diff --git a/flashcart_8h_source.html b/flashcart_8h_source.html index 47113141..5eab375a 100644 --- a/flashcart_8h_source.html +++ b/flashcart_8h_source.html @@ -112,26 +112,28 @@ $(function() {
42 flashcart_error_t (*init) (void);
43 flashcart_error_t (*deinit) (void);
44 flashcart_error_t (*load_rom) (char *rom_path, flashcart_progress_callback_t *progress);
-
45 flashcart_error_t (*load_save) (char *save_path);
-
46 flashcart_error_t (*set_save_type) (flashcart_save_type_t save_type);
-
47 flashcart_error_t (*set_save_writeback) (uint32_t *sectors);
- -
49
+
45 flashcart_error_t (*load_file) (char *file_path, uint32_t start_offset_address);
+
46 flashcart_error_t (*load_save) (char *save_path);
+
47 flashcart_error_t (*set_save_type) (flashcart_save_type_t save_type);
+
48 flashcart_error_t (*set_save_writeback) (uint32_t *sectors);
+
50
-
51flashcart_error_t flashcart_init (void);
-
52flashcart_error_t flashcart_deinit (void);
-
53flashcart_error_t flashcart_load_rom (char *rom_path, bool byte_swap, flashcart_progress_callback_t *progress);
-
54flashcart_error_t flashcart_load_save (char *save_path, flashcart_save_type_t save_type);
-
55
-
56
-
57#endif
+
51
+
52flashcart_error_t flashcart_init (void);
+
53flashcart_error_t flashcart_deinit (void);
+
54flashcart_error_t flashcart_load_rom (char *rom_path, bool byte_swap, flashcart_progress_callback_t *progress);
+
55flashcart_error_t flashcart_load_file (char *file_path, uint32_t start_offset_address);
+
56flashcart_error_t flashcart_load_save (char *save_path, flashcart_save_type_t save_type);
+
57
+
58
+
59#endif
flashcart_error_t
Flashcart error enumeration.
Definition: flashcart.h:16
flashcart_save_type_t
Flashcart save type enumeration.
Definition: flashcart.h:27
Flashcart Structure.
Definition: flashcart.h:41
diff --git a/flashcart__utils_8h.html b/flashcart__utils_8h.html index ee1dbd7d..9767db57 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 e7fb3d2f..029cc9db 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 a2507315..42d2c553 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 9350e500..c791d9bf 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 d601cac1..cc86c9dc 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 26d62215..817a552f 100644 --- a/functions.html +++ b/functions.html @@ -87,7 +87,7 @@ $(function() { diff --git a/functions_vars.html b/functions_vars.html index 5e5f9702..2d4649ce 100644 --- a/functions_vars.html +++ b/functions_vars.html @@ -87,7 +87,7 @@ $(function() { diff --git a/globals.html b/globals.html index 37a9f3b7..28ecb268 100644 --- a/globals.html +++ b/globals.html @@ -175,7 +175,7 @@ $(function() { diff --git a/globals_enum.html b/globals_enum.html index 68fe5fb7..36f078b4 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 c4022dc8..a4379394 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 cbd585d1..23263ac7 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 7a3ff372..460c5a4c 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 f7a31ea5..40174313 100644 --- a/group__view.html +++ b/group__view.html @@ -125,6 +125,12 @@ void view_load_init (< void view_load_display (menu_t *menu, surface_t *display)   + +void view_load_emulator_init (menu_t *menu) +  + +void view_load_emulator_display (menu_t *menu, surface_t *display) +  void view_error_init (menu_t *menu)   @@ -145,7 +151,7 @@ void menu_show_error ( diff --git a/index.html b/index.html index c265056e..56b56b3a 100644 --- a/index.html +++ b/index.html @@ -95,24 +95,31 @@ Common to all

ROM Boxart

To use boxart, you need to place png files of size 158x112 in the folder sd://menu/boxart/ Each file must be named according to the 2 letter ROM ID. e.g. for goldeneye, this would be GE.png A known set of PNG files can be downloaded from https://mega.nz/file/6cNGwSqI#8X5ukb65n3YMlGaUtSOGXkKo9HxVnnMOgqn94Epcr7w

-

+

+Emulator support

+

Emulators should be added to the sd:/emulators/ folder

+

The menu currently supports the following emulators and associated ROM's:

+

Developer documentation

Work in progress!

You can use a dev container in VSCode to ease development.

-

+

To deploy:

-

+

SC64

Make sure that your firmware is compatible (currently v2.16.0+) See: https://github.com/Polprzewodnikowy/SummerCart64/blob/v2.16.0/docs/00_quick_startup_guide.md#firmware-backupupdate

-

+

From the devcontainer

It is not currently possible to directly communicate with USB devices. BUT, as a work around you can use a proxy TCP/IP connection Set up a proxy: open a terminal window, cd ./tools/sc64 and then ./sc64deployer.exe server

Then in the dev container, use make run or make run-debug

-

+

From your host (Windows) OS