Add debug console mode to settings

This commit is contained in:
msuih 2019-01-04 20:37:43 +02:00 committed by Ivan
parent d4a24433e8
commit 987b607cb0
4 changed files with 13 additions and 0 deletions

View File

@ -50,6 +50,7 @@
"accurateGETLLAR": "Never use this.",
"accuratePUTLLUC": "Never use this.",
"hookStFunc": "Allows to hook some functions like 'memcpy' replacing them with high-level implementations. May do nothing or break things. Experimental.",
"debugConsoleMode": "Increases the amount of usable system memory to match a DECR console and more.\nCauses some software to behave differently than on retail hardware.",
"readColor": "Never use this.",
"dumpDepth": "Never use this.",
"readDepth": "Never use this.",

View File

@ -46,6 +46,7 @@ public:
SPUBlockSize,
SPUCache,
SPUVerification,
DebugConsoleMode,
// Graphics
Renderer,
@ -254,6 +255,7 @@ private:
{ SPUBlockSize, { "Core", "SPU Block Size"}},
{ SPUCache, { "Core", "SPU Cache"}},
{ SPUVerification, { "Core", "SPU Verification"}},
{ DebugConsoleMode, { "Core", "Debug Console Mode"}},
// Graphics Tab
{ Renderer, { "Video", "Renderer"}},

View File

@ -1304,6 +1304,9 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> guiSettings, std:
xemu_settings->EnhanceCheckBox(ui->hookStFunc, emu_settings::HookStaticFuncs);
SubscribeTooltip(ui->hookStFunc, json_debug["hookStFunc"].toString());
xemu_settings->EnhanceCheckBox(ui->debugConsoleMode, emu_settings::DebugConsoleMode);
SubscribeTooltip(ui->debugConsoleMode, json_debug["debugConsoleMode"].toString());
// Layout fix for High Dpi
layout()->setSizeConstraint(QLayout::SetFixedSize);
}

View File

@ -2316,6 +2316,13 @@
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="debugConsoleMode">
<property name="text">
<string>Debug Console Mode</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">