mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
Core: Only init Wii FS contents in Wii mode
There's no filesystem when not in Wii mode, so... bad things would happen.
This commit is contained in:
@ -521,7 +521,10 @@ static void EmuThread(std::unique_ptr<BootParameters> boot)
|
|||||||
// This is done here after Boot and not in HW to ensure that we operate
|
// This is done here after Boot and not in HW to ensure that we operate
|
||||||
// with the correct title context since save copying requires title directories to exist.
|
// with the correct title context since save copying requires title directories to exist.
|
||||||
Common::ScopeGuard wiifs_guard{Core::CleanUpWiiFileSystemContents};
|
Common::ScopeGuard wiifs_guard{Core::CleanUpWiiFileSystemContents};
|
||||||
|
if (SConfig::GetInstance().bWii)
|
||||||
Core::InitializeWiiFileSystemContents();
|
Core::InitializeWiiFileSystemContents();
|
||||||
|
else
|
||||||
|
wiifs_guard.Dismiss();
|
||||||
|
|
||||||
// This adds the SyncGPU handler to CoreTiming, so now CoreTiming::Advance might block.
|
// This adds the SyncGPU handler to CoreTiming, so now CoreTiming::Advance might block.
|
||||||
Fifo::Prepare();
|
Fifo::Prepare();
|
||||||
|
Reference in New Issue
Block a user