mirror of https://github.com/PCSX2/pcsx2.git
gsdx-d3d11/gui: Move the nvidia hack toggle to Disable Safe Features.
With the sprite hack removed it was no longer possible to toggle this hack on nvidia gpus, the toggle has been moved to Disable Safe Features. It some issues caused by the hack in sotc, fatal frame and border offset issues.
This commit is contained in:
parent
61b984a6c1
commit
9401e52b08
|
@ -227,9 +227,9 @@ bool GSDevice11::Create(const std::shared_ptr<GSWnd> &wnd)
|
||||||
}
|
}
|
||||||
|
|
||||||
{ // HACK: check nVIDIA
|
{ // HACK: check nVIDIA
|
||||||
// Note: It can cause Horizontal black stripes on Fatal Frame games on Nvidia gpu,
|
// Note: It can cause issues on several games such as SOTC, Fatal Frame, plus it adds border offset.
|
||||||
// better use opengl to avoid issue.
|
bool disale_safe_features = theApp.GetConfigB("UserHacks") && theApp.GetConfigB("UserHacks_Disable_Safe_Features");
|
||||||
m_hack_topleft_offset = (m_upscale_multiplier != 1 && nvidia_vendor) ? -0.01f : 0.0f;
|
m_hack_topleft_offset = (m_upscale_multiplier != 1 && nvidia_vendor && !disale_safe_features) ? -0.01f : 0.0f;
|
||||||
}
|
}
|
||||||
|
|
||||||
// debug
|
// debug
|
||||||
|
|
|
@ -151,7 +151,9 @@ const char* dialog_message(int ID, bool* updateText) {
|
||||||
"Disables accurate Unscale Point and Line rendering.\n"
|
"Disables accurate Unscale Point and Line rendering.\n"
|
||||||
"It can help Xenosaga games.\n\n"
|
"It can help Xenosaga games.\n\n"
|
||||||
"Disables accurate GS Memory Clearing to be done on the CPU, and let only the GPU handle it.\n"
|
"Disables accurate GS Memory Clearing to be done on the CPU, and let only the GPU handle it.\n"
|
||||||
"It can help Kingdom Hearts games.";
|
"It can help Kingdom Hearts games.\n\n"
|
||||||
|
"Disables special Nvidia hack.\n"
|
||||||
|
"It can help SOTC, Fatal Frame games and possibly others too.";
|
||||||
case IDC_MEMORY_WRAPPING:
|
case IDC_MEMORY_WRAPPING:
|
||||||
return "Emulates GS memory wrapping accurately. This fixes issues where part of the image is cut-off by block shaped sections such as the FMVs in Wallace & Gromit: The Curse of the Were-Rabbit and Thrillville.\n\n"
|
return "Emulates GS memory wrapping accurately. This fixes issues where part of the image is cut-off by block shaped sections such as the FMVs in Wallace & Gromit: The Curse of the Were-Rabbit and Thrillville.\n\n"
|
||||||
"Note: This hack can have a small impact on performance.";
|
"Note: This hack can have a small impact on performance.";
|
||||||
|
|
Loading…
Reference in New Issue