mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-23 06:15:38 +00:00
HostInterface: Save tweak/hack defaults to settings file
Fixes tweak/hack defaults not displaying correctly in Qt frontend.
This commit is contained in:
parent
9d6325f828
commit
9b2740b395
|
@ -395,6 +395,11 @@ void HostInterface::SetDefaultSettings(SettingsInterface& si)
|
|||
si.SetBoolValue("Debug", "ShowSPUState", false);
|
||||
si.SetBoolValue("Debug", "ShowTimersState", false);
|
||||
si.SetBoolValue("Debug", "ShowMDECState", false);
|
||||
|
||||
si.SetIntValue("Hacks", "DMAMaxSliceTicks", static_cast<int>(Settings::DEFAULT_DMA_MAX_SLICE_TICKS));
|
||||
si.SetIntValue("Hacks", "DMAHaltTicks", static_cast<int>(Settings::DEFAULT_DMA_HALT_TICKS));
|
||||
si.SetIntValue("Hacks", "GPUFIFOSize", static_cast<int>(Settings::DEFAULT_GPU_FIFO_SIZE));
|
||||
si.SetIntValue("Hacks", "GPUMaxRunAhead", static_cast<int>(Settings::DEFAULT_GPU_MAX_RUN_AHEAD));
|
||||
}
|
||||
|
||||
void HostInterface::LoadSettings(SettingsInterface& si)
|
||||
|
|
Loading…
Reference in a new issue