dolphin/Source/Core
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
..
AudioCommon Add Silent Audio Dumping INI Option 2017-01-08 13:53:44 -05:00
Common Common: Add bit utility header 2017-01-14 11:16:02 -05:00
Core Merge pull request #4653 from lioncash/dsp-define 2017-01-14 10:54:48 +13:00
DiscIO Merge pull request #4479 from GerbilSoft/feature/RVT-R.dev-key 2017-01-13 09:56:50 +13:00
DolphinQt2 DiscIO: Add GetRegion function and Region enum 2017-01-02 20:57:11 +01:00
DolphinWX DolphinWX: Always keep panic alerts on top 2017-01-12 23:40:58 +01:00
InputCommon macOS: Add missing includes to fix no-PCH build 2017-01-02 11:45:24 +11:00
UICommon Fix missing includes 2016-10-07 23:46:41 +02:00
VideoBackends Merge pull request #4496 from Mystro256/master 2017-01-13 23:13:08 +13:00
VideoCommon TextureDecoder: Seperate each format into its own function 2017-01-10 20:41:00 +10:00
CMakeLists.txt [UI] Remove DolphinQt 2016-01-05 19:42:02 -06:00