Patch from stgn:
JitBlockCache::GetCompiledCodeFromBlock() now casts the correct pointer, which allows the PPC <-> x86 translated code viewer to work. Fixes issue 1935. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4781 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
1 parent
72b1570e08
commit
cbf5929276
1 file changed
+1
-1
@@ -300,7 +300,7 @@ bool JitBlock::ContainsAddress(u32 em_address)
|
||||
|
||||
CompiledCode JitBlockCache::GetCompiledCodeFromBlock(int blockNumber)
|
||||
{
|
||||
return (CompiledCode)blocks[blockNumber].normalEntry;
|
||||
return (CompiledCode)blockCodePointers[blockNumber];
|
||||
}
|
||||
|
||||
//Block linker
|
||||
|
||||
Reference in new issue
Block a user