diff --git a/Source/Core/Core/WiiUtils.cpp b/Source/Core/Core/WiiUtils.cpp index e113b0abee..cfe11e3b28 100644 --- a/Source/Core/Core/WiiUtils.cpp +++ b/Source/Core/Core/WiiUtils.cpp @@ -109,7 +109,7 @@ static bool ImportWAD(IOS::HLE::Kernel& ios, const DiscIO::VolumeWAD& wad, // they are not present. So ensure they exist and create them if they don't. const bool shop_logs_exist = [&] { const std::array dummy_data{}; - for (const std::string& path : {"/shared2/ec/shopsetu.log", "/shared2/succession/shop.log"}) + for (const std::string path : {"/shared2/ec/shopsetu.log", "/shared2/succession/shop.log"}) { constexpr IOS::HLE::FS::Mode rw_mode = IOS::HLE::FS::Mode::ReadWrite; if (fs->CreateFullPath(IOS::SYSMENU_UID, IOS::SYSMENU_GID, path, 0,