memcpy(svp->iram_rom + 0x800, Pico.rom + 0x800, 0x20000 - 0x800);
ssp1601_reset(&svp->ssp1601);
-#ifdef __arm__
+#ifdef _SVP_DRC
if ((PicoOpt&POPT_EN_SVP_DRC) && svp_dyn_ready)
ssp1601_dyn_reset(&svp->ssp1601);
#endif
delay_lines = 0;
#endif
-#ifdef __arm__
+#ifdef _SVP_DRC
if ((PicoOpt&POPT_EN_SVP_DRC) && svp_dyn_ready)
ssp1601_dyn_run(PicoSVPCycles * count);
else
void PicoSVPInit(void)
{
-#ifdef __arm__
+#ifdef _SVP_DRC
// this is to unmap tcache and make
// mem available for large ROMs, MCD, etc.
drc_cmn_cleanup();
static void PicoSVPExit(void)
{
-#ifdef __arm__
+#ifdef _SVP_DRC
ssp1601_dyn_exit();
#endif
}
// init SVP compiler
svp_dyn_ready = 0;
-#ifdef __arm__
+#ifdef _SVP_DRC
if (PicoOpt & POPT_EN_SVP_DRC) {
if (ssp1601_dyn_startup())
return;
SRCS_COMMON += $(R)pico/carthw/svp/svp.c $(R)pico/carthw/svp/memory.c \
$(R)pico/carthw/svp/ssp16.c
ifeq "$(use_svpdrc)" "1"
+DEFINES += _SVP_DRC
SRCS_COMMON += $(R)pico/carthw/svp/stub_arm.S
SRCS_COMMON += $(R)pico/carthw/svp/compiler.c
endif