From f63de3df98a40303e10a25e48de05cf364bfb439 Mon Sep 17 00:00:00 2001 From: Sérgio Benjamim Date: Thu, 16 Feb 2017 14:30:05 -0200 Subject: Fix build on old toolchains. --- source/memmap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/memmap.c b/source/memmap.c index 3e2d392..72b5d17 100644 --- a/source/memmap.c +++ b/source/memmap.c @@ -327,7 +327,8 @@ void S9xDeinitMemory() Memory.BSRAM = NULL; } - for (int t = 0; t < 2; t++) + int t; + for (t = 0; t < 2; t++) { if (IPPU.TileCache[t]) { -- cgit v1.2.3