mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Don't randomly generate a serial number in deterministic mode.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user