aboutsummaryrefslogtreecommitdiff
path: root/src/SPI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/SPI.cpp')
-rw-r--r--src/SPI.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SPI.cpp b/src/SPI.cpp
index 8eb8b0e..8432b19 100644
--- a/src/SPI.cpp
+++ b/src/SPI.cpp
@@ -98,7 +98,7 @@ void FirmwareMem::Reset()
// disable autoboot
//Firmware[userdata+0x64] &= 0xBF;
- MacAddress mac = Firmware->GetHeader().MacAddress;
+ MacAddress mac = Firmware->GetHeader().MacAddr;
Log(LogLevel::Info, "MAC: %02X:%02X:%02X:%02X:%02X:%02X\n", mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]);
// verify shit
@@ -139,7 +139,7 @@ void FirmwareMem::SetupDirectBoot(bool dsi)
if (dsi)
{
for (u32 i = 0; i < 6; i += 2)
- DSi::ARM9Write16(0x02FFFCF4, *(u16*)&header.MacAddress[i]); // MAC address
+ DSi::ARM9Write16(0x02FFFCF4, *(u16*)&header.MacAddr[i]); // MAC address
// checkme
DSi::ARM9Write16(0x02FFFCFA, header.EnabledChannels); // enabled channels