mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
Remove NANDContentManager
This commit is contained in:
parent
c03aa78c8f
commit
346ca009f9
20 changed files with 3 additions and 452 deletions
|
@ -38,7 +38,6 @@
|
|||
#include "DiscIO/DiscExtractor.h"
|
||||
#include "DiscIO/Enums.h"
|
||||
#include "DiscIO/Filesystem.h"
|
||||
#include "DiscIO/NANDContentLoader.h"
|
||||
#include "DiscIO/Volume.h"
|
||||
#include "DiscIO/VolumeFileBlobReader.h"
|
||||
#include "DiscIO/VolumeWii.h"
|
||||
|
@ -129,10 +128,7 @@ bool InstallWAD(IOS::HLE::Kernel& ios, const DiscIO::WiiWAD& wad)
|
|||
return false;
|
||||
}
|
||||
|
||||
const bool result = ImportWAD(ios, wad);
|
||||
|
||||
DiscIO::NANDContentManager::Access().ClearCache();
|
||||
return result;
|
||||
return ImportWAD(ios, wad);
|
||||
}
|
||||
|
||||
bool InstallWAD(const std::string& wad_path)
|
||||
|
@ -695,17 +691,13 @@ UpdateResult DiscSystemUpdater::ProcessEntry(u32 type, std::bitset<32> attrs,
|
|||
UpdateResult DoOnlineUpdate(UpdateCallback update_callback, const std::string& region)
|
||||
{
|
||||
OnlineSystemUpdater updater{std::move(update_callback), region};
|
||||
const UpdateResult result = updater.DoOnlineUpdate();
|
||||
DiscIO::NANDContentManager::Access().ClearCache();
|
||||
return result;
|
||||
return updater.DoOnlineUpdate();
|
||||
}
|
||||
|
||||
UpdateResult DoDiscUpdate(UpdateCallback update_callback, const std::string& image_path)
|
||||
{
|
||||
DiscSystemUpdater updater{std::move(update_callback), image_path};
|
||||
const UpdateResult result = updater.DoDiscUpdate();
|
||||
DiscIO::NANDContentManager::Access().ClearCache();
|
||||
return result;
|
||||
return updater.DoDiscUpdate();
|
||||
}
|
||||
|
||||
NANDCheckResult CheckNAND(IOS::HLE::Kernel& ios)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue