dolphin/Source/Core/Core/WiiRoot.h
JosJuice 3397f49a0a IOS: Don't let Kernel initialize WiiRoot if already initialized
The SaveToSYSCONF call in BootManager.cpp was unintentionally
overriding the temporary NAND set by the preceding
InitializeWiiRoot call. Fixes
https://bugs.dolphin-emu.org/issues/12500.
2021-05-02 10:30:32 +02:00

28 lines
556 B
C++

// Copyright 2016 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#pragma once
namespace Core
{
enum class RestoreReason
{
EmulationEnd,
CrashRecovery,
};
void InitializeWiiRoot(bool use_temporary);
void ShutdownWiiRoot();
bool WiiRootIsInitialized();
bool WiiRootIsTemporary();
void BackupWiiSettings();
void RestoreWiiSettings(RestoreReason reason);
// Initialize or clean up the filesystem contents.
void InitializeWiiFileSystemContents();
void CleanUpWiiFileSystemContents();
} // namespace Core