mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-24 16:27:52 -05:00
remove static from pointer sized or smaller types for aesthetics, change constexpr static to static constexpr for consistency
Signed-off-by: arades79 <scravers@protonmail.com>
This commit is contained in:
@ -29,7 +29,7 @@ constexpr u32 pdep(u32 value) {
|
||||
|
||||
template <u32 mask, u32 incr_amount>
|
||||
void incrpdep(u32& value) {
|
||||
constexpr static u32 swizzled_incr = pdep<mask>(incr_amount);
|
||||
static constexpr u32 swizzled_incr = pdep<mask>(incr_amount);
|
||||
value = ((value | ~mask) + swizzled_incr) & mask;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user