summaryrefslogtreecommitdiff
path: root/sys/src/games
diff options
context:
space:
mode:
authoraiju <aiju@phicode.de>2017-02-11 23:52:35 +0100
committeraiju <aiju@phicode.de>2017-02-11 23:52:35 +0100
commit6176b557596bcca7469224ded3f2384d3a2773db (patch)
tree96ef7e14df43b3494866dee7ff9d79d8e4b12ea8 /sys/src/games
parent7d4a1e3643caa658ee40271edb0dc9a48fd50b58 (diff)
games/gb: fix typo in the routine to load timer data (thanks qwx)
Diffstat (limited to 'sys/src/games')
-rw-r--r--sys/src/games/gb/gb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/games/gb/gb.c b/sys/src/games/gb/gb.c
index 79930ec63..8db12f213 100644
--- a/sys/src/games/gb/gb.c
+++ b/sys/src/games/gb/gb.c
@@ -127,7 +127,7 @@ loadsave(char *file)
readn(savefd, back, nback);
if((feat & FEATTIM) != 0){
readn(savefd, tim, TIMERSIZ);
- timerload(buf);
+ timerload(tim);
}
atexit(flushback);
free(buf);