ref: 52153c32dcc83b2ae752431f7827ddff9b926a78
parent: 527ab6405c8cc8b0277825033364ff13de5408fb
author: aiju <devnull@localhost>
date: Mon May 26 21:01:55 EDT 2014
games/snes: originwindow confuses the cat
--- a/sys/src/games/snes/snes.c
+++ b/sys/src/games/snes/snes.c
@@ -176,7 +176,6 @@
{
Point p;
- originwindow(screen, Pt(0, 0), screen->r.min);
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))};
tmp = allocimage(display, Rect(0, 0, scale * 256, scale > 1 ? 1 : scale * 239), RGB15, scale > 1, 0);