mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-05 07:39:17 +00:00
JitBase: Make MergeAllowedNextInstructions a const member function
This commit is contained in:
parent
f03fa54bcb
commit
f98211bfcf
2 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ JitBase::JitBase() = default;
|
||||||
|
|
||||||
JitBase::~JitBase() = default;
|
JitBase::~JitBase() = default;
|
||||||
|
|
||||||
bool JitBase::MergeAllowedNextInstructions(int count)
|
bool JitBase::MergeAllowedNextInstructions(int count) const
|
||||||
{
|
{
|
||||||
if (CPU::GetState() == CPU::CPU_STEPPING || js.instructionsLeft < count)
|
if (CPU::GetState() == CPU::CPU_STEPPING || js.instructionsLeft < count)
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -104,7 +104,7 @@ protected:
|
||||||
PPCAnalyst::CodeBlock code_block;
|
PPCAnalyst::CodeBlock code_block;
|
||||||
PPCAnalyst::PPCAnalyzer analyzer;
|
PPCAnalyst::PPCAnalyzer analyzer;
|
||||||
|
|
||||||
bool MergeAllowedNextInstructions(int count);
|
bool MergeAllowedNextInstructions(int count) const;
|
||||||
|
|
||||||
void UpdateMemoryOptions();
|
void UpdateMemoryOptions();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue