mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 05:38:50 +00:00
Boot: Install WADs temporarily
Because the Wii NAND size is finite, mark titles that were installed only for booting as temporary, and remove them whenever we need to install another title (to make room). This is exactly what the System Menu does for temporary SD card title data.
This commit is contained in:
parent
4b4a9a6486
commit
dedb61e5bf
3 changed files with 39 additions and 9 deletions
|
@ -27,8 +27,15 @@ class Kernel;
|
|||
|
||||
namespace WiiUtils
|
||||
{
|
||||
bool InstallWAD(IOS::HLE::Kernel& ios, const DiscIO::WiiWAD& wad);
|
||||
// Same as the above, but constructs a temporary IOS and WiiWAD instance for importing.
|
||||
enum class InstallType
|
||||
{
|
||||
Permanent,
|
||||
Temporary,
|
||||
};
|
||||
|
||||
bool InstallWAD(IOS::HLE::Kernel& ios, const DiscIO::WiiWAD& wad, InstallType type);
|
||||
// Same as the above, but constructs a temporary IOS and WiiWAD instance for importing
|
||||
// and does a permanent install.
|
||||
bool InstallWAD(const std::string& wad_path);
|
||||
|
||||
enum class UpdateResult
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue