mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-16 11:35:25 +01:00

This change was primarily made to refactor the badge fetching to use the client instead of the runtime, but in the process I also refactored the code to cut down on complexity and duplication. Now the FetchBadge method is passed a function that generates the badge name; this is used to ensure that once the badge is loaded that it is still the desired badge to avoid race conditions.