use faster PSX clock on armv7 devices
authornotaz <notasas@gmail.com>
Sun, 9 Oct 2011 20:06:14 +0000 (23:06 +0300)
committernotaz <notasas@gmail.com>
Sun, 9 Oct 2011 21:25:59 +0000 (00:25 +0300)
games that were too slow run better now, but others are too fast now..
I hope this is a good tradeoff.

frontend/menu.c

index de13ad9..931468f 100644 (file)
@@ -81,8 +81,13 @@ static int psx_clock;
 static int memcard1_sel, memcard2_sel;
 int g_opts, analog_deadzone;
 
 static int memcard1_sel, memcard2_sel;
 int g_opts, analog_deadzone;
 
+#ifdef __ARM_ARCH_7A__
+#define DEFAULT_PSX_CLOCK 57
+#define DEFAULT_PSX_CLOCK_S "57"
+#else
 #define DEFAULT_PSX_CLOCK 50
 #define DEFAULT_PSX_CLOCK_S "50"
 #define DEFAULT_PSX_CLOCK 50
 #define DEFAULT_PSX_CLOCK_S "50"
+#endif
 
 // sound plugin
 extern int iUseReverb;
 
 // sound plugin
 extern int iUseReverb;