Browse code

Removed mispaste code in ppu

neauoire authored on 31/07/2021 17:48:58
Showing 1 changed files
... ...
@@ -93,12 +93,3 @@ initppu(Ppu *p, Uint8 hor, Uint8 ver)
93 93
 	clear(p);
94 94
 	return 1;
95 95
 }
96
-;
97
-	p->height = 8 * p->ver;
98
-	if(!(p->bg.pixels = malloc(p->width * p->height * sizeof(Uint32))))
99
-		return 0;
100
-	if(!(p->fg.pixels = malloc(p->width * p->height * sizeof(Uint32))))
101
-		return 0;
102
-	clear(p);
103
-	return 1;
104
-}