Pause the SPU when closing rom to avoid annoying sound loop

This commit is contained in:
riccardom 2010-04-01 16:52:00 +00:00
parent 93430f6d8d
commit 113146e6b3
1 changed files with 1 additions and 0 deletions

View File

@ -358,6 +358,7 @@ loop:
void closeRom(wxCommandEvent& event) {
NDS_FreeROM();
execute = false;
SPU_Pause(1);
#ifdef HAVE_LIBAGG
Hud.resetTransient();
#endif