mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-12 14:00:27 +02:00
Fix Wrong MAC address by old version by "Change MAC address"
This commit is contained in:
1 parent
a95500c930
commit
feb23d717d
1 file changed
+5
@@ -842,6 +842,11 @@ void Config::Load(const char *iniFileName, const char *controllerIniFilename) {
|
||||
#ifdef _WIN32
|
||||
iTempGPUBackend = iGPUBackend;
|
||||
#endif
|
||||
|
||||
// Fix Wrong MAC address by old version by "Change MAC address"
|
||||
std::string str(sMACAddress.c_str());
|
||||
if (str.length() != 17)
|
||||
sMACAddress = CreateRandMAC();
|
||||
}
|
||||
|
||||
void Config::Save() {
|
||||
|
||||
Reference in new issue
Block a user