fix(ppu): deallocate palette RAM on cleanup

This commit is contained in:
Rekai Nyangadzayi Musuka 2022-01-07 22:27:08 -04:00
parent 568c374131
commit 8fb666624f
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ pub const Ppu = struct {
pub fn deinit(self: @This()) void { pub fn deinit(self: @This()) void {
self.vram.deinit(); self.vram.deinit();
self.palette.deinit();
} }
}; };