mirror of
https://github.com/SysRay/psOff_public.git
synced 2024-11-23 06:19:41 +00:00
Stubs and functions
This commit is contained in:
parent
403d0a02ba
commit
8520d0a79c
@ -101,6 +101,14 @@ EXPORT SYSV_ABI float __NID(expf)(float val) {
|
||||
return std::expf(val);
|
||||
}
|
||||
|
||||
EXPORT SYSV_ABI float __NID(sinf)(float val) {
|
||||
return std::sinf(val);
|
||||
}
|
||||
|
||||
EXPORT SYSV_ABI float __NID(cosf)(float val) {
|
||||
return std::cosf(val);
|
||||
}
|
||||
|
||||
EXPORT SYSV_ABI int __NID(setjmp)(unwinding_jmp_buf* jb) {
|
||||
return 0;
|
||||
}
|
||||
|
9
modules/libSceNetCtlForNpToolkit/CMakeLists.txt
Normal file
9
modules/libSceNetCtlForNpToolkit/CMakeLists.txt
Normal file
@ -0,0 +1,9 @@
|
||||
cmake_minimum_required(VERSION 3.24)
|
||||
include(../setupModule.cmake)
|
||||
|
||||
set(libName libSceNetCtlForNpToolkit)
|
||||
project(${libName})
|
||||
|
||||
add_library(${libName} SHARED entry.cpp)
|
||||
|
||||
setupModule(${libName})
|
4
modules/libSceNetCtlForNpToolkit/codes.h
Normal file
4
modules/libSceNetCtlForNpToolkit/codes.h
Normal file
@ -0,0 +1,4 @@
|
||||
#pragma once
|
||||
#include <stdint.h>
|
||||
|
||||
namespace Err {} // namespace Err
|
16
modules/libSceNetCtlForNpToolkit/entry.cpp
Normal file
16
modules/libSceNetCtlForNpToolkit/entry.cpp
Normal file
@ -0,0 +1,16 @@
|
||||
#include "common.h"
|
||||
#include "logging.h"
|
||||
#include "types.h"
|
||||
|
||||
LOG_DEFINE_MODULE(libSceNetCtlForNpToolkit);
|
||||
|
||||
namespace {} // namespace
|
||||
|
||||
extern "C" {
|
||||
|
||||
EXPORT const char* MODULE_NAME = "libSceNetCtl";
|
||||
|
||||
EXPORT SYSV_ABI int sceNetCtlRegisterCallbackForNpToolkit() {
|
||||
return Ok;
|
||||
}
|
||||
}
|
2
modules/libSceNetCtlForNpToolkit/types.h
Normal file
2
modules/libSceNetCtlForNpToolkit/types.h
Normal file
@ -0,0 +1,2 @@
|
||||
#pragma once
|
||||
#include "codes.h"
|
9
modules/libSceUserServiceForNpToolkit/CMakeLists.txt
Normal file
9
modules/libSceUserServiceForNpToolkit/CMakeLists.txt
Normal file
@ -0,0 +1,9 @@
|
||||
cmake_minimum_required(VERSION 3.24)
|
||||
include(../setupModule.cmake)
|
||||
|
||||
set(libName libSceUserServiceForNpToolkit)
|
||||
project(${libName})
|
||||
|
||||
add_library(${libName} SHARED entry.cpp)
|
||||
|
||||
setupModule(${libName})
|
4
modules/libSceUserServiceForNpToolkit/codes.h
Normal file
4
modules/libSceUserServiceForNpToolkit/codes.h
Normal file
@ -0,0 +1,4 @@
|
||||
#pragma once
|
||||
#include <stdint.h>
|
||||
|
||||
namespace Err {} // namespace Err
|
16
modules/libSceUserServiceForNpToolkit/entry.cpp
Normal file
16
modules/libSceUserServiceForNpToolkit/entry.cpp
Normal file
@ -0,0 +1,16 @@
|
||||
#include "common.h"
|
||||
#include "logging.h"
|
||||
#include "types.h"
|
||||
|
||||
LOG_DEFINE_MODULE(libSceUserServiceForNpToolkit);
|
||||
|
||||
namespace {} // namespace
|
||||
|
||||
extern "C" {
|
||||
|
||||
EXPORT const char* MODULE_NAME = "libSceUserService";
|
||||
|
||||
EXPORT SYSV_ABI int sceUserServiceRegisterEventCallback() {
|
||||
return Ok;
|
||||
}
|
||||
}
|
2
modules/libSceUserServiceForNpToolkit/types.h
Normal file
2
modules/libSceUserServiceForNpToolkit/types.h
Normal file
@ -0,0 +1,2 @@
|
||||
#pragma once
|
||||
#include "codes.h"
|
Loading…
Reference in New Issue
Block a user