mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-21 14:41:39 +00:00
Core: Prevent crash if FakeJit is actually used.
Just make it fall back to the interpreter.
This commit is contained in:
parent
5490fb1d7c
commit
808f47fd15
@ -126,14 +126,13 @@ void FakeJit::CompileDelaySlot(int flags)
|
||||
void FakeJit::Compile(u32 em_address) {
|
||||
}
|
||||
|
||||
void FakeJit::RunLoopUntil(u64 globalticks)
|
||||
{
|
||||
((void (*)())enterCode)();
|
||||
void FakeJit::RunLoopUntil(u64 globalticks) {
|
||||
MIPSInterpret_RunUntil(globalticks);
|
||||
}
|
||||
|
||||
const u8 *FakeJit::DoJit(u32 em_address, JitBlock *b)
|
||||
{
|
||||
return b->normalEntry;
|
||||
const u8 *FakeJit::DoJit(u32 em_address, JitBlock *b) {
|
||||
_assert_(false);
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
void FakeJit::AddContinuedBlock(u32 dest)
|
||||
|
@ -179,19 +179,6 @@ private:
|
||||
|
||||
int dontLogBlocks;
|
||||
int logBlocks;
|
||||
|
||||
public:
|
||||
// Code pointers
|
||||
const u8 *enterCode;
|
||||
|
||||
const u8 *outerLoop;
|
||||
const u8 *outerLoopPCInR0;
|
||||
const u8 *dispatcherCheckCoreState;
|
||||
const u8 *dispatcherPCInR0;
|
||||
const u8 *dispatcher;
|
||||
const u8 *dispatcherNoCheck;
|
||||
|
||||
const u8 *breakpointBailout;
|
||||
};
|
||||
|
||||
} // namespace MIPSComp
|
||||
|
Loading…
x
Reference in New Issue
Block a user