diff --git a/rpcs3/Emu/Cell/Modules/cellNetAoi.cpp b/rpcs3/Emu/Cell/Modules/cellNetAoi.cpp new file mode 100644 index 0000000000..5bfc44363c --- /dev/null +++ b/rpcs3/Emu/Cell/Modules/cellNetAoi.cpp @@ -0,0 +1,72 @@ +#include "stdafx.h" +#include "Emu/System.h" +#include "Emu/Cell/PPUModule.h" + +LOG_CHANNEL(cellNetAoi); + +s32 cellNetAoiDeletePeer() +{ + UNIMPLEMENTED_FUNC(cellNetAoi); + return CELL_OK; +} + +s32 cellNetAoiInit() +{ + UNIMPLEMENTED_FUNC(cellNetAoi); + return CELL_OK; +} + +s32 cellNetAoiGetPspTitleId() +{ + UNIMPLEMENTED_FUNC(cellNetAoi); + return CELL_OK; +} + +s32 cellNetAoiTerm() +{ + UNIMPLEMENTED_FUNC(cellNetAoi); + return CELL_OK; +} + +s32 cellNetAoiStop() +{ + UNIMPLEMENTED_FUNC(cellNetAoi); + return CELL_OK; +} + +s32 cellNetAoiGetRemotePeerInfo() +{ + UNIMPLEMENTED_FUNC(cellNetAoi); + return CELL_OK; +} + +s32 cellNetAoiStart() +{ + UNIMPLEMENTED_FUNC(cellNetAoi); + return CELL_OK; +} + +s32 cellNetAoiGetLocalInfo() +{ + UNIMPLEMENTED_FUNC(cellNetAoi); + return CELL_OK; +} + +s32 cellNetAoiAddPeer() +{ + UNIMPLEMENTED_FUNC(cellNetAoi); + return CELL_OK; +} + +DECLARE(ppu_module_manager::cellNetAoi)("cellNetAoi", []() +{ + REG_FUNC(cellNetAoi, cellNetAoiDeletePeer); + REG_FUNC(cellNetAoi, cellNetAoiInit); + REG_FUNC(cellNetAoi, cellNetAoiGetPspTitleId); + REG_FUNC(cellNetAoi, cellNetAoiTerm); + REG_FUNC(cellNetAoi, cellNetAoiStop); + REG_FUNC(cellNetAoi, cellNetAoiGetRemotePeerInfo); + REG_FUNC(cellNetAoi, cellNetAoiStart); + REG_FUNC(cellNetAoi, cellNetAoiGetLocalInfo); + REG_FUNC(cellNetAoi, cellNetAoiAddPeer); +}); diff --git a/rpcs3/Emu/Cell/PPUModule.cpp b/rpcs3/Emu/Cell/PPUModule.cpp index bb910c419b..d0d5ad0ad0 100644 --- a/rpcs3/Emu/Cell/PPUModule.cpp +++ b/rpcs3/Emu/Cell/PPUModule.cpp @@ -193,6 +193,7 @@ static void ppu_initialize_modules(const std::shared_ptr& link &ppu_module_manager::cellMusic, &ppu_module_manager::cellMusicDecode, &ppu_module_manager::cellMusicExport, + &ppu_module_manager::cellNetAoi, &ppu_module_manager::cellNetCtl, &ppu_module_manager::cellOskDialog, &ppu_module_manager::cellOvis, diff --git a/rpcs3/Emu/Cell/PPUModule.h b/rpcs3/Emu/Cell/PPUModule.h index 072de3e24d..a842107dd7 100644 --- a/rpcs3/Emu/Cell/PPUModule.h +++ b/rpcs3/Emu/Cell/PPUModule.h @@ -200,6 +200,7 @@ public: static const ppu_static_module cellMusic; static const ppu_static_module cellMusicDecode; static const ppu_static_module cellMusicExport; + static const ppu_static_module cellNetAoi; static const ppu_static_module cellNetCtl; static const ppu_static_module cellOskDialog; static const ppu_static_module cellOvis; diff --git a/rpcs3/emucore.vcxproj b/rpcs3/emucore.vcxproj index e9f3da365f..a4b8c8fd93 100644 --- a/rpcs3/emucore.vcxproj +++ b/rpcs3/emucore.vcxproj @@ -190,6 +190,7 @@ + diff --git a/rpcs3/emucore.vcxproj.filters b/rpcs3/emucore.vcxproj.filters index 9e8e56661f..fc9124514f 100644 --- a/rpcs3/emucore.vcxproj.filters +++ b/rpcs3/emucore.vcxproj.filters @@ -410,6 +410,9 @@ Emu\Cell\Modules + + Emu\Cell\Modules + Emu\Cell\Modules