Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

Commit

Permalink
change startup gui override macro to just the TIME button
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianPugh authored and kbeckmann committed Sep 6, 2021
1 parent b9c0414 commit bfd9f79
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Core/Src/retro-go/rg_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -446,10 +446,10 @@ void app_main(void)
// favorites_init();

// Start the previously running emulator directly if it's a valid pointer.
// If the user holds down any key more than the power button,
// start the retro-go gui as a fallback.
// If the user holds down the TIME button during startup,start the retro-go
// gui instead of the last ROM as a fallback.
retro_emulator_file_t *file = odroid_settings_StartupFile_get();
if (emulator_is_file_valid(file) && ((GW_GetBootButtons() & ~B_POWER) == 0)) {
if (emulator_is_file_valid(file) && ((GW_GetBootButtons() & B_TIME) == 0)) {
emulator_start(file, true, true);
} else {
retro_loop();
Expand Down

0 comments on commit bfd9f79

Please sign in to comment.