diff --git a/rpcs3/rpcs3qt/emu_settings_type.h b/rpcs3/rpcs3qt/emu_settings_type.h index 9eec1956ed..a038fa8c84 100644 --- a/rpcs3/rpcs3qt/emu_settings_type.h +++ b/rpcs3/rpcs3qt/emu_settings_type.h @@ -200,6 +200,7 @@ enum class emu_settings_type KeyboardType, EnterButtonAssignment, EnableHostRoot, + EmptyHdd0Tmp, LimitCacheSize, MaximumCacheSize, ConsoleTimeOffset, @@ -399,6 +400,7 @@ inline static const std::map settings_location { emu_settings_type::KeyboardType, { "System", "Keyboard Type"} }, { emu_settings_type::EnterButtonAssignment, { "System", "Enter button assignment"}}, { emu_settings_type::EnableHostRoot, { "VFS", "Enable /host_root/"}}, + { emu_settings_type::EmptyHdd0Tmp, { "VFS", "Empty /dev_hdd0/tmp/"}}, { emu_settings_type::LimitCacheSize, { "VFS", "Limit disk cache size"}}, { emu_settings_type::MaximumCacheSize, { "VFS", "Disk cache maximum size (MB)"}}, { emu_settings_type::ConsoleTimeOffset, { "System", "Console time offset (s)"}}, diff --git a/rpcs3/rpcs3qt/settings_dialog.cpp b/rpcs3/rpcs3qt/settings_dialog.cpp index 6d17c7e9a5..399e4b72df 100644 --- a/rpcs3/rpcs3qt/settings_dialog.cpp +++ b/rpcs3/rpcs3qt/settings_dialog.cpp @@ -1428,6 +1428,9 @@ settings_dialog::settings_dialog(std::shared_ptr gui_settings, std m_emu_settings->EnhanceCheckBox(ui->enableHostRoot, emu_settings_type::EnableHostRoot); SubscribeTooltip(ui->enableHostRoot, tooltips.settings.enable_host_root); + m_emu_settings->EnhanceCheckBox(ui->emptyHdd0Tmp, emu_settings_type::EmptyHdd0Tmp); + SubscribeTooltip(ui->emptyHdd0Tmp, tooltips.settings.empty_hdd0_tmp); + m_emu_settings->EnhanceCheckBox(ui->enableCacheClearing, emu_settings_type::LimitCacheSize); SubscribeTooltip(ui->gb_DiskCacheClearing, tooltips.settings.limit_cache_size); if (game) diff --git a/rpcs3/rpcs3qt/settings_dialog.ui b/rpcs3/rpcs3qt/settings_dialog.ui index 66b3b32088..7f70c304aa 100644 --- a/rpcs3/rpcs3qt/settings_dialog.ui +++ b/rpcs3/rpcs3qt/settings_dialog.ui @@ -1900,206 +1900,237 @@ System - + - + - - - Console Language - - - - - - - - - - - - Keyboard Type - - - - - - - - - - - - Homebrew - - - - - - Enable /host_root/ - - - - - - - - - - - - - - Console Region - - - - - - - - - - - - Console Time - - - - + + + + + Console Language + + - - - - 10 - 0 - - - - Qt::LayoutDirection::LeftToRight - - - false - - - true - - - Qt::AlignmentFlag::AlignCenter - - - false - - - QAbstractSpinBox::ButtonSymbols::UpDownArrows - - - true - - - false - - - true + + + + + + + + + Console Region + + + + + + + + + + + + Enter Button Assignment + + + + + + Enter with the Circle button - + - Set to Now + Enter with the Cross button - - - + + + + + + Disk Cache + + + + + + Clear cache automatically + + + + + + + Cache size: 3072 MB + + + + + + + 512 + + + Qt::Orientation::Horizontal + + + QSlider::TickPosition::TicksBelow + + + 1024 + + + + + + + + + + Qt::Orientation::Vertical + + + + 0 + 0 + + + + + - - - - - - - - - - Enter Button Assignment - - - - - - Enter with the Circle button - - - - - - - Enter with the Cross button - - - - - + + + + + Keyboard Type + + + + + + + + + + + + Console Time + + + + + + + + + 10 + 0 + + + + Qt::LayoutDirection::LeftToRight + + + false + + + true + + + Qt::AlignmentFlag::AlignCenter + + + false + + + QAbstractSpinBox::ButtonSymbols::UpDownArrows + + + true + + + false + + + true + + + + + + + Set to Now + + + + + + + + + + + + Qt::Orientation::Vertical + + + + 0 + 0 + + + + + - - - - - - - - - - - - - Disk Cache - - - - - - Clear cache automatically - - - - - - - Cache size: 3072 MB - - - - - - - 512 - - - Qt::Orientation::Horizontal - - - QSlider::TickPosition::TicksBelow - - - 1024 - - - - - - - - - - - + + + + + Homebrew + + + + + + Enable /host_root/ + + + + + + + Empty /dev_hdd0/tmp/ + + + + + + + + + + Qt::Orientation::Vertical + + + + 0 + 0 + + + + + diff --git a/rpcs3/rpcs3qt/tooltips.h b/rpcs3/rpcs3qt/tooltips.h index c6bfa15cf7..d9576fb591 100644 --- a/rpcs3/rpcs3qt/tooltips.h +++ b/rpcs3/rpcs3qt/tooltips.h @@ -260,7 +260,8 @@ public: const QString system_language = tr("Some games may fail to boot if the system language is not available in the game itself.\nOther games will switch language automatically to what is selected here.\nIt is recommended leaving this on a language supported by the game."); const QString keyboard_type = tr("Sets the used keyboard layout.\nCurrently only US, Japanese and German layouts are fully supported at this moment."); const QString enter_button_assignment = tr("The button used for enter/accept/confirm in system dialogs.\nChange this to use the Circle button instead, which is the default configuration on Japanese systems and in many Japanese games.\nIn these cases having the cross button assigned can often lead to confusion."); - const QString enable_host_root = tr("Required for some Homebrew.\nIf unsure, don't use this option."); + const QString enable_host_root = tr("Required for some Homebrew.\nIf unsure, do not use this option."); + const QString empty_hdd0_tmp = tr("Required for some Homebrew or Game Mods.\nIf unsure, do not use this option"); const QString limit_cache_size = tr("Automatically removes older files from disk cache on boot if it grows larger than the specified value.\nGames can use the cache folder to temporarily store data outside of system memory. It is not used for long-term storage.\n\nThis setting is only available in the global configuration."); const QString console_time_offset = tr("Sets the time to be used within the console. This will be applied as an offset that tracks wall clock time.\nCan be reset to current wall clock time by clicking \"Set to Now\"."); } settings;