removing lots of unused code
[drnoksnes] / platform / sdl.cpp
index 0cb077e..c9d641c 100644 (file)
@@ -9,15 +9,17 @@
 #include "cpuexec.h"
 #include "gfx.h"
 #include "ppu.h"
-#include "display.h"
 #include "memmap.h"
 #include "soundux.h"
 #include "hacks.h"
 #include "snapshot.h"
-#include "osso.h"
 
 #define kPollEveryNFrames              5               //Poll input only every this many frames
+
+#if CONF_GUI
+#include "osso.h"
 #define kPollOssoEveryNFrames  10              //Poll dbus only every this many frames
+#endif
 
 #define TRACE printf("trace: %s:%s\n", __FILE__, __func__);
 #define DIE(format, ...) do { \