mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-25 05:23:39 +01:00

casting a value to a u32 when it's originally an int, and it's exposed as int to users, could end up in cases where a negative number would result as a positive one. This doesn't really affect the value range of the attachment enum, still I think the code was wrong. Heavily tested.