linux port fixed; some cleanups
[picodrive.git] / platform / pandora / emu.c
index 3b9e62c..85c634f 100644 (file)
@@ -19,7 +19,6 @@
 #include "../common/emu.h"\r
 #include "../common/menu.h"\r
 #include "../common/config.h"\r
-#include "../common/common.h"\r
 #include "../common/input.h"\r
 #include "../linux/sndout_oss.h"\r
 #include "asm_utils.h"\r
@@ -40,8 +39,6 @@
 #endif\r
 \r
 \r
-int select_exits = 0;\r
-\r
 static short __attribute__((aligned(4))) sndBuffer[2*44100/50];\r
 static struct timeval noticeMsgTime = { 0, 0 };        // when started showing\r
 static int osd_fps_x;\r
@@ -171,7 +168,7 @@ static void textOut16(int x, int y, const char *text)
 }\r
 \r
 \r
-void osd_text(int x, int y, const char *text)\r
+static void osd_text(int x, int y, const char *text)\r
 {\r
        int len = strlen(text)*8;\r
 \r
@@ -782,7 +779,6 @@ void emu_Loop(void)
        vidResetMode();\r
        Pico.m.dirtyPal = 1;\r
        oldmodes = ((Pico.video.reg[12]&1)<<2) ^ 0xc;\r
-       emu_findKeyBindCombos();\r
 \r
        // pal/ntsc might have changed, reset related stuff\r
        target_fps = Pico.m.pal ? 50 : 60;\r