diff options
author | retro-wertz | 2019-03-10 22:19:59 +0800 |
---|---|---|
committer | retro-wertz | 2019-03-10 22:19:59 +0800 |
commit | 5bf562688e3738d347a51a72967e29836f8be65a (patch) | |
tree | c35f90191de8e557f59408e174a0465f5936b90e /libpcsxcore/sio.c | |
parent | f8983cce17260bd0c570643734bc21ebd76e26c8 (diff) | |
download | pcsx_rearmed-5bf562688e3738d347a51a72967e29836f8be65a.tar.gz pcsx_rearmed-5bf562688e3738d347a51a72967e29836f8be65a.tar.bz2 pcsx_rearmed-5bf562688e3738d347a51a72967e29836f8be65a.zip |
Fix memcard2 still detected by games when its supposed to be disabled
Diffstat (limited to 'libpcsxcore/sio.c')
-rw-r--r-- | libpcsxcore/sio.c | 6 |
1 files changed, 6 insertions, 0 deletions
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; |