Qt: Move dump audio on startup out of settings
This commit is contained in:
@ -320,7 +320,6 @@ void Settings::Load(SettingsInterface& si)
|
||||
audio_fast_forward_volume = si.GetUIntValue("Audio", "FastForwardVolume", 100);
|
||||
|
||||
audio_output_muted = si.GetBoolValue("Audio", "OutputMuted", false);
|
||||
audio_dump_on_boot = si.GetBoolValue("Audio", "DumpOnBoot", false);
|
||||
|
||||
use_old_mdec_routines = si.GetBoolValue("Hacks", "UseOldMDECRoutines", false);
|
||||
pcdrv_enable = si.GetBoolValue("PCDrv", "Enabled", false);
|
||||
@ -573,7 +572,6 @@ void Settings::Save(SettingsInterface& si, bool ignore_base) const
|
||||
si.SetUIntValue("Audio", "OutputVolume", audio_output_volume);
|
||||
si.SetUIntValue("Audio", "FastForwardVolume", audio_fast_forward_volume);
|
||||
si.SetBoolValue("Audio", "OutputMuted", audio_output_muted);
|
||||
si.SetBoolValue("Audio", "DumpOnBoot", audio_dump_on_boot);
|
||||
|
||||
si.SetBoolValue("Hacks", "UseOldMDECRoutines", use_old_mdec_routines);
|
||||
|
||||
|
||||
@ -187,7 +187,6 @@ struct Settings
|
||||
u32 audio_output_volume = 100;
|
||||
u32 audio_fast_forward_volume = 100;
|
||||
bool audio_output_muted : 1 = false;
|
||||
bool audio_dump_on_boot : 1 = false;
|
||||
|
||||
bool use_old_mdec_routines : 1 = false;
|
||||
bool pcdrv_enable : 1 = false;
|
||||
|
||||
@ -1549,7 +1549,7 @@ bool System::BootSystem(SystemBootParameters parameters, Error* error)
|
||||
if (parameters.fast_forward_to_first_frame)
|
||||
FastForwardToFirstFrame();
|
||||
|
||||
if (g_settings.audio_dump_on_boot)
|
||||
if (parameters.start_audio_dump)
|
||||
StartDumpingAudio();
|
||||
|
||||
if (g_settings.start_paused || parameters.override_start_paused.value_or(false))
|
||||
|
||||
@ -56,6 +56,7 @@ struct SystemBootParameters
|
||||
bool force_software_renderer = false;
|
||||
bool fast_forward_to_first_frame = false;
|
||||
bool disable_achievements_hardcore_mode = false;
|
||||
bool start_audio_dump = false;
|
||||
};
|
||||
|
||||
struct SaveStateInfo
|
||||
|
||||
Reference in New Issue
Block a user