Refresh rate: don't programmatically set configuration, detect VR instead

This commit is contained in:
Nabile Rahmani committed 2024-07-14 04:47:26 +02:00
1 parent 1aec09a056
commit 273f4cce31
2 files changed
+8 -6

No files matched your search

-1
View File
@@ -684,7 +684,6 @@ bool StartVRRender() {
vrCompat[VR_COMPAT_SKYPLANE] = PSP_CoreParameter().compat.vrCompat().Skyplane;
// Set customizations
g_Config.iDisplayRefreshRate = g_Config.bForce72Hz ? 72 : 60;
VR_SetConfigFloat(VR_CONFIG_CANVAS_DISTANCE, vrScene && (appMode == VR_GAME_MODE) ? g_Config.fCanvas3DDistance : g_Config.fCanvasDistance);
VR_SetConfig(VR_CONFIG_PASSTHROUGH, g_Config.bPassthrough);
return true;