From 5bf562688e3738d347a51a72967e29836f8be65a Mon Sep 17 00:00:00 2001 From: retro-wertz Date: Sun, 10 Mar 2019 22:19:59 +0800 Subject: Fix memcard2 still detected by games when its supposed to be disabled --- libpcsxcore/sio.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libpcsxcore/sio.c') diff --git a/libpcsxcore/sio.c b/libpcsxcore/sio.c index d251fa7..c2390bf 100644 --- a/libpcsxcore/sio.c +++ b/libpcsxcore/sio.c @@ -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; -- cgit v1.2.3