Some functions added

This commit is contained in:
Nekotekina 2015-01-29 20:42:51 +03:00
parent 62c8f2ac34
commit 6c40dc0631
6 changed files with 474 additions and 43 deletions

View file

@ -4,6 +4,22 @@
extern psv_log_base sceAudioIn;
s32 sceAudioInOpenPort(s32 portType, s32 grain, s32 freq, s32 param)
{
throw __FUNCTION__;
}
s32 sceAudioInReleasePort(s32 port)
{
throw __FUNCTION__;
}
s32 sceAudioInInput(s32 port, vm::psv::ptr<void> destPtr)
{
throw __FUNCTION__;
}
#define REG_FUNC(nid, name) reg_psv_func(nid, &sceAudioIn, #name, name)
psv_log_base sceAudioIn("SceAudioIn", []()
@ -12,8 +28,8 @@ psv_log_base sceAudioIn("SceAudioIn", []()
sceAudioIn.on_unload = nullptr;
sceAudioIn.on_stop = nullptr;
//REG_FUNC(0x638ADD2D, sceAudioInInput);
//REG_FUNC(0x39B50DC1, sceAudioInOpenPort);
//REG_FUNC(0x3A61B8C4, sceAudioInReleasePort);
REG_FUNC(0x638ADD2D, sceAudioInInput);
REG_FUNC(0x39B50DC1, sceAudioInOpenPort);
REG_FUNC(0x3A61B8C4, sceAudioInReleasePort);
//REG_FUNC(0x566AC433, sceAudioInGetAdopt);
});