commit 21f7c0d966bf859080b2a2b77a5c56ab43a07519 parent 3dec3e12645627d446f095833596a3e8e5572dd8 Author: Andrew Alderwick <andrew@alderwick.co.uk> Date: Wed, 7 Apr 2021 22:46:52 +0100 Fix return in wrong place Diffstat:
M | src/apu.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/apu.c b/src/apu.c @@ -140,8 +140,8 @@ audio_poke(Uxn *u, Uint16 ptr, Uint8 b0, Uint8 b1) q->dat[q->n++] = (m[0xd] << 8) + b1; } else if(b0 == 0xf && q != NULL) { q->ends = 1; - return b1; } + return b1; } int