mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
GCMemcard: Use BigEndianValue for DEntry.m_animation_speed.
This commit is contained in:
@ -202,7 +202,10 @@ void GCMemcardManager::UpdateSlotTable(int slot)
|
||||
DEntry d;
|
||||
memcard->GetDEntry(file_index, d);
|
||||
|
||||
const auto speed = ((d.m_animation_speed[0] & 1) << 2) + (d.m_animation_speed[1] & 1);
|
||||
// TODO: This is wrong, the animation speed is not static and is already correctly calculated in
|
||||
// GetIconFromSaveFile(), just not returned
|
||||
const u16 animation_speed = d.m_animation_speed;
|
||||
const auto speed = (((animation_speed >> 8) & 1) << 2) + (animation_speed & 1);
|
||||
|
||||
m_slot_active_icons[slot].push_back({speed, frames});
|
||||
|
||||
|
Reference in New Issue
Block a user