From beaa35f35c7605c38fabe5fd4cac53346cfba7f3 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sat, 9 Mar 2019 15:29:02 -0800 Subject: [PATCH] GB: Fix boundary condition in GB color lookup (fixes #1348) --- src/gb/overrides.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gb/overrides.c b/src/gb/overrides.c index 51a9bbf71..8e2265662 100644 --- a/src/gb/overrides.c +++ b/src/gb/overrides.c @@ -485,6 +485,8 @@ static const struct GBCartridgeOverride _colorOverrides[] = { // Zelda no Densetsu - Yume o Miru Shima (Japan) (Rev A) { 0x61F269CD, GB_MODEL_AUTODETECT, GB_MBC_AUTODETECT, PALETTE(4, 21, 28) }, + + { 0, 0, 0, { 0 } } }; static const struct GBCartridgeOverride _overrides[] = {