melonDS
melonDS copied to clipboard
Firmware settings should be respected when UpdateCounter = 0
When both UpdateCounter's values are zero, the first user data is used by the game, but the second one is the one updated with the firmware settings. By switching the logic, userdata[0] is now used when userdata[0].UpdateCounter and userdata[1].UpdateCounter are equal to zero, which fixes the issue.