mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-30 12:32:43 +00:00
Merge pull request #784 from tambry/cellNetCtlNetStart
Added cellNetCtlNetStartDialogLoadAsync and cellNetCtlNetStartDialogUnloadAsync
This commit is contained in:
commit
294d94a2d9
@ -1,6 +1,7 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/SysCalls/Modules.h"
|
||||
#include "Emu/System.h"
|
||||
|
||||
#include "cellNetCtl.h"
|
||||
|
||||
@ -52,7 +53,10 @@ int cellNetCtlGetInfo(s32 code, mem_ptr_t<CellNetCtlInfo> info)
|
||||
|
||||
int cellNetCtlNetStartDialogLoadAsync(mem_ptr_t<CellNetCtlNetStartDialogParam> param)
|
||||
{
|
||||
cellNetCtl->Todo("cellNetCtlNetStartDialogLoadAsync(param_addr=0x%x)", param.GetAddr());
|
||||
cellNetCtl->Warning("cellNetCtlNetStartDialogLoadAsync(param_addr=0x%x)", param.GetAddr());
|
||||
|
||||
// TODO: Actually sign into PSN
|
||||
Emu.GetCallbackManager().m_exit_callback.Handle(CELL_SYSUTIL_NET_CTL_NETSTART_FINISHED, 0);
|
||||
|
||||
return CELL_OK;
|
||||
}
|
||||
@ -66,7 +70,9 @@ int cellNetCtlNetStartDialogAbortAsync()
|
||||
|
||||
int cellNetCtlNetStartDialogUnloadAsync(mem_ptr_t<CellNetCtlNetStartDialogResult> result)
|
||||
{
|
||||
cellNetCtl->Todo("cellNetCtlNetStartDialogUnloadAsync(result_addr=0x%x)", result.GetAddr());
|
||||
cellNetCtl->Warning("cellNetCtlNetStartDialogUnloadAsync(result_addr=0x%x)", result.GetAddr());
|
||||
|
||||
Emu.GetCallbackManager().m_exit_callback.Handle(CELL_SYSUTIL_NET_CTL_NETSTART_UNLOADED, 0);
|
||||
|
||||
return CELL_OK;
|
||||
}
|
||||
|
@ -239,7 +239,7 @@ struct CellNetCtlNetStartDialogParam
|
||||
{
|
||||
be_t<u32> size;
|
||||
be_t<s32> type;
|
||||
be_t<u32> cid;
|
||||
be_t<u32> cid; // Unused
|
||||
};
|
||||
|
||||
struct CellNetCtlNetStartDialogResult
|
||||
|
Loading…
x
Reference in New Issue
Block a user