ref: 6176b557596bcca7469224ded3f2384d3a2773db
parent: 7d4a1e3643caa658ee40271edb0dc9a48fd50b58
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);