mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-27 12:18:35 +01:00
Fix minor oversight
This commit is contained in:
1 parent
ce4c254faa
commit
f4e489ee50
2 files changed
+1
-13
No files matched your search
@@ -358,18 +358,6 @@ const u8 *ArmJit::DoJit(u32 em_address, JitBlock *b)
|
||||
FlushPrefixV();
|
||||
}
|
||||
|
||||
#if !PPSSPP_ARCH(ARMV7)
|
||||
// TODO: Is this path still even supported?
|
||||
if ((GetCodePtr() - b->checkedEntry - partialFlushOffset) > 3200)
|
||||
{
|
||||
// We need to prematurely flush as we are out of range
|
||||
FixupBranch skip = B_CC(CC_AL);
|
||||
FlushLitPool();
|
||||
SetJumpTarget(skip);
|
||||
partialFlushOffset = GetCodePtr() - b->checkedEntry;
|
||||
}
|
||||
#endif
|
||||
|
||||
// Safety check, in case we get a bunch of really large jit ops without a lot of branching.
|
||||
if (GetSpaceLeft() < 0x800 || js.numInstructions >= JitBlockCache::MAX_BLOCK_INSTRUCTIONS)
|
||||
{
|
||||
|
||||
@@ -208,7 +208,7 @@ namespace MIPSComp {
|
||||
REGALLOC_GPR = 0x02000000, // Doesn't really disable regalloc, but flushes after every instr.
|
||||
REGALLOC_FPR = 0x04000000,
|
||||
|
||||
ALL_FLAGS = 0x01FFFFFF,
|
||||
ALL_FLAGS = 0x07FFFFFF,
|
||||
};
|
||||
|
||||
struct JitOptions {
|
||||
|
||||
Reference in new issue
Block a user