mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
PixelEngine: Remove unused AllowIdleSkipping and all references to it
This commit is contained in:
parent
f9650c52f8
commit
a5297f6da8
@ -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)
|
||||
|
@ -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 &&
|
||||
|
@ -141,8 +141,6 @@ void GatherPipeBursted();
|
||||
void UpdateInterrupts(u64 userdata);
|
||||
void UpdateInterruptsFromVideoBackend(u64 userdata);
|
||||
|
||||
bool AllowIdleSkipping();
|
||||
|
||||
void SetCpClearRegister();
|
||||
void SetCpControlRegister();
|
||||
void SetCpStatusRegister();
|
||||
|
Loading…
Reference in New Issue
Block a user