mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
sys_lv2dbg added, bugfix
This commit is contained in:
parent
daa93a7226
commit
4bacfcf847
46 changed files with 1484 additions and 1205 deletions
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
extern Module sys_io;
|
||||
|
||||
int cellMouseInit(u32 max_connect)
|
||||
s32 cellMouseInit(u32 max_connect)
|
||||
{
|
||||
sys_io.Warning("cellMouseInit(max_connect=%d)", max_connect);
|
||||
if(Emu.GetMouseManager().IsInited()) return CELL_MOUSE_ERROR_ALREADY_INITIALIZED;
|
||||
|
|
@ -19,7 +19,7 @@ int cellMouseInit(u32 max_connect)
|
|||
}
|
||||
|
||||
|
||||
int cellMouseClearBuf(u32 port_no)
|
||||
s32 cellMouseClearBuf(u32 port_no)
|
||||
{
|
||||
sys_io.Log("cellMouseClearBuf(port_no=%d)", port_no);
|
||||
if(!Emu.GetMouseManager().IsInited()) return CELL_MOUSE_ERROR_UNINITIALIZED;
|
||||
|
|
@ -30,7 +30,7 @@ int cellMouseClearBuf(u32 port_no)
|
|||
return CELL_OK;
|
||||
}
|
||||
|
||||
int cellMouseEnd()
|
||||
s32 cellMouseEnd()
|
||||
{
|
||||
sys_io.Log("cellMouseEnd()");
|
||||
if(!Emu.GetMouseManager().IsInited()) return CELL_MOUSE_ERROR_UNINITIALIZED;
|
||||
|
|
@ -38,7 +38,7 @@ int cellMouseEnd()
|
|||
return CELL_OK;
|
||||
}
|
||||
|
||||
int cellMouseGetInfo(vm::ptr<CellMouseInfo> info)
|
||||
s32 cellMouseGetInfo(vm::ptr<CellMouseInfo> info)
|
||||
{
|
||||
sys_io.Log("cellMouseGetInfo(info_addr=0x%x)", info.addr());
|
||||
if(!Emu.GetMouseManager().IsInited()) return CELL_MOUSE_ERROR_UNINITIALIZED;
|
||||
|
|
@ -54,7 +54,7 @@ int cellMouseGetInfo(vm::ptr<CellMouseInfo> info)
|
|||
return CELL_OK;
|
||||
}
|
||||
|
||||
int cellMouseInfoTabletMode(u32 port_no, vm::ptr<CellMouseInfoTablet> info)
|
||||
s32 cellMouseInfoTabletMode(u32 port_no, vm::ptr<CellMouseInfoTablet> info)
|
||||
{
|
||||
sys_io.Log("cellMouseInfoTabletMode(port_no=%d,info_addr=0x%x)", port_no, info.addr());
|
||||
if(!Emu.GetMouseManager().IsInited()) return CELL_MOUSE_ERROR_UNINITIALIZED;
|
||||
|
|
@ -66,7 +66,7 @@ int cellMouseInfoTabletMode(u32 port_no, vm::ptr<CellMouseInfoTablet> info)
|
|||
return CELL_OK;
|
||||
}
|
||||
|
||||
int cellMouseGetData(u32 port_no, vm::ptr<CellMouseData> data)
|
||||
s32 cellMouseGetData(u32 port_no, vm::ptr<CellMouseData> data)
|
||||
{
|
||||
sys_io.Log("cellMouseGetData(port_no=%d,data_addr=0x%x)", port_no, data.addr());
|
||||
if(!Emu.GetMouseManager().IsInited()) return CELL_MOUSE_ERROR_UNINITIALIZED;
|
||||
|
|
@ -88,28 +88,28 @@ int cellMouseGetData(u32 port_no, vm::ptr<CellMouseData> data)
|
|||
return CELL_OK;
|
||||
}
|
||||
|
||||
int cellMouseGetDataList(u32 port_no, vm::ptr<CellMouseDataList> data)
|
||||
s32 cellMouseGetDataList(u32 port_no, vm::ptr<CellMouseDataList> data)
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sys_io);
|
||||
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int cellMouseSetTabletMode(u32 port_no, u32 mode)
|
||||
s32 cellMouseSetTabletMode(u32 port_no, u32 mode)
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sys_io);
|
||||
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int cellMouseGetTabletDataList(u32 port_no, u32 data_addr)
|
||||
s32 cellMouseGetTabletDataList(u32 port_no, u32 data_addr)
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sys_io);
|
||||
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int cellMouseGetRawData(u32 port_no, u32 data_addr)
|
||||
s32 cellMouseGetRawData(u32 port_no, u32 data_addr)
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sys_io);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue