dolphin/Source
Lioncash 0a6f0dfb74 Common: Add bit utility header
This attempts to make some bit arithmetic more self-documenting and also
make it easier during review to identify potential off-by-one errors by
making it possible to just specify which bits are being extracted.

Functions both support the case where bits being extracted can vary and
fixed bit extraction. In the case the bits are fixed, compile-time asserts
are present to prevent accidental API usage at compile-time.

e.g. Instead of shifting and masking to get bits 10 to 15,
Common::ExtractBits<10, 15>(value) can just be done instead.
2017-01-14 11:16:02 -05:00
..
Android Android: Change Exit Without Saving to Save and Exit 2017-01-10 17:12:42 -05:00
Core Common: Add bit utility header 2017-01-14 11:16:02 -05:00
DSPSpy
DSPTool DSP: Namespace remaining un-namespaced DSP code 2016-12-31 17:20:14 -05:00
PCH
UnitTests Common: Add bit utility header 2017-01-14 11:16:02 -05:00
VSProps
.clang-format specify custom brace style to fix unions 2017-01-05 12:55:13 +01:00
CMakeLists.txt
dolphin-emu.sln