aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-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)
{