mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
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:
parent
72b1570e08
commit
cbf5929276
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user