mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 02:03:47 +01:00
Eat some cycles when canceling/deleting fpls.
Improves tests measuing timeouts remaining after delete.
This commit is contained in:
1 parent
c5b15cc9fc
commit
84231c0188
1 file changed
+3
@@ -653,6 +653,7 @@ int sceKernelCreateFpl(const char *name, u32 mpid, u32 attr, u32 blockSize, u32
|
||||
|
||||
int sceKernelDeleteFpl(SceUID uid)
|
||||
{
|
||||
hleEatCycles(600);
|
||||
u32 error;
|
||||
FPL *fpl = kernelObjects.Get<FPL>(uid, error);
|
||||
if (fpl)
|
||||
@@ -833,6 +834,8 @@ retry:
|
||||
|
||||
int sceKernelCancelFpl(SceUID uid, u32 numWaitThreadsPtr)
|
||||
{
|
||||
hleEatCycles(600);
|
||||
|
||||
u32 error;
|
||||
FPL *fpl = kernelObjects.Get<FPL>(uid, error);
|
||||
if (fpl)
|
||||
|
||||
Reference in new issue
Block a user