mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-07 13:13:32 +01:00
![JosJuice](/assets/img/avatar_default.png)
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.
28 lines
556 B
C++
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
|