mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-26 15:49:50 -06: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:
@ -300,7 +300,7 @@ bool JitBlock::ContainsAddress(u32 em_address)
|
|||||||
|
|
||||||
CompiledCode JitBlockCache::GetCompiledCodeFromBlock(int blockNumber)
|
CompiledCode JitBlockCache::GetCompiledCodeFromBlock(int blockNumber)
|
||||||
{
|
{
|
||||||
return (CompiledCode)blocks[blockNumber].normalEntry;
|
return (CompiledCode)blockCodePointers[blockNumber];
|
||||||
}
|
}
|
||||||
|
|
||||||
//Block linker
|
//Block linker
|
||||||
|
Reference in New Issue
Block a user