Skip to content

Commit 8154d3f

Browse files
MysticialDeveloper-Butters
authored andcommitted
Retry failed game start due to bad connection.
1 parent b67c46a commit 8154d3f

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

SerialPrograms/Source/CommonFramework/Globals.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ namespace PokemonAutomation{
3939
#endif
4040

4141
#ifndef PA_VERSION_PATCH
42-
#define PA_VERSION_PATCH 2
42+
#define PA_VERSION_PATCH 3
4343
#endif
4444

4545
const bool IS_BETA_VERSION = PA_IS_BETA;

SerialPrograms/Source/NintendoSwitch/Programs/NintendoSwitch_GameEntry.cpp

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -605,11 +605,9 @@ void start_game_from_home_with_inference(
605605
pbf_press_button(context, BUTTON_A, 160ms, 40ms);
606606
break;
607607
default:
608-
OperationFailedException::fire(
609-
ErrorReport::SEND_ERROR_REPORT,
610-
"start_game_from_home_with_inference(): No recognizable state after 30 seconds.",
611-
console
612-
);
608+
console.log("start_game_from_home_with_inference(): No recognizable state after 30 seconds.", COLOR_RED);
609+
go_home(console, context);
610+
break;
613611
}
614612
}
615613
},

0 commit comments

Comments
 (0)