mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 23:11:14 +01:00
Merge pull request #1495 from lioncash/unused
Interpreter: Remove dead patches() function
This commit is contained in:
commit
a5d304eb16
@ -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 void Trace(UGeckoInstruction& instCode)
|
||||
@ -179,8 +162,6 @@ int Interpreter::SingleStepInner()
|
||||
last_pc = PC;
|
||||
PC = NPC;
|
||||
|
||||
patches();
|
||||
|
||||
GekkoOPInfo *opinfo = GetOpInfo(instCode);
|
||||
return opinfo->numCycles;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user