Commit Graph

25 Commits (0a6ca01991c1f32e3cdf8fb2a10f18bda50b1d06)

Author SHA1 Message Date
Emmanuel Gil Peyrot ebdae19fd2 Remove empty newlines in #include blocks.
This makes clang-format useful on those.

Also add a bunch of forgotten transitive includes, which otherwise
prevented compilation.
9 years ago
Emmanuel Gil Peyrot dc8479928c Sources: Run clang-format on everything. 9 years ago
Emmanuel Gil Peyrot 691a42fe98 VideoCore: Run include-what-you-use and fix most includes. 9 years ago
MerryMage 8b00954ec7 AudioCore: Skeleton Implementation
This commit:
* Adds a new subproject, audio_core.
* Defines structures that exist in DSP shared memory.
* Hooks up various other parts of the emulator into audio core.

This sets the foundation for a later HLE DSP implementation.
9 years ago
MerryMage 6c71858c5c BitField: Make trivially copyable and remove assignment operator 9 years ago
Lioncash 845ac621b3 bit_field: Re-enable code on MSVC 10 years ago
archshift d1ae413ffd Stop defining GCC always_inline attributes as __forceinline
__forceinline is a MSVC extension, which may confuse some people working on the codebase.
Furthermore, the C++ standard dictates that all names which contain adjacent underscores are reserved.
10 years ago
Yuri Kunde Schlesner b0d72e3de1 Merge pull request #914 from yuriks/bitfield-mask
Common: Fix mask generation in BitField
10 years ago
Yuri Kunde Schlesner d5b5280501 Common: Remove redundant masking in BitField
For the signed case, the shifts already remove the rest of the value, so
ANDing by the mask is redundant.
10 years ago
Yuri Kunde Schlesner d7f9529bdd Common: Fix mask generation in BitField
Fixes #913
10 years ago
Emmanuel Gil Peyrot 596b7c4f63 Common: Cleanup key_map includes. 10 years ago
Yuri Kunde Schlesner e1fbac3ca1 Common: Remove common.h 10 years ago
bunnei 2188af4a65 Merge pull request #322 from chinhodado/master
More warning cleanups
10 years ago
bunnei 0de6a08d75 Merge pull request #291 from purpasmart96/license
License change
10 years ago
Chin 0199a7d9ef More warning cleanups 10 years ago
purpasmart96 ebfd831ccb License change 10 years ago
Tony Wasserka 95be6a09b2 BitField: Add an explicit Assign method.
This is useful when doing crazy stuff like inheriting from BitField.
10 years ago
Lioncash 2dce9b2ead bit_field: Fix a typo in the sample usage. 11 years ago
Tony Wasserka 0da8e2eacc BitField: Cast enum values to proper integer type. 11 years ago
Tony Wasserka cd1d5786d9 BitField: Add a static_assert.
Being able to store BitField within unions requires BitField to be of standard layout, which in turn is only given if the underlying type is also has standard layout.
11 years ago
Tony Wasserka 15ab5382a5 BitField: Delete copy assignment to prevent obscure bugs.
Cf. https://github.com/dolphin-emu/dolphin/pull/483
11 years ago
Tony Wasserka 47a001722d BitField: Add an explicit evaluation method.
Sometimes it can be beneficial to use this in places where an explicit cast needs to happen otherwise. By using the evaluation method, it's not necessary anymore to explicitly write the underlying type in this case.
11 years ago
bunnei a6b047ec3b removed incorrect dolphin copyright line 11 years ago
bunnei a713bd1bad fixed include of common in bit_field.h 11 years ago
bunnei e7a0283625 added BitField to common 11 years ago