git: 9front

Download patch

ref: 76406045569ef4b3b11c0fd1bb664c238ada9935
parent: 631b038179dcf5b9fd0a2a9947d2396ce3b3712d
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);
--