aboutsummaryrefslogtreecommitdiff
path: root/source/sdd1.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/sdd1.c')
-rw-r--r--source/sdd1.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/sdd1.c b/source/sdd1.c
index 93e3a7e..58b934e 100644
--- a/source/sdd1.c
+++ b/source/sdd1.c
@@ -10,12 +10,12 @@ void S9xSetSDD1MemoryMap(uint32_t bank, uint32_t value)
bank = 0xc00 + bank * 0x100;
value = value * 1024 * 1024;
- int c;
+ int32_t c;
for (c = 0; c < 0x100; c += 16)
{
uint8_t* block = &Memory.ROM [value + (c << 12)];
- int i;
+ int32_t i;
for (i = c; i < c + 16; i++)
Memory.Map [i + bank] = block;
@@ -25,7 +25,7 @@ void S9xSetSDD1MemoryMap(uint32_t bank, uint32_t value)
void S9xResetSDD1()
{
memset(&Memory.FillRAM [0x4800], 0, 4);
- int i;
+ int32_t i;
for (i = 0; i < 4; i++)
{
Memory.FillRAM [0x4804 + i] = i;
@@ -35,7 +35,7 @@ void S9xResetSDD1()
void S9xSDD1PostLoadState()
{
- int i;
+ int32_t i;
for (i = 0; i < 4; i++)
S9xSetSDD1MemoryMap(i, Memory.FillRAM [0x4804 + i]);
}