forked from eden-emu/eden
fix msvc
Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
parent
63961f3741
commit
ae31504772
3 changed files with 3 additions and 4 deletions
|
@ -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),
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue