mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[Ion/bldata] Fix crash when going back to home screen after suspending
This commit is contained in:
@@ -11,11 +11,13 @@ namespace Ion {
|
||||
}
|
||||
|
||||
Device::BootloaderSharedData::BootloaderSharedData() {
|
||||
if (m_header != Magic || m_footer != Magic) {
|
||||
// FIXME: Find why calculator is crashing when footer is defined
|
||||
// if (m_header != Magic || m_footer != Magic) {
|
||||
if (m_header != Magic) {
|
||||
m_header = Magic;
|
||||
m_storageAddress = 0;
|
||||
m_storageSize = 0;
|
||||
m_footer = Magic;
|
||||
// m_footer = Magic;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace Device
|
||||
uint32_t m_header;
|
||||
uint32_t m_storageAddress;
|
||||
uint32_t m_storageSize;
|
||||
uint32_t m_footer;
|
||||
// uint32_t m_footer;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user