From c638c9a6058d4da06b17dea74df91efa3c74d593 Mon Sep 17 00:00:00 2001 From: yabause Date: Fri, 7 Nov 2008 20:39:10 +0000 Subject: [PATCH] Patch by Magliocchetti Riccardo: Moved header inclusion to a better place. --- desmume/src/gtk/desmume.cpp | 5 +++++ desmume/src/gtk/desmume.h | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/desmume/src/gtk/desmume.cpp b/desmume/src/gtk/desmume.cpp index 3e2a14bdc..8c1f06d02 100644 --- a/desmume/src/gtk/desmume.cpp +++ b/desmume/src/gtk/desmume.cpp @@ -19,6 +19,11 @@ * Boston, MA 02111-1307, USA. */ +#include "types.h" +#include "NDSSystem.h" +#include "SPU.h" +#include "sndsdl.h" +#include "ctrlssdl.h" #include "desmume.h" volatile BOOL execute = FALSE; diff --git a/desmume/src/gtk/desmume.h b/desmume/src/gtk/desmume.h index e1076ae57..883982183 100644 --- a/desmume/src/gtk/desmume.h +++ b/desmume/src/gtk/desmume.h @@ -22,8 +22,6 @@ #ifndef __DESMUME_H__ #define __DESMUME_H__ -#include "globals.h" - extern void desmume_init( struct armcpu_memory_iface *arm9_mem_if, struct armcpu_ctrl_iface **arm9_ctrl_iface, struct armcpu_memory_iface *arm7_mem_if,