1
0
Fork 0
mirror of https://github.com/melonDS-emu/melonDS.git synced 2025-03-06 21:00:31 +01:00

I'm not 100% sure about this one, but unless there's some weird C++ shit

going on here it should be fine
This commit is contained in:
Nadia Holmquist Pedersen 2024-11-11 13:02:08 +01:00
parent 17dbb10752
commit 39504241b9

View file

@ -83,7 +83,7 @@ void Compiler::Comp_JumpTo(u32 addr, bool forceNonConstantCycles)
// doesn't matter if we put garbage in the MSbs there // doesn't matter if we put garbage in the MSbs there
if (addr & 0x2) if (addr & 0x2)
{ {
cpu9->CodeRead32(addr-2, true) >> 16; cpu9->CodeRead32(addr-2, true);
cycles += cpu9->CodeCycles; cycles += cpu9->CodeCycles;
cpu9->CodeRead32(addr+2, false); cpu9->CodeRead32(addr+2, false);
cycles += CurCPU->CodeCycles; cycles += CurCPU->CodeCycles;
@ -437,4 +437,4 @@ void Compiler::T_Comp_BL_Merged()
Comp_JumpTo(target); Comp_JumpTo(target);
} }
} }