Compare commits

...

2 Commits

Author SHA1 Message Date
coah
2aca3011ab Fix keyboard prediction and animation jump tables 2026-10-01 18:18:58 -05:00
coah
efda1f0093 Restore SD state-machine switch case mappings (#623) 2026-10-01 18:14:28 -05:00
2 changed files with 57 additions and 57 deletions

View File

@@ -509,13 +509,13 @@ void Base::setLanguage(Language language) {
case UK:
setPredictMode(PM_En);
break;
case FR:
case DE:
setPredictMode(PM_De);
break;
case DE:
case IT:
setPredictMode(PM_It);
break;
case IT:
case NL:
setPredictMode(PM_Nl);
break;
case SP:
@@ -525,7 +525,7 @@ void Base::setLanguage(Language language) {
setPredictMode(PM_USSp);
}
break;
case NL:
case FR:
if (meDestination == DST_EU) {
setPredictMode(PM_Fr);
} else {
@@ -3470,7 +3470,7 @@ void NormalButtonAnmPane::onAnmEvent(AnmPaneEvent event) {
changeAnimation(ANM_Pushed);
}
switch (meState) {
case ANM_FocusOut:
case ANM_FadeIn:
if (event == PE_4) changeAnimation(ANM_Normal);
if (event == PE_1) changeAnimation(ANM_FocusIn);
break;
@@ -3484,7 +3484,7 @@ void NormalButtonAnmPane::onAnmEvent(AnmPaneEvent event) {
case ANM_RollOver:
if (event == PE_2) changeAnimation(ANM_FocusOut);
break;
case ANM_FadeIn:
case ANM_FocusOut:
if (event == PE_4) changeAnimation(ANM_Normal);
if (event == PE_1) changeAnimation(ANM_FocusIn);
break;

View File

@@ -1037,52 +1037,52 @@ namespace ipl {
}
switch (mWorkerCommand) {
case 0:
case 1:
processWorkerCommands();
break;
case 1:
case 0:
handleNandTitleUsageComplete();
break;
case 2:
handleSDTitleList();
break;
case 3:
case 4:
handleSDMountComplete();
break;
case 4:
case 5:
handleSDTitleListResult();
break;
case 5:
case 3:
handleSDChannelUpdateComplete();
break;
case 6:
case 7:
handleCopyComplete();
break;
case 7:
case 8:
handleSDLocationUpdateComplete();
break;
case 8:
case 9:
handleSDLocationReadComplete();
break;
case 9:
case 10:
handleMoveComplete();
break;
case 10:
case 11:
handleBackupFitComplete();
break;
case 11:
case 12:
handleNandSDCleanupComplete();
break;
case 12:
case 13:
handleSDDeleteComplete();
break;
case 13:
case 6:
handleSDCardReady();
break;
case 14:
case 15:
handleCardCommand();
break;
case 15:
case 14:
break;
}
@@ -1749,79 +1749,79 @@ namespace ipl {
}
switch (state) {
case 0:
case 1:
processNormalInput();
break;
case 1:
case 8:
case 9:
setPageActionFrame();
break;
case 2:
case 10:
case 11:
finishPageScroll();
break;
case 3:
case 5:
createChildScene(0x23, this, NULL, this);
mState = 6;
break;
case 4:
case 7:
advancePageAnimation();
break;
case 5:
case 12:
mState = 13;
break;
case 6:
case 14:
initializeNormalPage();
break;
case 7:
case 15:
updateDragState();
break;
case 8:
case 16:
updateDragPageTransition();
break;
case 9:
case 17:
finishDragWait();
break;
case 10:
case 18:
finishDragPageTransition();
break;
case 11:
case 19:
applyChannelMove();
break;
case 12:
case 20:
finishChannelMove();
break;
case 13:
case 21:
resetDragPreview();
break;
case 14:
finishDragPageChange();
break;
case 15:
handleFourPageDialog();
break;
case 16:
flushSaveDataAndMountSD();
break;
case 17:
handleThreePageDialog();
break;
case 18:
finishCardDialog();
break;
case 19:
finishDialogOperation();
break;
case 20:
finishDialogTransition();
break;
case 21:
case 22:
case 23:
finishDragPageChange();
break;
case 24:
handleFourPageDialog();
break;
case 25:
flushSaveDataAndMountSD();
break;
case 26:
handleThreePageDialog();
break;
case 27:
finishCardDialog();
break;
case 28:
finishDialogOperation();
break;
case 29:
finishDialogTransition();
break;
case 0:
case 2:
case 3:
case 4:
case 6:
case 13:
default:
break;
}