mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-11 16:50:05 +01:00
pcsx2: Initialise g_Conf->Mcd[].Type
Fixes a valgrind warning. Folder memory cards are autodetected later, so it's safe to set it to a file memory card.
This commit is contained in:
1 parent
dbf6b38a2e
commit
77b9f2c15e
1 file changed
+3
@@ -556,6 +556,9 @@ AppConfig::AppConfig()
|
||||
{
|
||||
Mcd[slot].Enabled = !FileMcd_IsMultitapSlot(slot); // enables main 2 slots
|
||||
Mcd[slot].Filename = FileMcd_GetDefaultName( slot );
|
||||
|
||||
// Folder memory card is autodetected later.
|
||||
Mcd[slot].Type = MemoryCardType::MemoryCard_File;
|
||||
}
|
||||
|
||||
GzipIsoIndexTemplate = L"$(f).pindex.tmp";
|
||||
|
||||
Reference in new issue
Block a user