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:
lightningterror 2019-06-18 22:06:35 +02:00
parent 61b984a6c1
commit 9401e52b08
2 changed files with 6 additions and 4 deletions

View File

@ -227,9 +227,9 @@ bool GSDevice11::Create(const std::shared_ptr<GSWnd> &wnd)
}
{ // HACK: check nVIDIA
// Note: It can cause Horizontal black stripes on Fatal Frame games on Nvidia gpu,
// better use opengl to avoid issue.
m_hack_topleft_offset = (m_upscale_multiplier != 1 && nvidia_vendor) ? -0.01f : 0.0f;
// Note: It can cause issues on several games such as SOTC, Fatal Frame, plus it adds border offset.
bool disale_safe_features = theApp.GetConfigB("UserHacks") && theApp.GetConfigB("UserHacks_Disable_Safe_Features");
m_hack_topleft_offset = (m_upscale_multiplier != 1 && nvidia_vendor && !disale_safe_features) ? -0.01f : 0.0f;
}
// debug

View File

@ -151,7 +151,9 @@ const char* dialog_message(int ID, bool* updateText) {
"Disables accurate Unscale Point and Line rendering.\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"
"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:
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.";