PixelEngine: Remove unused AllowIdleSkipping and all references to it

This commit is contained in:
Jasper St. Pierre 2014-07-12 11:21:41 -04:00
parent f9650c52f8
commit a5297f6da8
3 changed files with 0 additions and 19 deletions

View File

@ -220,22 +220,6 @@ void Interpreter::lwz(UGeckoInstruction _inst)
{
m_GPR[_inst.RD] = temp;
}
// hack to detect SelectThread loop
// should probably run a pass through memory instead before execution
// but that would be dangerous
// Enable idle skipping?
/*
if ((_inst.hex & 0xFFFF0000)==0x800D0000 &&
Memory::ReadUnchecked_U32(PC+4)==0x28000000 &&
Memory::ReadUnchecked_U32(PC+8)==0x4182fff8)
{
if (CommandProcessor::AllowIdleSkipping() && PixelEngine::AllowIdleSkipping())
{
CoreTiming::Idle();
}
}*/
}
void Interpreter::lwzu(UGeckoInstruction _inst)

View File

@ -94,7 +94,6 @@ void Jit64::lXXx(UGeckoInstruction inst)
// (mb2): I agree,
// IMHO those Idles should always be skipped and replaced by a more controllable "native" Idle methode
// ... maybe the throttle one already do that :p
// if (CommandProcessor::AllowIdleSkipping() && PixelEngine::AllowIdleSkipping())
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bSkipIdle &&
inst.OPCD == 32 &&
(inst.hex & 0xFFFF0000) == 0x800D0000 &&

View File

@ -141,8 +141,6 @@ void GatherPipeBursted();
void UpdateInterrupts(u64 userdata);
void UpdateInterruptsFromVideoBackend(u64 userdata);
bool AllowIdleSkipping();
void SetCpClearRegister();
void SetCpControlRegister();
void SetCpStatusRegister();