Skip to content

Commit 8c3944b

Browse files
committed
Improve stability of date spam.
1 parent 9896a1e commit 8c3944b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

SerialPrograms/Source/CommonFramework/Globals.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace PokemonAutomation{
2626
const bool IS_BETA_VERSION = true;
2727
const int PROGRAM_VERSION_MAJOR = 0;
2828
const int PROGRAM_VERSION_MINOR = 53;
29-
const int PROGRAM_VERSION_PATCH = 3;
29+
const int PROGRAM_VERSION_PATCH = 4;
3030

3131
const std::string PROGRAM_VERSION_BASE =
3232
"v" + std::to_string(PROGRAM_VERSION_MAJOR) +

SerialPrograms/Source/NintendoSwitch/Programs/NintendoSwitch_Navigation.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,14 @@ void home_to_date_time(ProControllerContext& context, bool to_date_change, bool
5959
ssf_issue_scroll(context, SSF_SCROLL_DOWN, 3);
6060

6161
if (!to_date_change){
62+
// Double up this A press in case one is dropped.
63+
ssf_press_button(context, BUTTON_A, 3);
6264
ssf_press_button(context, BUTTON_A, 45);
6365
return;
6466
}
6567

68+
// Double up this A press in case one is dropped.
69+
ssf_press_button(context, BUTTON_A, 3);
6670
ssf_press_button(context, BUTTON_A, 3);
6771
{
6872
auto iterations = Milliseconds(240) / 24ms + 1;

0 commit comments

Comments
 (0)