diff --git a/desmume/src/NDSSystem.cpp b/desmume/src/NDSSystem.cpp index 7ad03291e..3b4984920 100644 --- a/desmume/src/NDSSystem.cpp +++ b/desmume/src/NDSSystem.cpp @@ -476,6 +476,7 @@ void NDS_Reset( void) unsigned int i; u32 src; u32 dst; + FILE* inf; NDS_header * header = NDS_getROMHeader(); if (!header) return ; @@ -548,8 +549,6 @@ void NDS_Reset( void) //_MMU_write32[ARMCPU_ARM9](0x02007FFC, 0xE92D4030); - FILE* inf = 0; - //ARM7 BIOS IRQ HANDLER inf = fopen("BiosNds7.ROM","rb"); if(inf) {