Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
crueter 2025-09-13 12:09:12 -04:00
parent 63961f3741
commit ae31504772
Signed by: crueter
GPG key ID: 425ACD2D4830EBC6
3 changed files with 3 additions and 4 deletions

View file

@ -357,7 +357,7 @@ void RemoveCustomConfiguration(u64 program_id, const std::string& game_path)
}
}
void RemoveCacheStorage(u64 program_id, FileSys::VfsFilesystem* vfs)
void RemoveCacheStorage(u64 program_id)
{
const auto nand_dir = Common::FS::GetEdenPath(Common::FS::EdenPath::NANDDir);
auto vfs_nand_dir = vfs->OpenDirectory(Common::FS::PathToUTF8String(nand_dir),

View file

@ -7,7 +7,6 @@
#include <QObject>
#include <QStandardPaths>
#include "common/fs/path_util.h"
#include <core/file_sys/vfs/vfs.h>
namespace QtCommon::Game {
@ -65,7 +64,7 @@ void RemoveTransferableShaderCache(u64 program_id, GameListRemoveTarget target);
void RemoveVulkanDriverPipelineCache(u64 program_id);
void RemoveAllTransferableShaderCaches(u64 program_id);
void RemoveCustomConfiguration(u64 program_id, const std::string& game_path);
void RemoveCacheStorage(u64 program_id, FileSys::VfsFilesystem* vfs);
void RemoveCacheStorage(u64 program_id);
// Metadata //
void ResetMetadata();

View file

@ -2616,7 +2616,7 @@ void GMainWindow::OnGameListRemoveFile(u64 program_id, QtCommon::Game::GameListR
QtCommon::Game::RemoveCustomConfiguration(program_id, game_path);
break;
case QtCommon::Game::GameListRemoveTarget::CacheStorage:
QtCommon::Game::RemoveCacheStorage(program_id, QtCommon::vfs.get());
QtCommon::Game::RemoveCacheStorage(program_id);
break;
}
}