JitCache: Return a pointer in AllocateBlock.

This commit is contained in:
degasus committed 2017-01-12 20:23:14 +01:00
1 parent f14cebf079
commit 2d5288dc10
6 files changed
+7 -11

No files matched your search

@@ -140,8 +140,7 @@ void CachedInterpreter::Jit(u32 address)
return;
}
int block_num = m_block_cache.AllocateBlock(PC);
JitBlock* b = m_block_cache.GetBlock(block_num);
JitBlock* b = m_block_cache.AllocateBlock(PC);
js.blockStart = PC;
js.firstFPInstructionFound = false;