X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2FArea.c;h=d8833a43f755e0393e23a1ede0241243227b1a30;hb=2cb51c3c621ed60e192e8342fdeb4225def91bd8;hp=0ec25ecc49b85415e2ec0ee3e4b0968ef84a7fa1;hpb=fad248933b6676d30ccf419858b4ee10cc123fc5;p=picodrive.git diff --git a/Pico/Area.c b/Pico/Area.c index 0ec25ec..d8833a4 100644 --- a/Pico/Area.c +++ b/Pico/Area.c @@ -138,7 +138,6 @@ static int PicoAreaScan(int PmovAction,unsigned int ver, void *PmovFile) // Pack, scan and unpack the cpu data: if((PmovAction&3)==1) PicoAreaPackCpu(cpu, 0); - //SekInit(); // notaz: do we really have to do this here? //PicoMemInit(); SCAN_VAR(cpu,"cpu") if((PmovAction&3)==2) PicoAreaUnpackCpu(cpu, 0); @@ -176,7 +175,7 @@ int PmovState(int PmovAction, void *PmovFile) int minimum=0; unsigned char head[32]; - if ((PicoMCD & 1) || carthw_chunks != NULL) + if ((PicoAHW & PAHW_MCD) || carthw_chunks != NULL) { if (PmovAction&1) return PicoCdSaveState(PmovFile); if (PmovAction&2) {