aboutsummaryrefslogtreecommitdiff
path: root/src/frontend
diff options
context:
space:
mode:
authorArisotura <thetotalworm@gmail.com>2023-11-03 21:33:13 +0100
committerArisotura <thetotalworm@gmail.com>2023-11-03 21:33:13 +0100
commitf188c2cf1a275dbe9d79683e3d66b765eb816804 (patch)
tree85b9e268964a832f179230a57d58c641d02f4c1f /src/frontend
parente4f4e94694f4e4aaac5b78704fee1c39f11dd034 (diff)
hopefully get the compiler to shut up
Diffstat (limited to 'src/frontend')
-rw-r--r--src/frontend/qt_sdl/ROMManager.cpp4
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();
}