FAME integration finished, some adjustments of CPU core stuff
[picodrive.git] / Pico / cd / Area.c
index ea4220e..1dd6fc4 100644 (file)
@@ -42,6 +42,7 @@ typedef enum {
 
 
 static char *chunk_names[] = {
+       "INVALID!",
        "Saving.. M68K state",
        "Saving.. RAM",
        "Saving.. VRAM",
@@ -239,8 +240,8 @@ PICO_INTERNAL int PicoCdLoadState(void *file)
        /* after load events */
        if (Pico_mcd->s68k_regs[3]&4) // 1M mode?
                wram_2M_to_1M(Pico_mcd->word_ram2M);
-#ifdef _ASM_CD_MEMORY_C
        PicoMemResetCD(Pico_mcd->s68k_regs[3]);
+#ifdef _ASM_CD_MEMORY_C
        if (Pico_mcd->s68k_regs[3]&4)
                PicoMemResetCDdecode(Pico_mcd->s68k_regs[3]);
 #endif