Fix memcard2 still detected by games when its supposed to be disabled
[pcsx_rearmed.git] / libpcsxcore / sio.c
index d251fa7..c2390bf 100644 (file)
@@ -423,6 +423,12 @@ void LoadMcd(int mcd, char *str) {
        }
 
        McdDisable[mcd - 1] = 0;
+#ifdef HAVE_LIBRETRO
+       // memcard1 is handled by libretro
+       if (mcd == 1)
+               return;
+#endif
+
        if (str == NULL || strcmp(str, "none") == 0) {
                McdDisable[mcd - 1] = 1;
                return;