int soft_filter;
#ifndef HAVE_PRE_ARMV7
-#define DEFAULT_PSX_CLOCK 57
+#define DEFAULT_PSX_CLOCK (10000 / CYCLE_MULT_DEFAULT)
#define DEFAULT_PSX_CLOCK_S "57"
#else
#define DEFAULT_PSX_CLOCK 50
/* Internal Section is fussy about timings */
if (strcmp(CdromId, "SLPS01868") == 0)
{
- cycle_multiplier_override = 200;
+ cycle_multiplier_override = 202;
new_dynarec_hacks_pergame |= NDHACK_OVERRIDE_CYCLE_M;
}
}
#define NO_CYCLE_PENALTY_THR 12
-int cycle_multiplier; // 100 for 1.0
+int cycle_multiplier = CYCLE_MULT_DEFAULT; // 100 for 1.0
int cycle_multiplier_override;
int cycle_multiplier_old;
static int CLOCK_ADJUST(int x)
{
- int m = cycle_multiplier_override
+ int m = cycle_multiplier_override && cycle_multiplier == CYCLE_MULT_DEFAULT
? cycle_multiplier_override : cycle_multiplier;
int s=(x>>31)|1;
return (x * m + s * 50) / 100;
extern int pending_exception;
extern int stop;
extern int new_dynarec_did_compile;
+
+#define CYCLE_MULT_DEFAULT 175
extern int cycle_multiplier; // 100 for 1.0
extern int cycle_multiplier_override;
extern int cycle_multiplier_old;