WiiUtils: Allow reusing existing IOS/WAD instance

This commit is contained in:
Léo Lam
2017-10-01 15:07:59 +02:00
parent 6a03a24822
commit dd5c468c63
2 changed files with 16 additions and 7 deletions

View File

@ -13,6 +13,10 @@
// Small utility functions for common Wii related tasks.
namespace DiscIO
{
class WiiWAD;
}
namespace IOS
{
namespace HLE
@ -23,6 +27,8 @@ 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.
bool InstallWAD(const std::string& wad_path);
enum class UpdateResult