mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 14:37:08 +00:00
Some functions added
This commit is contained in:
parent
6c40dc0631
commit
74b6d5c2ed
15 changed files with 2167 additions and 331 deletions
|
|
@ -4,6 +4,33 @@
|
|||
|
||||
extern psv_log_base sceCodecEngine;
|
||||
|
||||
struct SceCodecEnginePmonProcessorLoad
|
||||
{
|
||||
u32 size;
|
||||
u32 average;
|
||||
};
|
||||
|
||||
s32 sceCodecEnginePmonStart()
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceCodecEnginePmonStop()
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceCodecEnginePmonGetProcessorLoad(vm::psv::ptr<SceCodecEnginePmonProcessorLoad> pProcessorLoad)
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
s32 sceCodecEnginePmonReset()
|
||||
{
|
||||
throw __FUNCTION__;
|
||||
}
|
||||
|
||||
|
||||
#define REG_FUNC(nid, name) reg_psv_func(nid, &sceCodecEngine, #name, name)
|
||||
|
||||
psv_log_base sceCodecEngine("SceCodecEngine", []()
|
||||
|
|
@ -12,8 +39,8 @@ psv_log_base sceCodecEngine("SceCodecEngine", []()
|
|||
sceCodecEngine.on_unload = nullptr;
|
||||
sceCodecEngine.on_stop = nullptr;
|
||||
|
||||
//REG_FUNC(0x3E718890, sceCodecEnginePmonStart);
|
||||
//REG_FUNC(0x268B1EF5, sceCodecEnginePmonStop);
|
||||
//REG_FUNC(0x859E4A68, sceCodecEnginePmonGetProcessorLoad);
|
||||
//REG_FUNC(0xA097E4C8, sceCodecEnginePmonReset);
|
||||
REG_FUNC(0x3E718890, sceCodecEnginePmonStart);
|
||||
REG_FUNC(0x268B1EF5, sceCodecEnginePmonStop);
|
||||
REG_FUNC(0x859E4A68, sceCodecEnginePmonGetProcessorLoad);
|
||||
REG_FUNC(0xA097E4C8, sceCodecEnginePmonReset);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue