summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);