pvr: mvsc2 needs yet more rendering cycles
Fixes texture corruption in the character line up during intro.
Follow up to 976fb99aa3
This commit is contained in:
parent
cecf16e65e
commit
a593cddf52
|
@ -273,9 +273,9 @@ void spg_Reset(bool hard)
|
|||
|
||||
void scheduleRenderDone(TA_context *cntx)
|
||||
{
|
||||
if (cntx)
|
||||
int cycles = 4096;
|
||||
if (cntx != nullptr)
|
||||
{
|
||||
int cycles;
|
||||
if (settings.platform.isNaomi2()) {
|
||||
cycles = 1500000;
|
||||
}
|
||||
|
@ -284,12 +284,10 @@ void scheduleRenderDone(TA_context *cntx)
|
|||
int size = 0;
|
||||
for (TA_context *c = cntx; c != nullptr; c = c->nextContext)
|
||||
size += c->tad.thd_data - c->tad.thd_root;
|
||||
cycles = std::min(200000 + size * 3, 1500000);
|
||||
cycles = std::min(550000 + size * 100, 1500000);
|
||||
}
|
||||
sh4_sched_request(render_end_schid, cycles);
|
||||
}
|
||||
else
|
||||
sh4_sched_request(render_end_schid, 4096);
|
||||
sh4_sched_request(render_end_schid, cycles);
|
||||
}
|
||||
|
||||
void spg_Serialize(Serializer& ser)
|
||||
|
|
Loading…
Reference in New Issue