mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix Wrong MAC address by old version by "Change MAC address"
This commit is contained in:
parent
a95500c930
commit
feb23d717d
1 changed files with 5 additions and 0 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Reference in a new issue