1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-24 11:43:05 +01:00

Merge pull request #174 from Nmzik/master

Added 2 new functions
This commit is contained in:
Alexandro Sánchez Bach 2014-04-06 21:58:58 +02:00
commit b6cda331c0
3 changed files with 16 additions and 0 deletions

View File

@ -18,6 +18,8 @@ void sys_io_init()
sys_io.AddFunc(0x578e3c98, cellPadSetPortSetting); sys_io.AddFunc(0x578e3c98, cellPadSetPortSetting);
sys_io.AddFunc(0x0e2dfaad, cellPadInfoPressMode); sys_io.AddFunc(0x0e2dfaad, cellPadInfoPressMode);
sys_io.AddFunc(0x78200559, cellPadInfoSensorMode); sys_io.AddFunc(0x78200559, cellPadInfoSensorMode);
sys_io.AddFunc(0xf83f8182, cellPadSetPressMode);
sys_io.AddFunc(0xbe5be3ba, cellPadSetSensorMode);
sys_io.AddFunc(0x433f6ec0, cellKbInit); sys_io.AddFunc(0x433f6ec0, cellKbInit);
sys_io.AddFunc(0xbfce3285, cellKbEnd); sys_io.AddFunc(0xbfce3285, cellKbEnd);

View File

@ -312,6 +312,8 @@ extern int cellPadGetInfo2(u32 info_addr);
extern int cellPadSetPortSetting(u32 port_no, u32 port_setting); extern int cellPadSetPortSetting(u32 port_no, u32 port_setting);
extern int cellPadInfoPressMode(u32 port_no); extern int cellPadInfoPressMode(u32 port_no);
extern int cellPadInfoSensorMode(u32 port_no); extern int cellPadInfoSensorMode(u32 port_no);
extern int cellPadSetPressMode(u32 port_no, u32 mode);
extern int cellPadSetSensorMode(u32 port_no, u32 mode);
//cellKb //cellKb
extern int cellKbInit(u32 max_connect); extern int cellKbInit(u32 max_connect);

View File

@ -255,4 +255,16 @@ int cellPadInfoSensorMode(u32 port_no)
{ {
sys_io.Error("cellPadInfoSensorMode(port_no=%d)", port_no); sys_io.Error("cellPadInfoSensorMode(port_no=%d)", port_no);
return CELL_OK; return CELL_OK;
}
int cellPadSetPressMode(u32 port_no, u32 mode)
{
sys_io.Error("cellPadSetPressMode(port_no=%d)", port_no);
return CELL_OK;
}
int cellPadSetSensorMode(u32 port_no, u32 mode)
{
sys_io.Error("cellPadSetPressMode(port_no=%d)", port_no);
return CELL_OK;
} }