fix(ppu): deallocate palette RAM on cleanup

This commit is contained in:
Rekai Nyangadzayi Musuka 2022-10-21 05:11:50 -03:00
parent 036b861b05
commit f3ad0eb3aa
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();
} }
}; };