mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-15 19:28:43 +12:00
GUI: Add PPU threads to debug tab
This commit is contained in:
parent
bbaa93c846
commit
40493c564f
4 changed files with 18 additions and 0 deletions
|
@ -29,6 +29,7 @@ enum class emu_settings_type
|
||||||
AccurateRSXAccess,
|
AccurateRSXAccess,
|
||||||
AccurateXFloat,
|
AccurateXFloat,
|
||||||
AccuratePPU128Loop,
|
AccuratePPU128Loop,
|
||||||
|
NumPPUThreads,
|
||||||
SetDAZandFTZ,
|
SetDAZandFTZ,
|
||||||
SPUBlockSize,
|
SPUBlockSize,
|
||||||
SPUCache,
|
SPUCache,
|
||||||
|
@ -193,6 +194,7 @@ inline static const QMap<emu_settings_type, cfg_location> settings_location =
|
||||||
{ emu_settings_type::AccuratePPU128Loop, { "Core", "Accurate PPU 128-byte Reservation Op Max Length"}},
|
{ emu_settings_type::AccuratePPU128Loop, { "Core", "Accurate PPU 128-byte Reservation Op Max Length"}},
|
||||||
{ emu_settings_type::PerformanceReport, { "Core", "Enable Performance Report"}},
|
{ emu_settings_type::PerformanceReport, { "Core", "Enable Performance Report"}},
|
||||||
{ emu_settings_type::FullWidthAVX512, { "Core", "Full Width AVX-512"}},
|
{ emu_settings_type::FullWidthAVX512, { "Core", "Full Width AVX-512"}},
|
||||||
|
{ emu_settings_type::NumPPUThreads, { "Core", "PPU Threads"}},
|
||||||
|
|
||||||
// Graphics Tab
|
// Graphics Tab
|
||||||
{ emu_settings_type::Renderer, { "Video", "Renderer"}},
|
{ emu_settings_type::Renderer, { "Video", "Renderer"}},
|
||||||
|
|
|
@ -1818,6 +1818,9 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> gui_settings, std
|
||||||
ui->combo_accurate_ppu_128->setItemText(ui->combo_accurate_ppu_128->findData(-1), tr("Always Enabled", "Accurate PPU 128 Reservations"));
|
ui->combo_accurate_ppu_128->setItemText(ui->combo_accurate_ppu_128->findData(-1), tr("Always Enabled", "Accurate PPU 128 Reservations"));
|
||||||
ui->combo_accurate_ppu_128->setItemText(ui->combo_accurate_ppu_128->findData(0), tr("Disabled", "Accurate PPU 128 Reservations"));
|
ui->combo_accurate_ppu_128->setItemText(ui->combo_accurate_ppu_128->findData(0), tr("Disabled", "Accurate PPU 128 Reservations"));
|
||||||
|
|
||||||
|
m_emu_settings->EnhanceComboBox(ui->combo_num_ppu_threads, emu_settings_type::NumPPUThreads, true);
|
||||||
|
SubscribeTooltip(ui->gb_num_ppu_threads, tooltips.settings.num_ppu_threads);
|
||||||
|
|
||||||
// Layout fix for High Dpi
|
// Layout fix for High Dpi
|
||||||
layout()->setSizeConstraint(QLayout::SetFixedSize);
|
layout()->setSizeConstraint(QLayout::SetFixedSize);
|
||||||
}
|
}
|
||||||
|
|
|
@ -3684,6 +3684,18 @@
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QGroupBox" name="gb_num_ppu_threads">
|
||||||
|
<property name="title">
|
||||||
|
<string>PPU Thread Count</string>
|
||||||
|
</property>
|
||||||
|
<layout class="QVBoxLayout" name="vbl_num_ppu_threads">
|
||||||
|
<item>
|
||||||
|
<widget class="QComboBox" name="combo_num_ppu_threads"/>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<spacer name="verticalSpacerDebugMore">
|
<spacer name="verticalSpacerDebugMore">
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
|
|
|
@ -101,6 +101,7 @@ public:
|
||||||
const QString enable_3d = tr("Enables 3D stereo rendering.\nNote that only anaglyph viewing is supported at the moment.");
|
const QString enable_3d = tr("Enables 3D stereo rendering.\nNote that only anaglyph viewing is supported at the moment.");
|
||||||
const QString accurate_ppu_128_loop = tr("When enabled, PPU atomic operations will operate on entire cache line data, as opposed to a single 64bit block of memory when disabled.\nNumerical values control whether or not to enable the accurate version based on the atomic operation's length.");
|
const QString accurate_ppu_128_loop = tr("When enabled, PPU atomic operations will operate on entire cache line data, as opposed to a single 64bit block of memory when disabled.\nNumerical values control whether or not to enable the accurate version based on the atomic operation's length.");
|
||||||
const QString enable_performance_report = tr("Measure certain events and print a chart after the emulator is stopped. Don't enable if not asked to.");
|
const QString enable_performance_report = tr("Measure certain events and print a chart after the emulator is stopped. Don't enable if not asked to.");
|
||||||
|
const QString num_ppu_threads = tr("Affects maximum amount of PPU threads running concurrently, the value of 1 has very low compatibility with games.\n2 is the default, if unsure do not modify this setting.");
|
||||||
|
|
||||||
// emulator
|
// emulator
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue