mirror of
https://git.sr.ht/~rabbits/uxn
synced 2024-11-16 11:15:06 +00:00
Removed mispaste code in ppu
This commit is contained in:
parent
564b3207e7
commit
319f5f9238
1 changed files with 0 additions and 9 deletions
|
@ -93,12 +93,3 @@ initppu(Ppu *p, Uint8 hor, Uint8 ver)
|
||||||
clear(p);
|
clear(p);
|
||||||
return 1;
|
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;
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue