mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-31 17:56:48 +02:00

The loops relied on unsigned integer overflow, which is not immediately obvious. Replace them with less clever variants that are clearer. Also implement bn_compare using std::memcmp.