mirror of
https://github.com/Polprzewodnikowy/N64FlashcartMenu.git
synced 2025-01-26 00:31:14 +01:00
Merge branch 'develop' into cpak-management
This commit is contained in:
commit
b1ea3f33fb
@ -21,6 +21,8 @@ static void actions_clear (menu_t *menu) {
|
||||
menu->actions.back = false;
|
||||
menu->actions.options = false;
|
||||
menu->actions.settings = false;
|
||||
menu->actions.l_context = false;
|
||||
menu->actions.z_context = false;
|
||||
}
|
||||
|
||||
static void actions_update_direction (menu_t *menu) {
|
||||
@ -91,6 +93,10 @@ static void actions_update_buttons (menu_t *menu) {
|
||||
menu->actions.options = true;
|
||||
} else if (pressed.start) {
|
||||
menu->actions.settings = true;
|
||||
} else if (pressed.l) {
|
||||
menu->actions.l_context = true;
|
||||
} else if (pressed.z) {
|
||||
menu->actions.z_context = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -86,6 +86,8 @@ typedef struct {
|
||||
bool back;
|
||||
bool options;
|
||||
bool settings;
|
||||
bool l_context;
|
||||
bool z_context;
|
||||
} actions;
|
||||
|
||||
struct {
|
||||
|
Loading…
x
Reference in New Issue
Block a user