mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-03 00:39:02 +00:00
Uhh.. derpy on TinyDB Screen, lol.
This commit is contained in:
@@ -223,7 +223,7 @@ void TinyDB::Logic(u32 hDown, u32 hHeld, touchPosition touch) {
|
|||||||
if (Config::viewMode == 0) {
|
if (Config::viewMode == 0) {
|
||||||
for(int i=0;i<ENTRIES_PER_SCREEN;i++) {
|
for(int i=0;i<ENTRIES_PER_SCREEN;i++) {
|
||||||
if(touch.py > (i+1)*57 && touch.py < (i+2)*57) {
|
if(touch.py > (i+1)*57 && touch.py < (i+2)*57) {
|
||||||
selection = i;
|
selection = screenPos + i;
|
||||||
selectedOption = tinyDBList[screenPos + i];
|
selectedOption = tinyDBList[screenPos + i];
|
||||||
execute();
|
execute();
|
||||||
}
|
}
|
||||||
@@ -231,7 +231,7 @@ void TinyDB::Logic(u32 hDown, u32 hHeld, touchPosition touch) {
|
|||||||
} else if (Config::viewMode == 1) {
|
} else if (Config::viewMode == 1) {
|
||||||
for(int i=0;i<ENTRIES_PER_LIST;i++) {
|
for(int i=0;i<ENTRIES_PER_LIST;i++) {
|
||||||
if(touch.py > (i+1)*27 && touch.py < (i+2)*27) {
|
if(touch.py > (i+1)*27 && touch.py < (i+2)*27) {
|
||||||
selection = i;
|
selection = screenPosList + i;
|
||||||
selectedOption = tinyDBList[screenPosList + i];
|
selectedOption = tinyDBList[screenPosList + i];
|
||||||
execute();
|
execute();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user