Logging, stubs and fixes

This commit is contained in:
Henrik Rydgard 2012-11-06 20:56:19 +01:00
parent d769297d06
commit 83fb5e96de
10 changed files with 94 additions and 25 deletions

View file

@ -133,3 +133,45 @@ u32 sceKernelUnlockMutex(u32 id, u32 count)
// TODO....
return 0;
}
struct NativeLwMutex
{
SceSize size;
char name[32];
SceUInt attr;
SceUID mutexUid;
SceUInt opaqueWorkAreaAddr;
int numWaitThreads;
int locked;
int threadid; // thread holding the lock
};
void sceKernelCreateLwMutex()
{
DEBUG_LOG(HLE,"UNIMPL sceKernelCreateLwMutex()");
RETURN(0);
}
void sceKernelDeleteLwMutex()
{
DEBUG_LOG(HLE,"UNIMPL sceKernelDeleteLwMutex()");
RETURN(0);
}
void sceKernelTryLockLwMutex()
{
DEBUG_LOG(HLE,"UNIMPL sceKernelTryLockLwMutex()");
RETURN(0);
}
void sceKernelLockLwMutex()
{
DEBUG_LOG(HLE,"UNIMPL sceKernelLockLwMutex()");
RETURN(0);
}
void sceKernelUnlockLwMutex()
{
DEBUG_LOG(HLE,"UNIMPL void sceKernelUnlockLwMutex()");
RETURN(0);
}