Skip to content

Commit d9d3574

Browse files
committed
remove unneeded video check
1 parent 1a40441 commit d9d3574

File tree

1 file changed

+8
-23
lines changed

1 file changed

+8
-23
lines changed

SerialPrograms/Source/PokemonLGPE/Programs/PokemonLGPE_GameEntry.cpp

Lines changed: 8 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -30,29 +30,14 @@ bool reset_game_to_gamemenu(
3030
VideoStream& stream, JoyconContext& context,
3131
bool tolerate_update_menu
3232
){
33-
bool video_available = (bool)stream.video().snapshot();
34-
if (video_available ||
35-
ConsoleSettings::instance().START_GAME_REQUIRES_INTERNET ||
36-
tolerate_update_menu
37-
){
38-
//Handle Right Joycon attempting to update
39-
//Need detector for update prompt
40-
//pbf_move_joystick(context, 0, 128, 100ms, 10ms);
41-
//pbf_move_joystick(context, 0, 128, 100ms, 10ms);
42-
//pbf_press_button(context, BUTTON_A, 100ms, 10ms);
43-
44-
close_game(stream, context);
45-
start_game_from_home(
46-
stream,
47-
context,
48-
tolerate_update_menu,
49-
0, 0,
50-
GameSettings::instance().START_GAME_MASH0
51-
);
52-
}else{
53-
pbf_press_button(context, BUTTON_X, 400ms, 0ms);
54-
pbf_mash_button(context, BUTTON_A, GameSettings::instance().START_GAME_MASH0);
55-
}
33+
close_game(stream, context);
34+
start_game_from_home(
35+
stream,
36+
context,
37+
tolerate_update_menu,
38+
0, 0,
39+
GameSettings::instance().START_GAME_MASH0
40+
);
5641

5742
// Now the game has opened:
5843
return openedgame_to_gamemenu(stream, context, GameSettings::instance().START_GAME_WAIT1);

0 commit comments

Comments
 (0)