diff options
Diffstat (limited to 'src/frontend')
-rw-r--r-- | src/frontend/qt_sdl/ROMManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/qt_sdl/ROMManager.cpp b/src/frontend/qt_sdl/ROMManager.cpp index 19ae954..8a54e05 100644 --- a/src/frontend/qt_sdl/ROMManager.cpp +++ b/src/frontend/qt_sdl/ROMManager.cpp @@ -937,7 +937,7 @@ void LoadUserSettingsFromConfig(Firmware& firmware) bool rep = false; auto& header = firmware.GetHeader(); - memcpy(&mac, header.MacAddress.data(), sizeof(MacAddress)); + memcpy(&mac, header.MacAddr.data(), sizeof(MacAddress)); MacAddress configuredMac; @@ -961,7 +961,7 @@ void LoadUserSettingsFromConfig(Firmware& firmware) if (rep) { mac[0] &= 0xFC; // ensure the MAC isn't a broadcast MAC - header.MacAddress = mac; + header.MacAddr = mac; header.UpdateChecksum(); } |