mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-19 18:36:53 +02:00
Stub RazorCpu profiling markers in a dedicated library
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
#include "common/abi.h"
|
||||
#include "common/common.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "libs/libs.h"
|
||||
#include "loader/symbolDatabase.h"
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace Libs {
|
||||
|
||||
namespace LibRazorCpu {
|
||||
@@ -16,8 +16,18 @@ static KYTY_SYSV_ABI uint32_t RazorCpuIsCapturing() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int KYTY_SYSV_ABI RazorCpuPopMarker() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int KYTY_SYSV_ABI RazorCpuPushMarker(const char*, uint32_t, uint32_t) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
LIB_DEFINE(InitRazorCpu_1) {
|
||||
LIB_FUNC("EboejOQvLL4", LibRazorCpu::RazorCpuIsCapturing);
|
||||
LIB_FUNC("YpkGsMXP3ew", LibRazorCpu::RazorCpuPopMarker);
|
||||
LIB_FUNC("zw+celG7zSI", LibRazorCpu::RazorCpuPushMarker);
|
||||
}
|
||||
|
||||
} // namespace LibRazorCpu
|
||||
Reference in New Issue
Block a user