From 167234d1712367d7d21b032d2b52388c56630536 Mon Sep 17 00:00:00 2001 From: rogerman Date: Tue, 24 Jul 2012 20:08:38 +0000 Subject: [PATCH] NDSSystem: - In NDS_Init(), move open brace out of #ifdef to help Xcode 3 properly parse the file. --- desmume/src/NDSSystem.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/desmume/src/NDSSystem.cpp b/desmume/src/NDSSystem.cpp index 3c09f537b..35a6a1272 100644 --- a/desmume/src/NDSSystem.cpp +++ b/desmume/src/NDSSystem.cpp @@ -104,10 +104,11 @@ void Desmume_InitOnce() int NDS_Init( struct armcpu_memory_iface *arm9_mem_if, struct armcpu_ctrl_iface **arm9_ctrl_iface, struct armcpu_memory_iface *arm7_mem_if, -struct armcpu_ctrl_iface **arm7_ctrl_iface) { +struct armcpu_ctrl_iface **arm7_ctrl_iface) #else -int NDS_Init( void) { +int NDS_Init( void) #endif +{ nds.idleFrameCounter = 0; memset(nds.runCycleCollector,0,sizeof(nds.runCycleCollector)); MMU_Init();