git: 9front

Download patch

ref: f9bfcf63b8489869eff2576f381c5c6c6f6e4f20
parent: c5b462d3d98d36a362ec18ab98175023ac3fcb8c
parent: 10a9c3393731bc96c1de8f59ed5308ed27a7c1cc
author: cinap_lenrek <cinap_lenrek@gmx.de>
date: Sat Apr 14 14:55:35 EDT 2012

merge

--- a/sys/src/games/gb/audio.c
+++ b/sys/src/games/gb/audio.c
@@ -170,6 +170,7 @@
 		ch4sr |= k;
 		ch4c = 0;
 	}
+	ch4c++;
 	if(ch4sr & 1)
 		ch4s = -1;
 	else
--- a/sys/src/games/gb/state.c
+++ b/sys/src/games/gb/state.c
@@ -81,6 +81,7 @@
 	clock = get32();
 	ppuclock = get32();
 	divclock = get32();
+	timerclock = get32();
 	timerfreq = get32();
 	timer = get32();
 	rombank = get32();
--