mirror of
https://github.com/Polprzewodnikowy/N64FlashcartMenu.git
synced 2025-02-04 12:46:48 +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.back = false;
|
||||||
menu->actions.options = false;
|
menu->actions.options = false;
|
||||||
menu->actions.settings = false;
|
menu->actions.settings = false;
|
||||||
|
menu->actions.l_context = false;
|
||||||
|
menu->actions.z_context = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void actions_update_direction (menu_t *menu) {
|
static void actions_update_direction (menu_t *menu) {
|
||||||
@ -91,6 +93,10 @@ static void actions_update_buttons (menu_t *menu) {
|
|||||||
menu->actions.options = true;
|
menu->actions.options = true;
|
||||||
} else if (pressed.start) {
|
} else if (pressed.start) {
|
||||||
menu->actions.settings = true;
|
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 back;
|
||||||
bool options;
|
bool options;
|
||||||
bool settings;
|
bool settings;
|
||||||
|
bool l_context;
|
||||||
|
bool z_context;
|
||||||
} actions;
|
} actions;
|
||||||
|
|
||||||
struct {
|
struct {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user