GB: Fix audio not being deinitialized

This commit is contained in:
Jeffrey Pfau 2016-10-28 17:47:05 -07:00
parent 17850c1751
commit e66061ed9e
2 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,7 @@ Bugfixes:
- GB MBC: Fix initializing MBC when no ROM is loaded
- VFS: Fix resizing memory chunks when not needed
- GB Memory: Fix patching ROM bank 0
- GB: Fix audio not being deinitialized
Misc:
- SDL: Remove scancode key input
- GBA Video: Clean up unused timers

View File

@ -316,6 +316,7 @@ void GBDestroy(struct GB* gb) {
}
GBMemoryDeinit(gb);
GBAudioDeinit(&gb->audio);
GBVideoDeinit(&gb->video);
GBSIODeinit(&gb->sio);
}