Skip to content

Commit f6d70f8

Browse files
committed
Need to wait for request
1 parent 0240f0b commit f6d70f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

SerialPrograms/Source/PokemonFRLG/Programs/PokemonFRLG_StartMenuNavigation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ void save_game_to_overworld(ConsoleHandle& console, ProControllerContext& contex
164164

165165
console.log("Detected Save Arrow. Saving game.");
166166
pbf_press_button(context, BUTTON_A, 320ms, 200ms);
167+
context.wait_for_all_requests();
167168

168169
SelectionArrowWatcher save_confirm_arrow = SelectionArrowWatcher(
169170
COLOR_RED,
@@ -188,7 +189,6 @@ void save_game_to_overworld(ConsoleHandle& console, ProControllerContext& contex
188189

189190
console.log("Detected Save Confirmation Arrow. Saving game.");
190191
pbf_press_button(context, BUTTON_A, 320ms, 200ms);
191-
192192
context.wait_for_all_requests();
193193

194194
return;

0 commit comments

Comments
 (0)