mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-14 02:00:15 +01:00
SPU2: Namespace logging/debugging
This commit is contained in:
1 parent
339c483a4b
commit
fe1bebc12d
35 files changed
+1167
-1793
No files matched your search
+3
-3
@@ -349,7 +349,7 @@ static double AdjustToHostRefreshRate(double vertical_frequency, double frame_li
|
||||
{
|
||||
if (!EmuConfig.GS.SyncToHostRefreshRate || EmuConfig.GS.LimitScalar != 1.0f)
|
||||
{
|
||||
SPU2SetDeviceSampleRateMultiplier(1.0);
|
||||
SPU2::SetDeviceSampleRateMultiplier(1.0);
|
||||
s_use_vsync_for_timing = false;
|
||||
return frame_limit;
|
||||
}
|
||||
@@ -358,7 +358,7 @@ static double AdjustToHostRefreshRate(double vertical_frequency, double frame_li
|
||||
if (!g_host_display->GetHostRefreshRate(&host_refresh_rate))
|
||||
{
|
||||
Console.Warning("Cannot sync to host refresh since the query failed.");
|
||||
SPU2SetDeviceSampleRateMultiplier(1.0);
|
||||
SPU2::SetDeviceSampleRateMultiplier(1.0);
|
||||
s_use_vsync_for_timing = false;
|
||||
return frame_limit;
|
||||
}
|
||||
@@ -374,7 +374,7 @@ static double AdjustToHostRefreshRate(double vertical_frequency, double frame_li
|
||||
return frame_limit;
|
||||
|
||||
frame_limit *= ratio;
|
||||
SPU2SetDeviceSampleRateMultiplier(ratio);
|
||||
SPU2::SetDeviceSampleRateMultiplier(ratio);
|
||||
return frame_limit;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user