aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSérgio Benjamim2017-02-16 14:30:05 -0200
committerSérgio Benjamim2017-02-16 14:30:05 -0200
commitf63de3df98a40303e10a25e48de05cf364bfb439 (patch)
tree26cdda0752a81db0295187b1d897ed1830e98193
parentd9b7722019987cb3331ab3ec3fcf364c82145177 (diff)
downloadsnes9x2005-f63de3df98a40303e10a25e48de05cf364bfb439.tar.gz
snes9x2005-f63de3df98a40303e10a25e48de05cf364bfb439.tar.bz2
snes9x2005-f63de3df98a40303e10a25e48de05cf364bfb439.zip
Fix build on old toolchains.
-rw-r--r--source/memmap.c3
1 files changed, 2 insertions, 1 deletions
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])
{