mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-28 13:47:57 +03:00
Use select in CheckPipeline.
This commit is contained in:
parent
329396faed
commit
1ea40fb773
1 changed files with 13 additions and 5 deletions
|
@ -1785,11 +1785,19 @@ void VUShared::CheckPipeline(const REGISTER_PIPEINFO& pipeInfo, CMipsJitter* cod
|
|||
codeGen->PushCst(relativePipeTime);
|
||||
codeGen->Add();
|
||||
|
||||
codeGen->BeginIf(Jitter::CONDITION_LE);
|
||||
{
|
||||
FlushPipeline(pipeInfo, codeGen);
|
||||
}
|
||||
codeGen->EndIf();
|
||||
codeGen->Cmp(Jitter::CONDITION_LE);
|
||||
codeGen->PushTop();
|
||||
|
||||
//This needs to match behavior in FlushPipeline
|
||||
codeGen->PushCst(0);
|
||||
codeGen->PushRel(pipeInfo.counter);
|
||||
codeGen->Select();
|
||||
codeGen->PullRel(pipeInfo.counter);
|
||||
|
||||
codeGen->PushRel(pipeInfo.heldValue);
|
||||
codeGen->PushRel(pipeInfo.value);
|
||||
codeGen->Select();
|
||||
codeGen->PullRel(pipeInfo.value);
|
||||
}
|
||||
|
||||
void VUShared::QueueInPipeline(const REGISTER_PIPEINFO& pipeInfo, CMipsJitter* codeGen, uint32 latency, uint32 relativePipeTime)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue