Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
crueter 2025-09-13 12:09:12 -04:00
parent 8ccc4192eb
commit b91704c824
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); const auto nand_dir = Common::FS::GetEdenPath(Common::FS::EdenPath::NANDDir);
auto vfs_nand_dir = vfs->OpenDirectory(Common::FS::PathToUTF8String(nand_dir), auto vfs_nand_dir = vfs->OpenDirectory(Common::FS::PathToUTF8String(nand_dir),

View file

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

View file

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