mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-21 09:49:01 +00:00
Merge pull request #4469 from sepalani/fix_xfb_debug
[HLE] Fixes XFB issues in Debug Mode
This commit is contained in:
commit
ecf5f7d5f4
6 changed files with 29 additions and 17 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue