strcpy(Config.Pad1, "builtin_pad");
strcpy(Config.Pad2, "builtin_pad");
strcpy(Config.Net, "Disabled");
+#if defined(__arm__) && !defined(__ARM_ARCH_7A__) /* XXX */
+ strcpy(Config.Gpu, "gpuPCSX4ALL.so");
+#endif
Config.PsxAuto = 1;
snprintf(Config.PatchesDir, sizeof(Config.PatchesDir), "." PATCHES_DIR);
iXAPitch = 0;
iSPUIRQWait = 1;
iUseTimer = 2;
+#ifndef __ARM_ARCH_7A__ /* XXX */
+ iUseReverb = 0;
+#endif
menu_sync_config();
}
#include "main.h"
#include "menu.h"
#include "plat.h"
+#include "pcnt.h"
static int fbdev = -1, memdev = -1, battdev = -1;
static volatile unsigned short *memregs;
int i;
warm_cache_op_all(WOP_D_CLEAN);
+ pcnt_start(PCNT_BLIT);
dst &= ~7;
len &= ~7;
g_menuscreen_ptr = fb_flip();
pl_flip_cnt++;
+
+ pcnt_end(PCNT_BLIT);
}
static void raw_flip_soft(int x, int y)
int seen_dead = 0;
int sleep_time = 5;
-#ifndef NDEBUG
+#if !defined(NDEBUG) || defined(DRC_DBG)
// don't interfere with debug
return NULL;
#endif
#define PCSX 1
#define RAM_SIZE 0x200000
+#ifndef __ARM_ARCH_7A__
+#define ARMv5_ONLY
+//#undef CORTEX_A8_BRANCH_PREDICTION_HACK
+//#undef USE_MINI_HT
+#endif
+
#ifdef FORCE32
#define REG_SHIFT 2
#else
gte_handlers[0x30] = gte_handlers_nf[0x30] = gteRTPT_neon;
gte_handlers[0x12] = gte_handlers_nf[0x12] = gteMVMVA_neon;
#endif
+#endif
+#ifdef DRC_DBG
+ memcpy(gte_handlers_nf, gte_handlers, sizeof(gte_handlers_nf));
#endif
psxH_ptr = psxH;
#include "new_dynarec.h"
#include "../r3000a.h"
-#ifndef __ARM_ARCH_7A__
-#define ARMv5_ONLY
-#endif
-
extern char invalid_code[0x100000];
/* weird stuff */
case 0x04: gte_rt[i]=1ll<<gr; break; // MTC2
case 0x02: gte_rs[i]=1ll<<(gr+32); // CFC2
if(gr==31&&!gte_reads_flags) {
- printf("gte flag read encountered @%08x\n",addr + i*4);
+ assem_debug("gte flag read encountered @%08x\n",addr + i*4);
gte_reads_flags=1;
}
break;