mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-23 03:02:53 +01:00
gui: don't allow cpu with fma support disable accurate path
This commit is contained in:
parent
d451a0b7b7
commit
df20410cf1
@ -931,8 +931,15 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> gui_settings, std
|
||||
m_emu_settings->EnhanceCheckBox(ui->debugConsoleMode, emu_settings_type::DebugConsoleMode);
|
||||
SubscribeTooltip(ui->debugConsoleMode, tooltips.settings.debug_console_mode);
|
||||
|
||||
m_emu_settings->EnhanceCheckBox(ui->accurateLLVMdfma, emu_settings_type::AccurateLLVMdfma);
|
||||
SubscribeTooltip(ui->accurateLLVMdfma, tooltips.settings.accurate_llvm_dfma);
|
||||
if (utils::has_fma3() || utils::has_fma4())
|
||||
{
|
||||
ui->accurateLLVMdfma->setDisabled(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
m_emu_settings->EnhanceCheckBox(ui->accurateLLVMdfma, emu_settings_type::AccurateLLVMdfma);
|
||||
SubscribeTooltip(ui->accurateLLVMdfma, tooltips.settings.accurate_llvm_dfma);
|
||||
}
|
||||
|
||||
m_emu_settings->EnhanceCheckBox(ui->silenceAllLogs, emu_settings_type::SilenceAllLogs);
|
||||
SubscribeTooltip(ui->silenceAllLogs, tooltips.settings.silence_all_logs);
|
||||
|
@ -78,7 +78,7 @@ public:
|
||||
const QString set_daz_and_ftz = tr("Never use this.");
|
||||
const QString accurate_getllar = tr("Never use this.");
|
||||
const QString accurate_putlluc = tr("Never use this.");
|
||||
const QString accurate_llvm_dfma = tr("Enables extra accuracy on FMA instructions, which can be needed by some games.\nIt can impact performance negatively on CPUs without FMA acceleration support.");
|
||||
const QString accurate_llvm_dfma = tr("Improves extra accuracy on FMA instructions' at the cost of performance.\nWhile disabling it might give a decent performance boost, it may also introduce subtle bugs that otherwise do not occur.");
|
||||
const QString accurate_rsx_access = tr("Never use this.");
|
||||
const QString hook_static_functions = tr("Allows to hook some functions like 'memcpy' replacing them with high-level implementations. May do nothing or break things. Experimental.");
|
||||
const QString gl_legacy_buffers = tr("Enables use of classic OpenGL buffers which allows capturing tools to work with RPCS3 e.g RenderDoc.\nIf unsure, don't use this option.");
|
||||
|
Loading…
Reference in New Issue
Block a user