mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2024-11-28 04:44:06 +00:00
Fixes to menu; use left side of screen
This commit is contained in:
parent
3a9dae3576
commit
2c3e0d752c
3 changed files with 2 additions and 2 deletions
|
@ -221,7 +221,7 @@ pub fn handle_get_npad_state(state: *mut NpadGcState, _controller_id: *const u32
|
||||||
if (*state).Buttons & (1 << 0) > 0 {
|
if (*state).Buttons & (1 << 0) > 0 {
|
||||||
BUTTON_PRESSES.a.is_pressed = true;
|
BUTTON_PRESSES.a.is_pressed = true;
|
||||||
}
|
}
|
||||||
if (*state).Buttons & (1 << 1) > 0 {
|
if (*state).Buttons & (1 << 1) > 0 && frame_counter::get_frame_count(FRAME_COUNTER_INDEX) == 0 {
|
||||||
BUTTON_PRESSES.b.is_pressed = true;
|
BUTTON_PRESSES.b.is_pressed = true;
|
||||||
}
|
}
|
||||||
if (*state).Buttons & (1 << 8) > 0 {
|
if (*state).Buttons & (1 << 8) > 0 {
|
||||||
|
|
Binary file not shown.
|
@ -1134,7 +1134,7 @@ pub static DEFAULT_MENU: TrainingModpackMenu = TrainingModpackMenu {
|
||||||
throw_delay: MedDelay::empty(),
|
throw_delay: MedDelay::empty(),
|
||||||
pummel_delay: MedDelay::empty(),
|
pummel_delay: MedDelay::empty(),
|
||||||
buff_state: BuffOption::empty(),
|
buff_state: BuffOption::empty(),
|
||||||
quick_menu: OnOff::On,
|
quick_menu: OnOff::Off,
|
||||||
};
|
};
|
||||||
|
|
||||||
pub static mut MENU: TrainingModpackMenu = DEFAULT_MENU;
|
pub static mut MENU: TrainingModpackMenu = DEFAULT_MENU;
|
||||||
|
|
Loading…
Reference in a new issue