commit 319f5f92386bfa28a84a0aa055d983f0a15ae78a parent 564b3207e7059f215fc2cd62959489c760c63718 Author: neauoire <aliceffekt@gmail.com> Date: Sat, 31 Jul 2021 10:48:58 -0700 Removed mispaste code in ppu Diffstat:
M | src/devices/ppu.c | | | 9 | --------- |
1 file changed, 0 insertions(+), 9 deletions(-)
diff --git a/src/devices/ppu.c b/src/devices/ppu.c @@ -93,12 +93,3 @@ initppu(Ppu *p, Uint8 hor, Uint8 ver) clear(p); return 1; } -; - p->height = 8 * p->ver; - if(!(p->bg.pixels = malloc(p->width * p->height * sizeof(Uint32)))) - return 0; - if(!(p->fg.pixels = malloc(p->width * p->height * sizeof(Uint32)))) - return 0; - clear(p); - return 1; -}