Skip to content

Commit

Permalink
[Achievements]Wrap function in ifdef
Browse files Browse the repository at this point in the history
  • Loading branch information
OFFTKP committed Sep 22, 2023
1 parent 356d7bb commit 1eca3b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2263,7 +2263,9 @@ void se_load_rom_from_emu_state(sb_emu_state_t*emu){
}
}
void se_load_rom(const char *filename){
#ifdef ENABLE_RETRO_ACHIEVEMENTS
se_ra_game_cleanup();
#endif
se_reset_rewind_buffer(&rewind_buffer);
se_reset_save_states();
se_reset_cheats();
Expand Down

0 comments on commit 1eca3b5

Please sign in to comment.