DSPEmitter: Make FlagsNeeded() a const member function

This doesn't modify any class data.
This commit is contained in:
Lioncash committed 2016-12-26 21:18:24 -05:00
1 parent a8459fc189
commit 12e335025d
2 files changed
+2 -2

No files matched your search

+1 -1
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);
+1 -1
View File
@@ -34,7 +34,7 @@ public:
Block CompileStub();
void Compile(u16 start_addr);
bool FlagsNeeded();
bool FlagsNeeded() const;
void FallBackToInterpreter(UDSPInstruction inst);