mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-28 01:35:00 +02:00
Merge pull request #14413 from unknownbrackets/savedata
Savedata: Eat less cycles in savedata init
This commit is contained in:
@@ -332,8 +332,8 @@ static int UtilityWorkUs(int us) {
|
||||
// This blocks, but other better priority threads can get time.
|
||||
// Simulate this by allowing a reschedule.
|
||||
if (us > 1000) {
|
||||
hleEatMicro(us - 400);
|
||||
return hleDelayResult(0, "utility work", 400);
|
||||
hleEatMicro(1000);
|
||||
return hleDelayResult(0, "utility work", us - 1000);
|
||||
}
|
||||
hleEatMicro(us);
|
||||
hleReSchedule("utility work");
|
||||
|
||||
Reference in New Issue
Block a user