mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-06 08:39:07 +00:00
Properly update the outdated Rectangles, after downloading. Thanks Pk11!
This commit is contained in:
@@ -187,6 +187,7 @@ void ScriptBrowse::Logic(u32 hDown, u32 hHeld, touchPosition touch) {
|
|||||||
DisplayMsg(fileName);
|
DisplayMsg(fileName);
|
||||||
|
|
||||||
downloadToFile(infoJson[selection]["url"], Config::ScriptPath + titleFix + ".json");
|
downloadToFile(infoJson[selection]["url"], Config::ScriptPath + titleFix + ".json");
|
||||||
|
infoJson[selection]["curRevision"] = infoJson[selection]["revision"];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -197,7 +198,7 @@ void ScriptBrowse::Logic(u32 hDown, u32 hHeld, touchPosition touch) {
|
|||||||
if (hDown & KEY_L) {
|
if (hDown & KEY_L) {
|
||||||
fastMode = false;
|
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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user