mirror of
https://github.com/Polprzewodnikowy/N64FlashcartMenu.git
synced 2025-01-28 01:25:34 +01:00
Merge branch 'develop' into improve-rom-info
This commit is contained in:
commit
1ed5c4b0f3
@ -45,10 +45,13 @@ For ease of development and debugging, the menu ROM can run in the [Ares emulato
|
||||
* Add the required file to the correct folder on your SD card.
|
||||
|
||||
|
||||
## Update Libdragon submodule
|
||||
This repo currently uses the `preview` branch as a submodule at a specific commit.
|
||||
## Update submodules
|
||||
To update to the latest version, use `git submodule update --remote` from the terminal.
|
||||
|
||||
### libdragon
|
||||
This repo currently uses the `preview` branch as a submodule at a specific commit.
|
||||
* To ensure your local instance is building against it, use `cd ./libdragon && make clobber -j && make libdragon tools -j && make install tools-install -j && cd ..`
|
||||
|
||||
## Generate documentation
|
||||
Run `doxygen` from the dev container terminal.
|
||||
Make sure you fix the warnings before creating a PR!
|
||||
|
@ -2,6 +2,10 @@
|
||||
#include "../sound.h"
|
||||
|
||||
|
||||
static inline const char *format_boolean_type (bool bool_value) {
|
||||
return bool_value ? "Supported" : "Unsupported";
|
||||
}
|
||||
|
||||
static void process (menu_t *menu) {
|
||||
if (menu->actions.back) {
|
||||
menu->next_mode = MENU_MODE_BROWSER;
|
||||
@ -18,10 +22,33 @@ static void draw (menu_t *menu, surface_t *d) {
|
||||
|
||||
component_main_text_draw(
|
||||
ALIGN_CENTER, VALIGN_TOP,
|
||||
"FLASHCART INFORMATION\n"
|
||||
"FLASHCART INFORMATION"
|
||||
"\n"
|
||||
"\n"
|
||||
"This feature is not yet supported.\n\n"
|
||||
);
|
||||
|
||||
component_main_text_draw(
|
||||
ALIGN_LEFT, VALIGN_TOP,
|
||||
"\n"
|
||||
"\n"
|
||||
"Type:\n"
|
||||
" %s\n\n"
|
||||
"Firmware:\n"
|
||||
" %s\n\n"
|
||||
"Features:\n"
|
||||
" Virtual 64DD: %s.\n"
|
||||
" Real Time Clock: %s.\n"
|
||||
" USB Debugging: %s.\n"
|
||||
" CIC Detection: %s.\n"
|
||||
" Region Detection: %s.\n"
|
||||
"\n\n",
|
||||
"SummerCart64",
|
||||
"V?.?.?",
|
||||
format_boolean_type(true),
|
||||
format_boolean_type(true),
|
||||
format_boolean_type(true),
|
||||
format_boolean_type(true),
|
||||
format_boolean_type(true)
|
||||
);
|
||||
|
||||
// FIXME: Display:
|
||||
@ -30,13 +57,6 @@ static void draw (menu_t *menu, surface_t *d) {
|
||||
// * supported features (flashcart_features_t)
|
||||
|
||||
|
||||
component_main_text_draw(
|
||||
ALIGN_LEFT, VALIGN_TOP,
|
||||
"\n"
|
||||
"\n"
|
||||
);
|
||||
|
||||
|
||||
component_actions_bar_text_draw(
|
||||
ALIGN_LEFT, VALIGN_TOP,
|
||||
"\n"
|
||||
|
Loading…
x
Reference in New Issue
Block a user