aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTwinaphex2017-02-16 17:43:57 +0100
committerGitHub2017-02-16 17:43:57 +0100
commit42e64dc0354acba52fcad0ea562d534ec05234c1 (patch)
tree26cdda0752a81db0295187b1d897ed1830e98193
parentd9b7722019987cb3331ab3ec3fcf364c82145177 (diff)
parentf63de3df98a40303e10a25e48de05cf364bfb439 (diff)
downloadsnes9x2005-42e64dc0354acba52fcad0ea562d534ec05234c1.tar.gz
snes9x2005-42e64dc0354acba52fcad0ea562d534ec05234c1.tar.bz2
snes9x2005-42e64dc0354acba52fcad0ea562d534ec05234c1.zip
Merge pull request #33 from sergiobenrocha2/master
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])
{