diff --git a/rpcs3/Emu/Cell/SPUThread.h b/rpcs3/Emu/Cell/SPUThread.h index 60fb86f6a6..70df12a756 100644 --- a/rpcs3/Emu/Cell/SPUThread.h +++ b/rpcs3/Emu/Cell/SPUThread.h @@ -172,10 +172,10 @@ struct spu_channel atomic_t data; public: - static const u32 off_wait = 32; - static const u32 off_count = 63; - static const u64 bit_wait = 1ull << off_wait; - static const u64 bit_count = 1ull << off_count; + static constexpr u32 off_wait = 32; + static constexpr u32 off_count = 63; + static constexpr u64 bit_wait = 1ull << off_wait; + static constexpr u64 bit_count = 1ull << off_count; // Returns true on success bool try_push(u32 value)