mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 00:59:44 -06:00
IOS: Allow instances that are not tied to emulation
This enables constructing an IOS instance that is not tied to emulation and that can be simply used for internal purposes (ES, FS). NAND root initialisation was moved to IOS since we cannot rely on HW doing that for us anymore, and technically the NAND is entirely managed by IOS anyway.
This commit is contained in:
@ -24,7 +24,6 @@
|
||||
#include "Core/IOS/IOS.h"
|
||||
#include "Core/Movie.h"
|
||||
#include "Core/State.h"
|
||||
#include "Core/WiiRoot.h"
|
||||
|
||||
namespace HW
|
||||
{
|
||||
@ -50,7 +49,6 @@ void Init()
|
||||
|
||||
if (SConfig::GetInstance().bWii)
|
||||
{
|
||||
Core::InitializeWiiRoot(Core::WantsDeterminism());
|
||||
IOS::Init();
|
||||
IOS::HLE::Init(); // Depends on Memory
|
||||
}
|
||||
@ -61,8 +59,6 @@ void Shutdown()
|
||||
// IOS should always be shut down regardless of bWii because it can be running in GC mode (MIOS).
|
||||
IOS::HLE::Shutdown(); // Depends on Memory
|
||||
IOS::Shutdown();
|
||||
if (SConfig::GetInstance().bWii)
|
||||
Core::ShutdownWiiRoot();
|
||||
|
||||
SystemTimers::Shutdown();
|
||||
CPU::Shutdown();
|
||||
|
Reference in New Issue
Block a user