diff options
author | twinaphex | 2017-08-11 17:43:00 +0200 |
---|---|---|
committer | twinaphex | 2017-08-11 17:43:00 +0200 |
commit | b9c74ceb1352c8f433cf6bf2c446ae07457c5267 (patch) | |
tree | afd398fed3d08c81957373be55a12284cb932ab6 /source/fxemu.c | |
parent | 1aecedc999445e9a27e04f665fd562b576775d08 (diff) | |
download | snesemu-b9c74ceb1352c8f433cf6bf2c446ae07457c5267.tar.gz snesemu-b9c74ceb1352c8f433cf6bf2c446ae07457c5267.tar.bz2 snesemu-b9c74ceb1352c8f433cf6bf2c446ae07457c5267.zip |
Start making this suitable for MSVC and C89
Diffstat (limited to 'source/fxemu.c')
-rw-r--r-- | source/fxemu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/fxemu.c b/source/fxemu.c index dcbf04d..c3af12d 100644 --- a/source/fxemu.c +++ b/source/fxemu.c @@ -284,6 +284,8 @@ static void fx_writeRegisterSpaceAfterUse() /* Reset the FxChip */ void FxReset(FxInit_s* psFxInfo) { + int32_t i; + /* Clear all internal variables */ memset(&GSU, 0, sizeof(FxRegs_s)); @@ -310,7 +312,6 @@ void FxReset(FxInit_s* psFxInfo) GSU.pvRegisters[0x3b] = 0; /* Make ROM bank table */ - int32_t i; for (i = 0; i < 256; i++) { uint32_t b = i & 0x7f; |