summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Random.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-05-27 21:57:50 -0400
committerLioncash <mathew1800@gmail.com>2018-05-27 22:33:26 -0400
commit6ad6781bd3b3a9d84c149037aaef2d2d4e1d2173 (patch)
tree7ef67767fd2336eb768081e15eaa75e972a70f4f /Source/Core/Common/Random.cpp
parent686e29f2d3f1f6cbd58dd9104820747e2c0d629e (diff)
WiimoteEmu: Get rid of pointer casting in extension GetState() functions
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.
Diffstat (limited to 'Source/Core/Common/Random.cpp')
0 files changed, 0 insertions, 0 deletions