Skip to content

Commit b3f8b60

Browse files
committed
DSi-based UIs: Reset DSi binaries and AP checks when swiping icons or dragging scroll bar
1 parent 1cc47ea commit b3f8b60

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

romsel_dsimenutheme/arm9/source/fileBrowse.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3413,6 +3413,11 @@ std::string browseForFile(const std::vector<std::string_view> extensionList) {
34133413
showSTARTborder = false;
34143414
titleboxXspeed = 3;
34153415
scrollWindowTouched = true;
3416+
3417+
dsiBinariesChecked = false;
3418+
apChecked = false;
3419+
infoCheckTimer = 0;
3420+
34163421
int prevPos = CURPOS;
34173422
while (1) {
34183423
scanKeys();
@@ -3476,6 +3481,10 @@ std::string browseForFile(const std::vector<std::string_view> extensionList) {
34763481
touchPosition prevTouch1 = touch;
34773482
touchPosition prevTouch2 = touch;
34783483

3484+
dsiBinariesChecked = false;
3485+
apChecked = false;
3486+
infoCheckTimer = 0;
3487+
34793488
bool tapped = false;
34803489
bool dsiCursorMove = false;
34813490
while (1) {

0 commit comments

Comments
 (0)