mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 22:19:02 +00:00
PSP2
This commit is contained in:
parent
5c52521a0a
commit
38c444cfa1
133 changed files with 767 additions and 478 deletions
44
rpcs3/Emu/PSP2/Modules/sceTouch.cpp
Normal file
44
rpcs3/Emu/PSP2/Modules/sceTouch.cpp
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
#include "stdafx.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/PSP2/ARMv7Module.h"
|
||||
|
||||
#include "sceTouch.h"
|
||||
|
||||
logs::channel sceTouch("sceTouch", logs::level::notice);
|
||||
|
||||
s32 sceTouchGetPanelInfo(u32 port, vm::ptr<SceTouchPanelInfo> pPanelInfo)
|
||||
{
|
||||
throw EXCEPTION("");
|
||||
}
|
||||
|
||||
s32 sceTouchRead(u32 port, vm::ptr<SceTouchData> pData, u32 nBufs)
|
||||
{
|
||||
throw EXCEPTION("");
|
||||
}
|
||||
|
||||
s32 sceTouchPeek(u32 port, vm::ptr<SceTouchData> pData, u32 nBufs)
|
||||
{
|
||||
throw EXCEPTION("");
|
||||
}
|
||||
|
||||
s32 sceTouchSetSamplingState(u32 port, u32 state)
|
||||
{
|
||||
throw EXCEPTION("");
|
||||
}
|
||||
|
||||
s32 sceTouchGetSamplingState(u32 port, vm::ptr<u32> pState)
|
||||
{
|
||||
throw EXCEPTION("");
|
||||
}
|
||||
|
||||
|
||||
#define REG_FUNC(nid, name) REG_FNID(SceTouch, nid, name)
|
||||
|
||||
DECLARE(arm_module_manager::SceTouch)("SceTouch", []()
|
||||
{
|
||||
REG_FUNC(0x169A1D58, sceTouchRead);
|
||||
REG_FUNC(0xFF082DF0, sceTouchPeek);
|
||||
REG_FUNC(0x1B9C5D14, sceTouchSetSamplingState);
|
||||
REG_FUNC(0x26531526, sceTouchGetSamplingState);
|
||||
REG_FUNC(0x10A2CA25, sceTouchGetPanelInfo);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue