GB: Fix audio not being deinitialized

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

View File

@ -12,6 +12,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:
- PSP2: Improved controller rumble
- GB, GBA: Prevent loading null ROMs

View File

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