mirror of
https://github.com/libretro/ppsspp.git
synced 2024-12-04 15:06:25 +00:00
ded3fb5e12
Also some comment/logging fixes along the way.
51 lines
1.6 KiB
C++
51 lines
1.6 KiB
C++
// Copyright (c) 2012- PPSSPP Project.
|
|
|
|
// This program is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, version 2.0 or later versions.
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License 2.0 for more details.
|
|
|
|
// A copy of the GPL 2.0 should have been included with the program.
|
|
// If not, see http://www.gnu.org/licenses/
|
|
|
|
// Official git repository and contact information can be found at
|
|
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
|
|
|
#include "Core/HLE/HLE.h"
|
|
#include "Core/Reporting.h"
|
|
|
|
|
|
u32 sceP3daBridgeInit(u32 channelsNum, u32 samplesNum)
|
|
{
|
|
ERROR_LOG_REPORT(HLE, "UNIMPL sceP3daBridgeInit(%08x, %08x)", channelsNum, samplesNum);
|
|
return 0;
|
|
}
|
|
|
|
u32 sceP3daBridgeExit()
|
|
{
|
|
ERROR_LOG_REPORT(HLE, "UNIMPL sceP3daBridgeExit()");
|
|
return 0;
|
|
}
|
|
|
|
u32 sceP3daBridgeCore(u32 p3daCoreAddr, u32 channelsNum, u32 samplesNum, u32 inputAddr, u32 outputAddr)
|
|
{
|
|
ERROR_LOG_REPORT(HLE, "UNIMPL sceP3daBridgeCore(%08x, %08x, %08x, %08x, %08x)", p3daCoreAddr, channelsNum, samplesNum, inputAddr, outputAddr);
|
|
return 0;
|
|
}
|
|
|
|
const HLEFunction sceP3da[] =
|
|
{
|
|
{0x374500a5, WrapU_UU<sceP3daBridgeInit>, "sceP3daBridgeInit"},
|
|
{0x43F756a2, WrapU_V<sceP3daBridgeExit>, "sceP3daBridgeExit"},
|
|
{0x013016f3, WrapU_UUUUU<sceP3daBridgeCore>, "sceP3daBridgeCore"},
|
|
};
|
|
|
|
void Register_sceP3da()
|
|
{
|
|
RegisterModule("sceP3da", ARRAY_SIZE(sceP3da), sceP3da);
|
|
}
|