git: 9front

Download patch

ref: 1b20979ce3883950a3efa61ca1337e1516e3bd98
parent: 1777cf26f5da4f733a5060e7cb2bf9951fa083d7
author: aiju <aiju@phicode.de>
date: Sat Feb 11 18:52:35 EST 2017

games/gb: fix typo in the routine to load timer data (thanks qwx)

--- a/sys/src/games/gb/gb.c
+++ b/sys/src/games/gb/gb.c
@@ -127,7 +127,7 @@
 	readn(savefd, back, nback);
 	if((feat & FEATTIM) != 0){
 		readn(savefd, tim, TIMERSIZ);
-		timerload(buf);
+		timerload(tim);
 	}
 	atexit(flushback);
 	free(buf);
--