Skip to content

Commit

Permalink
fix crash when closing emulator in certain ways
Browse files Browse the repository at this point in the history
  • Loading branch information
skyfloogle committed Apr 1, 2024
1 parent dbdde5d commit 6e75f3b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/3ds/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ int main() {
save_sram();

exit:
aptUnhook(&cookie);
toggleVsync(false);
sound_close();
if (save_thread) threadJoin(save_thread, U64_MAX);
Expand Down

0 comments on commit 6e75f3b

Please sign in to comment.