Add fallback mode config

This commit is contained in:
Yukino Song
2024-09-19 08:51:01 +08:00
parent f8c57be702
commit 2c3a08574b
8 changed files with 56 additions and 16 deletions

View File

@@ -223,7 +223,7 @@ namespace proc {
std::wstring currentPrimaryDisplayName = VDISPLAY::getPrimaryDisplay();
// When launched through config ui, don't change display settings
// Don't change display settings when no params are given
if (launch_session->width && launch_session->height && launch_session->fps) {
// Apply display settings
VDISPLAY::changeDisplaySettings(vdisplayName.c_str(), render_width, render_height, launch_session->fps);