From 6176b557596bcca7469224ded3f2384d3a2773db Mon Sep 17 00:00:00 2001 From: aiju Date: Sat, 11 Feb 2017 23:52:35 +0100 Subject: games/gb: fix typo in the routine to load timer data (thanks qwx) --- sys/src/games/gb/gb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3