yuzu/configure_filesystem: Remove "Select Cache Directory" option
This tab of the settings is already extremely bloated and the setting itself is quite useless. With a gamelist of almost 30 games, the cache directory is smaller than 1MB for me and therefore I don't see why it needs to be configurable.
This commit is contained in:
parent
87a8925523
commit
8e77d331be
5 changed files with 1 additions and 57 deletions
|
@ -615,12 +615,6 @@ void Config::ReadDataStorageValues() {
|
|||
QString::fromStdString(FS::GetUserPath(FS::UserPath::DumpDir)))
|
||||
.toString()
|
||||
.toStdString());
|
||||
FS::GetUserPath(FS::UserPath::CacheDir,
|
||||
qt_config
|
||||
->value(QStringLiteral("cache_directory"),
|
||||
QString::fromStdString(FS::GetUserPath(FS::UserPath::CacheDir)))
|
||||
.toString()
|
||||
.toStdString());
|
||||
Settings::values.gamecard_inserted =
|
||||
ReadSetting(QStringLiteral("gamecard_inserted"), false).toBool();
|
||||
Settings::values.gamecard_current_game =
|
||||
|
@ -1219,9 +1213,6 @@ void Config::SaveDataStorageValues() {
|
|||
WriteSetting(QStringLiteral("dump_directory"),
|
||||
QString::fromStdString(FS::GetUserPath(FS::UserPath::DumpDir)),
|
||||
QString::fromStdString(FS::GetUserPath(FS::UserPath::DumpDir)));
|
||||
WriteSetting(QStringLiteral("cache_directory"),
|
||||
QString::fromStdString(FS::GetUserPath(FS::UserPath::CacheDir)),
|
||||
QString::fromStdString(FS::GetUserPath(FS::UserPath::CacheDir)));
|
||||
WriteSetting(QStringLiteral("gamecard_inserted"), Settings::values.gamecard_inserted, false);
|
||||
WriteSetting(QStringLiteral("gamecard_current_game"), Settings::values.gamecard_current_game,
|
||||
false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue