Don't randomly generate a serial number in deterministic mode.
This commit is contained in:
parent
138d72313e
commit
0d257b9e88
|
@ -199,7 +199,10 @@ bool CBoot::SetupWiiMemory(DiscIO::IVolume::ECountry country)
|
|||
|
||||
if (serno.empty() || serno == "000000000")
|
||||
{
|
||||
serno = gen.generateSerialNumber();
|
||||
if (Core::g_want_determinism)
|
||||
serno = "123456789";
|
||||
else
|
||||
serno = gen.generateSerialNumber();
|
||||
INFO_LOG(BOOT, "No previous serial number found, generated one instead: %s", serno.c_str());
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue