From 7059fcc2574341d0ce65ab576b98d16255ac30d4 Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Wed, 7 Jan 2015 21:30:04 -0800 Subject: [PATCH] GBA BIOS: Fix Diff16bitUnFilter --- src/gba/gba-bios.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gba/gba-bios.c b/src/gba/gba-bios.c index 5227123a4..6e5ddb238 100644 --- a/src/gba/gba-bios.c +++ b/src/gba/gba-bios.c @@ -485,6 +485,6 @@ static void _unFilter(struct GBA* gba, uint32_t source, uint32_t dest, int inwid dest += outwidth; } source += inwidth; - --remaining; + remaining -= outwidth; } }