Merge pull request #4469 from sepalani/fix_xfb_debug
[HLE] Fixes XFB issues in Debug Mode
This commit is contained in:
commit
ecf5f7d5f4
6 files changed
+29
-17
No files matched your search
@@ -205,7 +205,7 @@ void CachedInterpreter::Jit(u32 address)
|
||||
{
|
||||
js.downcountAmount += ops[i].opinfo->numCycles;
|
||||
|
||||
u32 function = HLE::GetFunctionIndex(ops[i].address);
|
||||
u32 function = HLE::GetFirstFunctionIndex(ops[i].address);
|
||||
if (function != 0)
|
||||
{
|
||||
int type = HLE::GetFunctionTypeByIndex(function);
|
||||
|
||||
@@ -100,7 +100,7 @@ static void Trace(UGeckoInstruction& inst)
|
||||
int Interpreter::SingleStepInner()
|
||||
{
|
||||
static UGeckoInstruction instCode;
|
||||
u32 function = HLE::GetFunctionIndex(PC);
|
||||
u32 function = HLE::GetFirstFunctionIndex(PC);
|
||||
if (function != 0)
|
||||
{
|
||||
int type = HLE::GetFunctionTypeByIndex(function);
|
||||
|
||||
@@ -797,7 +797,7 @@ const u8* Jit64::DoJit(u32 em_address, PPCAnalyst::CodeBuffer* code_buf, JitBloc
|
||||
SetJumpTarget(noExtIntEnable);
|
||||
}
|
||||
|
||||
u32 function = HLE::GetFunctionIndex(ops[i].address);
|
||||
u32 function = HLE::GetFirstFunctionIndex(ops[i].address);
|
||||
if (function != 0)
|
||||
{
|
||||
int type = HLE::GetFunctionTypeByIndex(function);
|
||||
|
||||
@@ -604,7 +604,7 @@ const u8* JitIL::DoJit(u32 em_address, PPCAnalyst::CodeBuffer* code_buf, JitBloc
|
||||
if (i == (code_block.m_num_instructions - 1))
|
||||
js.isLastInstruction = true;
|
||||
|
||||
u32 function = HLE::GetFunctionIndex(ops[i].address);
|
||||
u32 function = HLE::GetFirstFunctionIndex(ops[i].address);
|
||||
if (function != 0)
|
||||
{
|
||||
int type = HLE::GetFunctionTypeByIndex(function);
|
||||
|
||||
Reference in new issue
Block a user