mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-27 20:56:25 +00:00
PPCAnalyst: Make local constants constexpr
This commit is contained in:
parent
e7aad130e9
commit
a947391556
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue