mirror of
https://github.com/optiscaler/OptiScaler.git
synced 2026-05-06 01:30:44 +00:00
Lock output to Nukem's when input is Nukem's
This commit is contained in:
@@ -20,6 +20,7 @@ VulkanUpscaler=auto
|
||||
; -------------------------------------------------------
|
||||
; Select the FG type to be used
|
||||
; optifg - requires amd_fidelityfx_dx12.dll, upscaler inputs used for FSR FG
|
||||
; requires libxess_fg.dll, libxell.dll and latest fakenvapi dll, upscaler inputs used for XeFG
|
||||
; nukems - requires dlssg_to_fsr3_amd_is_better.dll, AMD/Intel GPU users need to add fakenvapi as well
|
||||
; nofg, optifg, nukems - Default (auto) is nofg
|
||||
FGType=auto
|
||||
|
||||
@@ -100,12 +100,16 @@ bool Config::Reload(std::filesystem::path iniPath)
|
||||
else if (lstrcmpiA(FGInputString.value().c_str(), "upscaler") == 0)
|
||||
FGInput.set_from_config(FGInput::Upscaler);
|
||||
else if (lstrcmpiA(FGInputString.value().c_str(), "nukems") == 0)
|
||||
{
|
||||
FGInput.set_from_config(FGInput::Nukems);
|
||||
FGOutput.set_from_config(FGOutput::Nukems);
|
||||
}
|
||||
else if (lstrcmpiA(FGInputString.value().c_str(), "dlssg") == 0)
|
||||
FGInput.set_from_config(FGInput::DLSSG);
|
||||
}
|
||||
|
||||
if (auto FGOutputString = readString("FrameGen", "FGOutput"); FGOutputString.has_value())
|
||||
if (auto FGOutputString = readString("FrameGen", "FGOutput");
|
||||
FGInput.value_or_default() != FGInput::Nukems && FGOutputString.has_value())
|
||||
{
|
||||
if (lstrcmpiA(FGOutputString.value().c_str(), "nofg") == 0)
|
||||
FGOutput.set_from_config(FGOutput::NoFG);
|
||||
|
||||
Reference in New Issue
Block a user