From 8adca82cc6c8fff290b45ab4a60c61f0f852ab9a Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Thu, 6 Aug 2015 10:11:12 +0200 Subject: [PATCH] JitInterface: fix disassembly entry point This adds the downcount check code to the disassembly text and removes the bogus instructions at the end. --- Source/Core/Core/PowerPC/JitInterface.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/Core/Core/PowerPC/JitInterface.cpp b/Source/Core/Core/PowerPC/JitInterface.cpp index d059f08fab..df8f87bea0 100644 --- a/Source/Core/Core/PowerPC/JitInterface.cpp +++ b/Source/Core/Core/PowerPC/JitInterface.cpp @@ -202,8 +202,7 @@ namespace JitInterface JitBlock* block = jit->GetBlockCache()->GetBlock(block_num); - *code = (const u8*)jit->GetBlockCache()->GetCompiledCodeFromBlock(block_num); - + *code = block->checkedEntry; *code_size = block->codeSize; *address = block->originalAddress; return 0;