mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-26 07:39:45 -06:00
Add a way to check the NAND for issues and fix them
Old versions of Dolphin are so broken regarding NAND handling that we need this to repair common issues and avoid issues with titles like the System Menu or the Wii Shop. This isn't an exhaustive check, but this will catch most issues and offer to fix them automatically (if possible).
This commit is contained in:
@ -12,6 +12,14 @@
|
||||
|
||||
// Small utility functions for common Wii related tasks.
|
||||
|
||||
namespace IOS
|
||||
{
|
||||
namespace HLE
|
||||
{
|
||||
class Kernel;
|
||||
}
|
||||
}
|
||||
|
||||
namespace WiiUtils
|
||||
{
|
||||
bool InstallWAD(const std::string& wad_path);
|
||||
@ -48,4 +56,8 @@ UpdateResult DoOnlineUpdate(UpdateCallback update_callback, const std::string& r
|
||||
|
||||
// Perform a disc update with behaviour similar to the System Menu.
|
||||
UpdateResult DoDiscUpdate(UpdateCallback update_callback, const std::string& image_path);
|
||||
|
||||
// Check the emulated NAND for common issues.
|
||||
bool CheckNAND(IOS::HLE::Kernel& ios);
|
||||
bool RepairNAND(IOS::HLE::Kernel& ios);
|
||||
}
|
||||
|
Reference in New Issue
Block a user