games/snes: originwindow confuses the cat
This commit is contained in:
parent
527ab6405c
commit
52153c32dc
|
@ -176,7 +176,6 @@ screeninit(void)
|
||||||
{
|
{
|
||||||
Point p;
|
Point p;
|
||||||
|
|
||||||
originwindow(screen, Pt(0, 0), screen->r.min);
|
|
||||||
p = divpt(addpt(screen->r.min, screen->r.max), 2);
|
p = divpt(addpt(screen->r.min, screen->r.max), 2);
|
||||||
picr = (Rectangle){subpt(p, Pt(scale * 128, scale * 112)), addpt(p, Pt(scale * 128, scale * 127))};
|
picr = (Rectangle){subpt(p, Pt(scale * 128, scale * 112)), addpt(p, Pt(scale * 128, scale * 127))};
|
||||||
tmp = allocimage(display, Rect(0, 0, scale * 256, scale > 1 ? 1 : scale * 239), RGB15, scale > 1, 0);
|
tmp = allocimage(display, Rect(0, 0, scale * 256, scale > 1 ? 1 : scale * 239), RGB15, scale > 1, 0);
|
||||||
|
|
Loading…
Reference in a new issue