added configuration class

This commit is contained in:
wheremyfoodat 2023-08-14 20:17:01 +03:00 committed by georgemoralis
parent 6a5308d521
commit a0ab3dbc0c
8 changed files with 86 additions and 6 deletions

View file

@ -6,6 +6,7 @@
#include "Kernel/memory_management.h"
#include "../../../Util/Singleton.h"
#include "Kernel/Objects/physical_memory.h"
#include "Util/config.h"
namespace HLE::Libs::LibKernel {
@ -29,9 +30,9 @@ namespace HLE::Libs::LibKernel {
}
int PS4_SYSV_ABI sceKernelIsNeoMode()
{
//BREAKPOINT();
PRINT_DUMMY_FUNCTION_NAME();
return 0; //it isn't PS4VR TODO
PRINT_FUNCTION_NAME();
bool isNeo = Config::isNeoMode();
return isNeo ? 1 : 0;
}
static PS4_SYSV_ABI void stack_chk_fail() { BREAKPOINT();