mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-30 21:32:50 +00:00
PPU: Rename new ppu_use_nj_bit setting to flip it back
Some mistakes were made.
This commit is contained in:
parent
22240777aa
commit
5b980b99a0
@ -58,7 +58,7 @@ struct cfg_root : cfg::node
|
|||||||
cfg::_bool ppu_llvm_nj_fixup{ this, "PPU LLVM Java Mode Handling", true }; // Partially respect current Java Mode for alti-vec ops by PPU LLVM
|
cfg::_bool ppu_llvm_nj_fixup{ this, "PPU LLVM Java Mode Handling", true }; // Partially respect current Java Mode for alti-vec ops by PPU LLVM
|
||||||
cfg::_bool use_accurate_dfma{ this, "Use Accurate DFMA", true }; // Enable accurate double-precision FMA for CPUs which do not support it natively
|
cfg::_bool use_accurate_dfma{ this, "Use Accurate DFMA", true }; // Enable accurate double-precision FMA for CPUs which do not support it natively
|
||||||
cfg::_bool ppu_set_sat_bit{ this, "PPU Set Saturation Bit", false }; // Accuracy. If unset, completely disable saturation flag handling.
|
cfg::_bool ppu_set_sat_bit{ this, "PPU Set Saturation Bit", false }; // Accuracy. If unset, completely disable saturation flag handling.
|
||||||
cfg::_bool ppu_use_nj_bit{ this, "PPU Use Non-Java Mode Bit", false }; // Accuracy. If unset, ignore NJ flag completely.
|
cfg::_bool ppu_use_nj_bit{ this, "PPU Accurate Non-Java Mode", false }; // Accuracy. If set, accurately emulate NJ flag. Implies NJ fixup.
|
||||||
cfg::_bool ppu_fix_vnan{ this, "PPU Fixup Vector NaN Values", false }; // Accuracy. Partial.
|
cfg::_bool ppu_fix_vnan{ this, "PPU Fixup Vector NaN Values", false }; // Accuracy. Partial.
|
||||||
cfg::_bool ppu_set_vnan{ this, "PPU Accurate Vector NaN Values", false }; // Accuracy. Implies ppu_fix_vnan.
|
cfg::_bool ppu_set_vnan{ this, "PPU Accurate Vector NaN Values", false }; // Accuracy. Implies ppu_fix_vnan.
|
||||||
cfg::_bool ppu_set_fpcc{ this, "PPU Set FPCC Bits", false }; // Accuracy.
|
cfg::_bool ppu_set_fpcc{ this, "PPU Set FPCC Bits", false }; // Accuracy.
|
||||||
|
@ -199,7 +199,7 @@ inline static const QMap<emu_settings_type, cfg_location> settings_location =
|
|||||||
{ emu_settings_type::PPUNJFixup, { "Core", "PPU LLVM Java Mode Handling"}},
|
{ emu_settings_type::PPUNJFixup, { "Core", "PPU LLVM Java Mode Handling"}},
|
||||||
{ emu_settings_type::AccurateDFMA, { "Core", "Use Accurate DFMA"}},
|
{ emu_settings_type::AccurateDFMA, { "Core", "Use Accurate DFMA"}},
|
||||||
{ emu_settings_type::AccuratePPUSAT, { "Core", "PPU Set Saturation Bit"}},
|
{ emu_settings_type::AccuratePPUSAT, { "Core", "PPU Set Saturation Bit"}},
|
||||||
{ emu_settings_type::AccuratePPUNJ, { "Core", "PPU Use Non-Java Mode Bit"}},
|
{ emu_settings_type::AccuratePPUNJ, { "Core", "PPU Accurate Non-Java Mode"}},
|
||||||
{ emu_settings_type::FixupPPUVNAN, { "Core", "PPU Fixup Vector NaN Values"}},
|
{ emu_settings_type::FixupPPUVNAN, { "Core", "PPU Fixup Vector NaN Values"}},
|
||||||
{ emu_settings_type::AccuratePPUVNAN, { "Core", "PPU Accurate Vector NaN Values"}},
|
{ emu_settings_type::AccuratePPUVNAN, { "Core", "PPU Accurate Vector NaN Values"}},
|
||||||
{ emu_settings_type::AccuratePPUFPCC, { "Core", "PPU Set FPCC Bits"}},
|
{ emu_settings_type::AccuratePPUFPCC, { "Core", "PPU Set FPCC Bits"}},
|
||||||
|
@ -330,6 +330,28 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> gui_settings, std
|
|||||||
|
|
||||||
m_emu_settings->EnhanceRadioButton(ppu_bg, emu_settings_type::PPUDecoder);
|
m_emu_settings->EnhanceRadioButton(ppu_bg, emu_settings_type::PPUDecoder);
|
||||||
|
|
||||||
|
connect(ppu_bg, &QButtonGroup::idToggled, [this](int id, bool checked)
|
||||||
|
{
|
||||||
|
if (!checked) return;
|
||||||
|
|
||||||
|
switch (id)
|
||||||
|
{
|
||||||
|
case static_cast<int>(ppu_decoder_type::_static):
|
||||||
|
ui->accuratePPUFPCC->setEnabled(true);
|
||||||
|
ui->accuratePPUNJ->setEnabled(true);
|
||||||
|
ui->accuratePPUVNAN->setEnabled(true);
|
||||||
|
break;
|
||||||
|
case static_cast<int>(ppu_decoder_type::dynamic):
|
||||||
|
case static_cast<int>(ppu_decoder_type::llvm):
|
||||||
|
ui->accuratePPUFPCC->setEnabled(false);
|
||||||
|
ui->accuratePPUNJ->setEnabled(false);
|
||||||
|
ui->accuratePPUVNAN->setEnabled(false);
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
// SPU tool tips
|
// SPU tool tips
|
||||||
SubscribeTooltip(ui->spu__static, tooltips.settings.spu__static);
|
SubscribeTooltip(ui->spu__static, tooltips.settings.spu__static);
|
||||||
SubscribeTooltip(ui->spu_dynamic, tooltips.settings.spu_dynamic);
|
SubscribeTooltip(ui->spu_dynamic, tooltips.settings.spu_dynamic);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user