X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2Fcarthw%2Fsvp%2Fsvp.c;h=54cd401e841c3cbb7f133a6aaf23883344319a49;hb=fad248933b6676d30ccf419858b4ee10cc123fc5;hp=dd8bb5d37a020ea0ef02ea19eddf6977eeb24159;hpb=ede7220f67547138f846bff6ecb642a848b54a74;p=picodrive.git diff --git a/Pico/carthw/svp/svp.c b/Pico/carthw/svp/svp.c index dd8bb5d..54cd401 100644 --- a/Pico/carthw/svp/svp.c +++ b/Pico/carthw/svp/svp.c @@ -26,7 +26,7 @@ static carthw_state_chunk svp_states[] = { { CHUNK_IRAM, 0x800, NULL }, { CHUNK_DRAM, sizeof(svp->dram), NULL }, - { CHUNK_SSP, sizeof(svp->ssp1601), NULL }, + { CHUNK_SSP, sizeof(svp->ssp1601) - sizeof(svp->ssp1601.drc), NULL }, { 0, 0, NULL } }; @@ -111,6 +111,7 @@ void PicoSVPStartup(void) return; } + //PicoOpt |= 0x20000; Pico.rom = tmp; svp = (void *) ((char *)tmp + 0x200000); memset(svp, 0, sizeof(*svp));