Permalink
Browse files

Core: Only init Wii FS contents in Wii mode

There's no filesystem when not in Wii mode, so... bad things
would happen.
  • Loading branch information...
leoetlino committed May 23, 2018
1 parent da03ff2 commit 4fd1674c49871397d3dc7ec883899a8335b381ad
Showing with 4 additions and 1 deletion.
  1. +4 −1 Source/Core/Core/Core.cpp
@@ -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
// with the correct title context since save copying requires title directories to exist.
Common::ScopeGuard wiifs_guard{Core::CleanUpWiiFileSystemContents};
Core::InitializeWiiFileSystemContents();
if (SConfig::GetInstance().bWii)
Core::InitializeWiiFileSystemContents();
else
wiifs_guard.Dismiss();
// This adds the SyncGPU handler to CoreTiming, so now CoreTiming::Advance might block.
Fifo::Prepare();

0 comments on commit 4fd1674

Please sign in to comment.