mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 15:31:17 +01:00
6ad6781bd3
We can just memcpy the data instead of pointer-casting data, which is alignment-safe and doesn't run afoul of aliasing rules. Previously it also made it seem as if data itself pointed to valid usable data, but it doesn't, it simply functions as an out parameter where we push data built up from the GetState() functions into it.