mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-03 00:39:02 +00:00
Fast Scroll!
This commit is contained in:
@@ -190,6 +190,14 @@ void ScriptBrowse::Logic(u32 hDown, u32 hHeld, touchPosition touch) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (hDown & KEY_R) {
|
||||||
|
fastMode = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (hDown & KEY_L) {
|
||||||
|
fastMode = false;
|
||||||
|
}
|
||||||
|
|
||||||
if(selection < screenPos) {
|
if(selection < screenPos) {
|
||||||
screenPos = selection;
|
screenPos = selection;
|
||||||
} else if (selection > screenPos + ENTRIES_PER_SCREEN - 1) {
|
} else if (selection > screenPos + ENTRIES_PER_SCREEN - 1) {
|
||||||
|
|||||||
@@ -391,6 +391,14 @@ void ScriptList::ListSelection(u32 hDown, u32 hHeld) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (hDown & KEY_R) {
|
||||||
|
fastMode = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (hDown & KEY_L) {
|
||||||
|
fastMode = false;
|
||||||
|
}
|
||||||
|
|
||||||
if(selection < screenPos) {
|
if(selection < screenPos) {
|
||||||
screenPos = selection;
|
screenPos = selection;
|
||||||
} else if (selection > screenPos + ENTRIES_PER_SCREEN - 1) {
|
} else if (selection > screenPos + ENTRIES_PER_SCREEN - 1) {
|
||||||
@@ -431,6 +439,14 @@ void ScriptList::SelectFunction(u32 hDown, u32 hHeld) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (hDown & KEY_R) {
|
||||||
|
fastMode = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (hDown & KEY_L) {
|
||||||
|
fastMode = false;
|
||||||
|
}
|
||||||
|
|
||||||
if (hDown & KEY_SELECT) {
|
if (hDown & KEY_SELECT) {
|
||||||
Config::Color1 = barColor;
|
Config::Color1 = barColor;
|
||||||
Config::Color2 = bgTopColor;
|
Config::Color2 = bgTopColor;
|
||||||
|
|||||||
Reference in New Issue
Block a user