shithub: riscv

Download patch

ref: 54ac2c28712e64c895679cd09e90dbe8c1288407
parent: 9a7b1b57b66a7803182ad85e31ea2599b3b181ea
author: qwx <devnull@localhost>
date: Sat Jun 9 03:08:43 EDT 2018

snes: fix input botch

--- a/sys/src/games/snes/mem.c
+++ b/sys/src/games/snes/mem.c
@@ -346,7 +346,7 @@
 			if(mouse)
 				mouselatch();
 			else
-				keylatch = keys;
+				keylatch = keys | 0xffff;
 		}
 		break;
 	case 0x4200: