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:
bztdlinux 2010-01-04 01:28:47 +00:00
parent 72b1570e08
commit cbf5929276

View File

@ -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