mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 16:18:58 +00:00
Core: Move Emulation IOS instance to System.
This commit is contained in:
parent
ca81d8b8a6
commit
e6ee217a7c
21 changed files with 65 additions and 51 deletions
|
@ -321,7 +321,7 @@ void InitializeWiiFileSystemContents(
|
|||
std::optional<DiscIO::Riivolution::SavegameRedirect> save_redirect,
|
||||
const BootSessionData& boot_session_data)
|
||||
{
|
||||
const auto fs = IOS::HLE::GetIOS()->GetFS();
|
||||
const auto fs = Core::System::GetInstance().GetIOS()->GetFS();
|
||||
|
||||
// Some games (such as Mario Kart Wii) assume that NWC24 files will always be present
|
||||
// even upon the first launch as they are normally created by the system menu.
|
||||
|
@ -397,7 +397,7 @@ void CleanUpWiiFileSystemContents(const BootSessionData& boot_session_data)
|
|||
File::MoveWithOverwrite(redirect.temp_path, redirect.real_path);
|
||||
}
|
||||
|
||||
IOS::HLE::EmulationKernel* ios = IOS::HLE::GetIOS();
|
||||
IOS::HLE::EmulationKernel* ios = Core::System::GetInstance().GetIOS();
|
||||
|
||||
// clear the redirects in the session FS, otherwise the back-copy might grab redirected files
|
||||
s_nand_redirects.clear();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue