Pass SettingsHandler buffers by const ref instead of rvalue ref
This commit is contained in:
1 parent
107379bf74
commit
d2b96736e0
6 files changed
+18
-25
No files matched your search
@@ -377,7 +377,7 @@ bool CBoot::SetupWiiMemory(Core::System& system, IOS::HLE::IOSC::ConsoleType con
|
||||
IOS::HLE::FS::Mode::Read);
|
||||
if (file && file->Read(data.data(), data.size()))
|
||||
{
|
||||
gen.SetBytes(std::move(data));
|
||||
gen.SetBytes(data);
|
||||
serno = gen.GetValue("SERNO");
|
||||
model = gen.GetValue("MODEL");
|
||||
|
||||
|
||||
Reference in new issue
Block a user