aboutsummaryrefslogtreecommitdiff
path: root/source/dma.c
diff options
context:
space:
mode:
authoraliaspider2014-10-29 11:10:34 +0100
committeraliaspider2014-10-29 11:10:34 +0100
commit021cccc53b29b913e10adf9fcbeab86245ff53fc (patch)
treeff547328b1a6afec52a0041880f28ed902f1cded /source/dma.c
parent616ea0c4c68ac5ee90c1fc835d047bdbd3da62a3 (diff)
downloadsnesemu-021cccc53b29b913e10adf9fcbeab86245ff53fc.tar.gz
snesemu-021cccc53b29b913e10adf9fcbeab86245ff53fc.tar.bz2
snesemu-021cccc53b29b913e10adf9fcbeab86245ff53fc.zip
build fix.
Diffstat (limited to 'source/dma.c')
-rw-r--r--source/dma.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/dma.c b/source/dma.c
index 517bf4c..e7de5b4 100644
--- a/source/dma.c
+++ b/source/dma.c
@@ -239,7 +239,8 @@ void S9xDoDMA (uint8 Channel)
#else
uint8 *ptr = Memory.SDD1Index;
- for (uint32 e = 0; e < Memory.SDD1Entries; e++, ptr += 12)
+ uint32 e;
+ for (e = 0; e < Memory.SDD1Entries; e++, ptr += 12)
{
if (address == *(uint32 *) ptr)
{