diff --git a/Source/Core/DolphinQt/GCMemcardCreateNewDialog.cpp b/Source/Core/DolphinQt/GCMemcardCreateNewDialog.cpp index b54766d157..07f8ba454c 100644 --- a/Source/Core/DolphinQt/GCMemcardCreateNewDialog.cpp +++ b/Source/Core/DolphinQt/GCMemcardCreateNewDialog.cpp @@ -77,10 +77,9 @@ bool GCMemcardCreateNewDialog::CreateCard() if (path.isEmpty()) return false; - // TODO: The dependency on g_SRAM here is sketchy. We should instead use sensible default values. - const CardFlashId& flash_id = g_SRAM.settings_ex.flash_id[Memcard::SLOT_A]; - const u32 rtc_bias = g_SRAM.settings.rtc_bias; - const u32 sram_language = static_cast(g_SRAM.settings.language); + const CardFlashId flash_id{}; + const u32 rtc_bias = 0; + const u32 sram_language = 0; const u64 format_time = Common::Timer::GetLocalTimeSinceJan1970() - ExpansionInterface::CEXIIPL::GC_EPOCH;