some dummy HLE functions and implementations in libc

This commit is contained in:
georgemoralis 2023-07-26 23:52:26 +03:00
parent 7dc1f0a47b
commit 5b0e627dc0
5 changed files with 66 additions and 18 deletions

View file

@ -2,6 +2,7 @@
#include "LibKernel.h"
#include "Libs.h"
#include "../../../Debug.h"
#include "../../../Util/Log.h"
namespace HLE::Libs::LibKernel {
@ -27,7 +28,8 @@ namespace HLE::Libs::LibKernel {
int PS4_SYSV_ABI sceKernelCreateEqueue(/* SceKernelEqueue* eq*/ int eq, const char* name)
{
BREAKPOINT();
//BREAKPOINT();
LOG_INFO_IF(true, "dummy sceKernelCreateEqueue\n");
return 0;
}
int PS4_SYSV_ABI sceKernelWaitEqueue(/*SceKernelEqueue eq, SceKernelEvent* ev,*/ int num, int* out /*, SceKernelUseconds* timo*/)
@ -37,8 +39,8 @@ namespace HLE::Libs::LibKernel {
}
int PS4_SYSV_ABI sceKernelIsNeoMode()
{
BREAKPOINT();
return 0;
//BREAKPOINT();
return 0; //it isn't PS4VR TODO
}
static PS4_SYSV_ABI void stack_chk_fail() { BREAKPOINT();