From 4ce84965f7a5129f360cbd7136f9755737e5e802 Mon Sep 17 00:00:00 2001 From: riccardom Date: Mon, 29 Dec 2008 13:17:58 +0000 Subject: [PATCH] Cleanup a bit NDS_Reset(). --- desmume/src/NDSSystem.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) {