mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 23:29:44 -06:00
PPCAnalyst: Make local constants constexpr
This commit is contained in:
@ -30,9 +30,9 @@
|
|||||||
|
|
||||||
namespace PPCAnalyst
|
namespace PPCAnalyst
|
||||||
{
|
{
|
||||||
static const int CODEBUFFER_SIZE = 32000;
|
constexpr int CODEBUFFER_SIZE = 32000;
|
||||||
// 0 does not perform block merging
|
// 0 does not perform block merging
|
||||||
static const u32 FUNCTION_FOLLOWING_THRESHOLD = 16;
|
constexpr u32 FUNCTION_FOLLOWING_THRESHOLD = 16;
|
||||||
|
|
||||||
CodeBuffer::CodeBuffer(int size)
|
CodeBuffer::CodeBuffer(int size)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user