From 0d257b9e88faf63b28b5f1a25bf86447e6d095ae Mon Sep 17 00:00:00 2001 From: comex Date: Wed, 19 Nov 2014 21:28:17 -0500 Subject: [PATCH] Don't randomly generate a serial number in deterministic mode. --- Source/Core/Core/Boot/Boot_BS2Emu.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/Core/Core/Boot/Boot_BS2Emu.cpp b/Source/Core/Core/Boot/Boot_BS2Emu.cpp index a33065a7c9..cfb40b126b 100644 --- a/Source/Core/Core/Boot/Boot_BS2Emu.cpp +++ b/Source/Core/Core/Boot/Boot_BS2Emu.cpp @@ -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