Pass SettingsHandler buffers by const ref instead of rvalue ref

This commit is contained in:
Niel Lebeck committed 2024-04-12 18:50:21 -07:00
1 parent 107379bf74
commit d2b96736e0
6 files changed
+18 -25

No files matched your search

+1 -1
View File
@@ -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");