hmd2: initialize a virtual headset with --vr

Inspired by https://github.com/KytyPS5/KytyPS5/pull/607

Co-authored-by: BlackCAT <52720489+psnwd@users.noreply.github.com>
This commit is contained in:
nmzik
2026-09-14 07:15:37 +04:00
parent bbebb6419b
commit 1133272668
5 changed files with 112 additions and 0 deletions
+4
View File
@@ -55,6 +55,10 @@ bool FullscreenEnabled() {
return g_config->fullscreen_enabled;
}
bool VrEnabled() {
return g_config->vr_enabled;
}
uint32_t GetVblankFrequency() {
return std::clamp(g_config->vblank_frequency, 30u, 360u);
}