mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 14:46:49 +01:00
Interpreter: Remove dead patches() function
This commit is contained in:
parent
a66b34cfc6
commit
a105a9a557
@ -48,23 +48,6 @@ void Interpreter::Shutdown()
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
static void patches()
|
|
||||||
{
|
|
||||||
/* if (Memory::Read_U16(0x90000880) == 0x130b)
|
|
||||||
{
|
|
||||||
PanicAlert("Memory::Read_U16(0x900008800) == 0x130b");
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
/* if (PC == 0x80074cd4)
|
|
||||||
{
|
|
||||||
u16 command = Common::swap16(Memory::Read_U16(PowerPC::ppcState.gpr[3] + 8));
|
|
||||||
if (command == 0x0b13)
|
|
||||||
{
|
|
||||||
PanicAlert("command: %x", command);
|
|
||||||
}
|
|
||||||
}*/
|
|
||||||
}
|
|
||||||
|
|
||||||
static int startTrace = 0;
|
static int startTrace = 0;
|
||||||
|
|
||||||
static void Trace(UGeckoInstruction& instCode)
|
static void Trace(UGeckoInstruction& instCode)
|
||||||
@ -179,8 +162,6 @@ int Interpreter::SingleStepInner()
|
|||||||
last_pc = PC;
|
last_pc = PC;
|
||||||
PC = NPC;
|
PC = NPC;
|
||||||
|
|
||||||
patches();
|
|
||||||
|
|
||||||
GekkoOPInfo *opinfo = GetOpInfo(instCode);
|
GekkoOPInfo *opinfo = GetOpInfo(instCode);
|
||||||
return opinfo->numCycles;
|
return opinfo->numCycles;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user