mirror of
https://github.com/optiscaler/OptiScaler.git
synced 2026-09-25 06:45:52 +00:00
Merge branch 'v0.9' of https://github.com/optiscaler/OptiScaler into v0.9
This commit is contained in:
@@ -75,10 +75,19 @@ static std::vector<std::string> splashText = { "May the coping commence...",
|
||||
"Thanks nitec, back to you nitec",
|
||||
"Tested and approved by By-U",
|
||||
"0.8 was an inside job",
|
||||
"<Your funny text goes here>",
|
||||
"FSR4 DP4a wenETA, AMD plz",
|
||||
"OptiCopers, assemble!",
|
||||
"The Way It's Meant To Be Upscaled" };
|
||||
"The Way It's Meant To Be Upscaled",
|
||||
"Your game may even not crash today",
|
||||
"Expanded and Enhanced",
|
||||
"It's only my 5th crash today",
|
||||
"Latency with FG? But I have good internet",
|
||||
"Console peasants can't do that",
|
||||
"Hope you don't have a good eyesight",
|
||||
"Such an aggressive upscaling? A bold move",
|
||||
"I almost don't feel the input lag",
|
||||
"And that's how you get to 60 FPS",
|
||||
"<Your funny text goes here>" };
|
||||
|
||||
void MenuCommon::ShowTooltip(const char* tip)
|
||||
{
|
||||
@@ -3052,23 +3061,30 @@ bool MenuCommon::RenderMenu()
|
||||
}
|
||||
|
||||
auto fgOutput = reinterpret_cast<IFGFeature_Dx12*>(State::Instance().currentFG);
|
||||
if (fgOutput && Config::Instance()->FGXeFGDepthInverted.value_or_default() !=
|
||||
fgOutput->IsInvertedDepth() ||
|
||||
Config::Instance()->FGXeFGJitteredMV.value_or_default() != fgOutput->IsJitteredMVs() ||
|
||||
Config::Instance()->FGXeFGHighResMV.value_or_default() == fgOutput->IsLowResMV())
|
||||
const bool restartNeeded =
|
||||
fgOutput &&
|
||||
(Config::Instance()->FGXeFGDepthInverted.value_or_default() !=
|
||||
fgOutput->IsInvertedDepth() ||
|
||||
Config::Instance()->FGXeFGJitteredMV.value_or_default() != fgOutput->IsJitteredMVs() ||
|
||||
Config::Instance()->FGXeFGHighResMV.value_or_default() == fgOutput->IsLowResMV());
|
||||
|
||||
if (restartNeeded)
|
||||
{
|
||||
ImGui::TextColored(ImVec4(1.f, 0.8f, 0.f, 1.f),
|
||||
"Restart the game to apply correct XeFG settings");
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!correctMVs)
|
||||
ImGui::TextColored(ImVec4(1.f, 0.f, 0.f, 1.f),
|
||||
"Requires disabling dilated motion vectors");
|
||||
|
||||
if (!correctMVs)
|
||||
ImGui::TextColored(ImVec4(1.f, 0.f, 0.f, 1.f), "Requires disabling dilated motion vectors");
|
||||
if (State::Instance().SCExclusiveFullscreen)
|
||||
ImGui::TextColored(ImVec4(1.f, 0.f, 0.f, 1.f), "Borderless display mode required");
|
||||
|
||||
if (State::Instance().SCExclusiveFullscreen)
|
||||
ImGui::TextColored(ImVec4(1.f, 0.f, 0.f, 1.f), "Borderless display mode required");
|
||||
|
||||
if (State::Instance().isHdrActive)
|
||||
ImGui::TextColored(ImVec4(1.0f, 0.647f, 0.0f, 1.f), "XeFG only supports HDR10");
|
||||
if (State::Instance().isHdrActive)
|
||||
ImGui::TextColored(ImVec4(1.0f, 0.647f, 0.0f, 1.f), "XeFG only supports HDR10");
|
||||
}
|
||||
|
||||
ImGui::BeginDisabled(!correctMVs || State::Instance().SCExclusiveFullscreen);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user