shithub: riscv

Download patch

ref: 0d961d31bc1bc20c599574764611e2d9124a2829
parent: 9509b5850b4c2a6faead9db20445071011a6432e
parent: 83e3b1ce1a3b5e89cdd76893ed24668543aeb688
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();
--