Skip to content

Commit

Permalink
[Achievements]Reset RA core on reset
Browse files Browse the repository at this point in the history
  • Loading branch information
OFFTKP committed Sep 4, 2023
1 parent 1f8d15c commit 8f4e06d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2151,6 +2151,9 @@ void se_load_rom(const char *filename){
return;
}
static void se_reset_core(){
#ifdef ENABLE_RETRO_ACHIEVEMENTS
rc_client_reset(ra_get_client());
#endif
se_load_rom(gui_state.recently_loaded_games[0].path);
}
static bool se_write_save_to_disk(const char* path){
Expand Down

0 comments on commit 8f4e06d

Please sign in to comment.