DSPEmitter: Make FlagsNeeded() a const member function

This doesn't modify any class data.
This commit is contained in:
Lioncash 2016-12-26 21:03:09 -05:00
parent a8459fc189
commit 12e335025d
2 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ void DSPEmitter::checkExceptions(u32 retval)
SetJumpTarget(skipCheck);
}
bool DSPEmitter::FlagsNeeded()
bool DSPEmitter::FlagsNeeded() const
{
const u8 flags = DSPAnalyzer::GetCodeFlags(compilePC);

View File

@ -34,7 +34,7 @@ public:
Block CompileStub();
void Compile(u16 start_addr);
bool FlagsNeeded();
bool FlagsNeeded() const;
void FallBackToInterpreter(UDSPInstruction inst);