Disable GPU memory manager, memory snapshots, and NCE features

This commit disables GPU memory management, memory snapshots, and NCE
functionality by forcing these settings to false throughout the codebase.
The changes include:

- Hardcoding false values in renderer_vulkan.cpp initialization
- Disabling UI controls for these features in configuration screens
- Forcing settings to false during configuration read/write operations

These features are being disabled to improve stability and prevent
potential memory-related issues.

Signed-off-by: Zephyron <zephyron@citron-emu.org>
This commit is contained in:
Zephyron 2025-05-01 15:56:17 +10:00
parent 6c10e0034f
commit f706427815
4 changed files with 34 additions and 5 deletions

View file

@ -759,6 +759,18 @@ Widget::Widget(Settings::BasicSetting* setting_, const TranslationMap& translati
if (setting.Switchable() && Settings::IsConfiguringGlobal() && !runtime_lock) {
enable &= setting.UsingGlobal();
}
// Disable memory snapshot and hybrid memory checkboxes
if (static_cast<u32>(id) == Settings::values.use_gpu_memory_manager.Id() ||
static_cast<u32>(id) == Settings::values.enable_memory_snapshots.Id() ||
static_cast<u32>(id) == Settings::values.use_nce.Id()) {
enable = false;
// Also disable the checkbox to prevent it from being changed
if (checkbox) {
checkbox->setEnabled(false);
}
}
this->setEnabled(enable);
this->setToolTip(tooltip);