summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/Android
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-27 10:17:46 -0400
committerLioncash <mathew1800@gmail.com>2018-08-27 10:28:11 -0400
commitcc2ef5a2c3c4cf08d8f3913eb688372e34626e3d (patch)
tree6486918ce472b510f2b4fd32add9c8b6a54969a6 /Source/Core/InputCommon/ControllerInterface/Android
parent25898cfa55e26b5ebc5cf307e47cfaf8896cfc74 (diff)
JitArm64/Jit: Don't cast away const within DumpCode()
swap32() has a const u8* overload that swaps the data being pointed to as if it were a 32-bit word. We can just use that instead. It gets rid of undefined behavior, as we're not type punning a pointer and dereferencing it, and gets rid of the need to cast entirely.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/Android')
0 files changed, 0 insertions, 0 deletions