X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2Fcarthw%2Fsvp%2Fsvp.c;h=76904ae1c89a5114cd0ac3bb61ef66eb4c773a84;hb=c18edb34e6708b399c6bfee8dac7b21a62988643;hp=d1e7f8f204d8904c8fcd2e534147a320f3563351;hpb=679af8a3f466a2a4a20f58e4181a231fb73e9836;p=picodrive.git diff --git a/pico/carthw/svp/svp.c b/pico/carthw/svp/svp.c index d1e7f8f..76904ae 100644 --- a/pico/carthw/svp/svp.c +++ b/pico/carthw/svp/svp.c @@ -7,6 +7,7 @@ #include "../../pico_int.h" +#include "../../cpu/drc/cmn.h" #include "compiler.h" svp_t *svp = NULL; @@ -97,6 +98,11 @@ static int PicoSVPDma(unsigned int source, int len, unsigned short **srcp, unsig void PicoSVPInit(void) { +#ifndef PSP + // this is to unmap tcache and make + // mem available for large ROMs, MCD, etc. + drc_cmn_cleanup(); +#endif } static void PicoSVPExit(void)