Don't randomly generate a serial number in deterministic mode.

This commit is contained in:
comex 2014-11-19 21:28:17 -05:00
parent 138d72313e
commit 0d257b9e88
1 changed files with 4 additions and 1 deletions

View File

@ -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