mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-03 00:39:02 +00:00
Exit UU with START, switch START actions to SELECT
This commit is contained in:
@@ -34,7 +34,7 @@ static const Structs::ButtonPos btn = { 45, 215, 24, 24 };
|
||||
static const Structs::ButtonPos sshot = { 75, 215, 24, 24 };
|
||||
static const Structs::ButtonPos notes = { 105, 215, 24, 24 };
|
||||
extern bool checkWifiStatus();
|
||||
extern bool QueueRuns;
|
||||
extern bool exiting, QueueRuns;
|
||||
|
||||
/*
|
||||
Draw the Entry Info part.
|
||||
@@ -78,7 +78,7 @@ void StoreUtils::DrawEntryInfo(const std::unique_ptr<StoreEntry> &entry) {
|
||||
*/
|
||||
void StoreUtils::EntryHandle(bool &showMark, bool &fetch, bool &sFetch, int &mode, const std::unique_ptr<StoreEntry> &entry) {
|
||||
if (entry) {
|
||||
if ((hDown & KEY_START) || (hDown & KEY_TOUCH && touching(touch, btn))) showMark = true;
|
||||
if ((hDown & KEY_SELECT) || (hDown & KEY_TOUCH && touching(touch, btn))) showMark = true;
|
||||
|
||||
if ((hDown & KEY_Y) || (hDown & KEY_TOUCH && touching(touch, sshot))) {
|
||||
if (!entry->GetScreenshots().empty()) {
|
||||
@@ -100,4 +100,8 @@ void StoreUtils::EntryHandle(bool &showMark, bool &fetch, bool &sFetch, int &mod
|
||||
if (entry->GetReleaseNotes() != "") mode = 7;
|
||||
}
|
||||
}
|
||||
|
||||
/* Quit UU. */
|
||||
if (hDown & KEY_START && !QueueRuns)
|
||||
exiting = true;
|
||||
}
|
||||
Reference in New Issue
Block a user