mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
dbf6b38a2e
commit
77b9f2c15e
|
@ -556,6 +556,9 @@ AppConfig::AppConfig()
|
||||||
{
|
{
|
||||||
Mcd[slot].Enabled = !FileMcd_IsMultitapSlot(slot); // enables main 2 slots
|
Mcd[slot].Enabled = !FileMcd_IsMultitapSlot(slot); // enables main 2 slots
|
||||||
Mcd[slot].Filename = FileMcd_GetDefaultName( slot );
|
Mcd[slot].Filename = FileMcd_GetDefaultName( slot );
|
||||||
|
|
||||||
|
// Folder memory card is autodetected later.
|
||||||
|
Mcd[slot].Type = MemoryCardType::MemoryCard_File;
|
||||||
}
|
}
|
||||||
|
|
||||||
GzipIsoIndexTemplate = L"$(f).pindex.tmp";
|
GzipIsoIndexTemplate = L"$(f).pindex.tmp";
|
||||||
|
|
Loading…
Reference in New Issue