Skip to content

Commit

Permalink
Eat some cycles when canceling/deleting fpls.
Browse files Browse the repository at this point in the history
Improves tests measuing timeouts remaining after delete.
  • Loading branch information
unknownbrackets committed Sep 2, 2014
1 parent c5b15cc commit 84231c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Core/HLE/sceKernelMemory.cpp
Expand Up @@ -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)
Expand Down Expand Up @@ -833,6 +834,8 @@ int sceKernelFreeFpl(SceUID uid, u32 blockPtr)

int sceKernelCancelFpl(SceUID uid, u32 numWaitThreadsPtr)
{
hleEatCycles(600);

u32 error;
FPL *fpl = kernelObjects.Get<FPL>(uid, error);
if (fpl)
Expand Down

0 comments on commit 84231c0

Please sign in to comment.