mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-25 05:54:57 +00:00
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. |
||
---|---|---|
.. | ||
Android | ||
Core | ||
DSPSpy | ||
DSPTool | ||
PCH | ||
UnitTests | ||
VSProps | ||
.clang-format | ||
CMakeLists.txt | ||
dolphin-emu.sln |