mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-23 14:25:37 +00:00
Warning fixes
This commit is contained in:
parent
e79dff1731
commit
1b16ba3d98
|
@ -133,7 +133,7 @@ bool GPU_HW_Vulkan::DoState(StateWrapper& sw, HostDisplayTexture** host_texture,
|
|||
{
|
||||
HostDisplayTexture* htex = *host_texture;
|
||||
if (!htex || htex->GetWidth() != m_vram_texture.GetWidth() || htex->GetHeight() != m_vram_texture.GetHeight() ||
|
||||
htex->GetSamples() != m_vram_texture.GetSamples())
|
||||
htex->GetSamples() != static_cast<u32>(m_vram_texture.GetSamples()))
|
||||
{
|
||||
delete htex;
|
||||
|
||||
|
|
|
@ -262,7 +262,7 @@ void Settings::Load(SettingsInterface& si)
|
|||
debugging.dump_cpu_to_vram_copies = si.GetBoolValue("Debug", "DumpCPUToVRAMCopies");
|
||||
debugging.dump_vram_to_cpu_copies = si.GetBoolValue("Debug", "DumpVRAMToCPUCopies");
|
||||
debugging.enable_gdb_server = si.GetBoolValue("Debug", "EnableGDBServer");
|
||||
debugging.gdb_server_port = si.GetIntValue("Debug", "GDBServerPort");
|
||||
debugging.gdb_server_port = static_cast<u16>(si.GetIntValue("Debug", "GDBServerPort"));
|
||||
debugging.show_gpu_state = si.GetBoolValue("Debug", "ShowGPUState");
|
||||
debugging.show_cdrom_state = si.GetBoolValue("Debug", "ShowCDROMState");
|
||||
debugging.show_spu_state = si.GetBoolValue("Debug", "ShowSPUState");
|
||||
|
@ -304,7 +304,7 @@ void Settings::Save(SettingsInterface& si) const
|
|||
si.SetFloatValue("Main", "RewindFrequency", rewind_save_frequency);
|
||||
si.SetIntValue("Main", "RewindSaveSlots", rewind_save_slots);
|
||||
si.SetBoolValue("Main", "RunaheadEnable", runahead_enable);
|
||||
si.SetFloatValue("Main", "RunaheadFrames", runahead_frames);
|
||||
si.SetIntValue("Main", "RunaheadFrames", runahead_frames);
|
||||
|
||||
si.SetStringValue("CPU", "ExecutionMode", GetCPUExecutionModeName(cpu_execution_mode));
|
||||
si.SetBoolValue("CPU", "OverclockEnable", cpu_overclock_enable);
|
||||
|
|
Loading…
Reference in a new issue