mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-12-27 10:44:32 +01:00
b3292298c9
Given bit conversions between types are quite common in emulation (particularly when it comes to floating-point among other things) it makes sense to provide a utility function that keeps all the boilerplate contained; especially considering it makes it harder to accidentally misuse std::memcpy (such as accidentally transposing arguments, etc). Another benefit of this function is that it doesn't require separating declarations from assignments, allowing variables to be declared const. This makes the scenario of of uninitialized variables being used less likely to occur. |
||
---|---|---|
.. | ||
Common | ||
Core | ||
VideoCommon | ||
CMakeLists.txt | ||
StubHost.cpp | ||
UnitTests.vcxproj | ||
UnitTests.vcxproj.user |