Hold R2 and L2 to active load test

This commit is contained in:
Jaby
2024-07-22 20:09:47 +02:00
committed by Jaby
parent 98f2c8791a
commit 548de4ab30
5 changed files with 20 additions and 9 deletions

View File

@@ -1,3 +1,4 @@
#include "../include/shared.hpp"
#include "include/menu.hpp"
#include <PSX/Periphery/periphery.hpp>
@@ -49,7 +50,7 @@ namespace Menu {
bool BackMenu :: update(const GPU::PositionI16& position, bool auto_clear) {
const auto& controller = Periphery::get_primary_controller_as<JabyEngine::Periphery::GenericController>();
if(true/*controller.button.is_down(DigitalButton::Circle)*/) {
if(Shared::load_test || controller.button.is_down(DigitalButton::Circle)) {
this->waiting = true;
if(this->timeout.is_expired_for(2500_ms)) {
return true;