diff options
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; |