mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-14 16:29:21 +01:00
![Lioncash](/assets/img/avatar_default.png)
Type punning like this is undefined behavior. Instead, we use std::memcpy to copy the necessary data over, which is well defined (as it treats both the source and destination as unsigned char).