rpcsx/rpcs3/Emu/PSP2/Modules/sceAudioIn.cpp

34 lines
754 B
C++
Raw Normal View History

#include "stdafx.h"
#include "Emu/System.h"
2016-05-13 12:17:26 +02:00
#include "Emu/PSP2/ARMv7Module.h"
2015-06-21 01:04:01 +02:00
#include "sceAudioIn.h"
2017-05-13 20:30:37 +02:00
logs::channel sceAudioIn("sceAudioIn");
2016-02-01 22:53:16 +01:00
2015-01-29 18:42:51 +01:00
s32 sceAudioInOpenPort(s32 portType, s32 grain, s32 freq, s32 param)
{
fmt::throw_exception("Unimplemented" HERE);
2015-01-29 18:42:51 +01:00
}
s32 sceAudioInReleasePort(s32 port)
{
fmt::throw_exception("Unimplemented" HERE);
2015-01-29 18:42:51 +01:00
}
2015-06-21 01:04:01 +02:00
s32 sceAudioInInput(s32 port, vm::ptr<void> destPtr)
2015-01-29 18:42:51 +01:00
{
fmt::throw_exception("Unimplemented" HERE);
2015-01-29 18:42:51 +01:00
}
2016-02-01 22:53:16 +01:00
#define REG_FUNC(nid, name) REG_FNID(SceAudioIn, nid, name)
2016-02-01 22:53:16 +01:00
DECLARE(arm_module_manager::SceAudioIn)("SceAudioIn", []()
{
2015-01-29 18:42:51 +01:00
REG_FUNC(0x638ADD2D, sceAudioInInput);
REG_FUNC(0x39B50DC1, sceAudioInOpenPort);
REG_FUNC(0x3A61B8C4, sceAudioInReleasePort);
//REG_FUNC(0x566AC433, sceAudioInGetAdopt);
});