mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-05 07:39:17 +00:00
Don't randomly generate a serial number in deterministic mode.
This commit is contained in:
parent
138d72313e
commit
0d257b9e88
1 changed files with 4 additions and 1 deletions
|
@ -199,6 +199,9 @@ bool CBoot::SetupWiiMemory(DiscIO::IVolume::ECountry country)
|
||||||
|
|
||||||
if (serno.empty() || serno == "000000000")
|
if (serno.empty() || serno == "000000000")
|
||||||
{
|
{
|
||||||
|
if (Core::g_want_determinism)
|
||||||
|
serno = "123456789";
|
||||||
|
else
|
||||||
serno = gen.generateSerialNumber();
|
serno = gen.generateSerialNumber();
|
||||||
INFO_LOG(BOOT, "No previous serial number found, generated one instead: %s", serno.c_str());
|
INFO_LOG(BOOT, "No previous serial number found, generated one instead: %s", serno.c_str());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue