isle icon indicating copy to clipboard operation
isle copied to clipboard

Match `LegoGameState::History::WriteScoreHistory`

Open foxtacles opened this issue 11 months ago • 1 comments

foxtacles avatar Jan 17 '25 02:01 foxtacles

There's the chance that some ScoreItem structs are copied via direct assignment instead of explicitly calling memcpy. We've seen this in some of the other beta functions.

The beta struct for History has an extra 40 bytes before m_scores. Maybe this is a lookup table for the sorted order of the values? LegoGameState::History::Serialize reads and writes these values from the file but they are not copied into the struct on retail.

disinvite avatar Apr 04 '25 20:04 disinvite