diff --git a/rpcs3/Emu/Cell/Modules/cellDtcpIpUtility.cpp b/rpcs3/Emu/Cell/Modules/cellDtcpIpUtility.cpp new file mode 100644 index 0000000000..7aa4f62438 --- /dev/null +++ b/rpcs3/Emu/Cell/Modules/cellDtcpIpUtility.cpp @@ -0,0 +1,100 @@ +#include "stdafx.h" +#include "Emu/System.h" +#include "Emu/Cell/PPUModule.h" + +LOG_CHANNEL(cellDtcpIpUtility); + +s32 cellDtcpIpRead() +{ + UNIMPLEMENTED_FUNC(cellDtcpIpUtility); + return CELL_OK; +} + +s32 cellDtcpIpFinalize() +{ + UNIMPLEMENTED_FUNC(cellDtcpIpUtility); + return CELL_OK; +} + +s32 cellDtcpIpActivate() +{ + UNIMPLEMENTED_FUNC(cellDtcpIpUtility); + return CELL_OK; +} + +s32 cellDtcpIpOpen() +{ + UNIMPLEMENTED_FUNC(cellDtcpIpUtility); + return CELL_OK; +} + +s32 cellDtcpIpCheckActivation() +{ + UNIMPLEMENTED_FUNC(cellDtcpIpUtility); + return CELL_OK; +} + +s32 cellDtcpIpInitialize() +{ + UNIMPLEMENTED_FUNC(cellDtcpIpUtility); + return CELL_OK; +} + +s32 cellDtcpIpGetDecryptedData() +{ + UNIMPLEMENTED_FUNC(cellDtcpIpUtility); + return CELL_OK; +} + +s32 cellDtcpIpStopSequence() +{ + UNIMPLEMENTED_FUNC(cellDtcpIpUtility); + return CELL_OK; +} + +s32 cellDtcpIpSeek() +{ + UNIMPLEMENTED_FUNC(cellDtcpIpUtility); + return CELL_OK; +} + +s32 cellDtcpIpStartSequence() +{ + UNIMPLEMENTED_FUNC(cellDtcpIpUtility); + return CELL_OK; +} + +s32 cellDtcpIpSetEncryptedData() +{ + UNIMPLEMENTED_FUNC(cellDtcpIpUtility); + return CELL_OK; +} + +s32 cellDtcpIpClose() +{ + UNIMPLEMENTED_FUNC(cellDtcpIpUtility); + return CELL_OK; +} + +s32 cellDtcpIpSuspendActivationForDebug() +{ + UNIMPLEMENTED_FUNC(cellDtcpIpUtility); + return CELL_OK; +} + +DECLARE(ppu_module_manager::cellDtcpIpUtility)("cellDtcpIpUtility", []() +{ + REG_FUNC(cellDtcpIpUtility, cellDtcpIpRead); + REG_FUNC(cellDtcpIpUtility, cellDtcpIpFinalize); + REG_FUNC(cellDtcpIpUtility, cellDtcpIpActivate); + REG_FUNC(cellDtcpIpUtility, cellDtcpIpOpen); + REG_FUNC(cellDtcpIpUtility, cellDtcpIpCheckActivation); + REG_FUNC(cellDtcpIpUtility, cellDtcpIpInitialize); + REG_FUNC(cellDtcpIpUtility, cellDtcpIpGetDecryptedData); + REG_FUNC(cellDtcpIpUtility, cellDtcpIpStopSequence); + REG_FUNC(cellDtcpIpUtility, cellDtcpIpSeek); + REG_FUNC(cellDtcpIpUtility, cellDtcpIpStartSequence); + REG_FUNC(cellDtcpIpUtility, cellDtcpIpSetEncryptedData); + REG_FUNC(cellDtcpIpUtility, cellDtcpIpClose); + REG_FUNC(cellDtcpIpUtility, cellDtcpIpSuspendActivationForDebug); +}); diff --git a/rpcs3/Emu/Cell/PPUModule.cpp b/rpcs3/Emu/Cell/PPUModule.cpp index d0d5ad0ad0..94aeba990f 100644 --- a/rpcs3/Emu/Cell/PPUModule.cpp +++ b/rpcs3/Emu/Cell/PPUModule.cpp @@ -170,6 +170,7 @@ static void ppu_initialize_modules(const std::shared_ptr& link &ppu_module_manager::cellCrossController, &ppu_module_manager::cellDaisy, &ppu_module_manager::cellDmux, + &ppu_module_manager::cellDtcpIpUtility, &ppu_module_manager::cellFiber, &ppu_module_manager::cellFont, &ppu_module_manager::cellFontFT, diff --git a/rpcs3/Emu/Cell/PPUModule.h b/rpcs3/Emu/Cell/PPUModule.h index a842107dd7..e7faf6f849 100644 --- a/rpcs3/Emu/Cell/PPUModule.h +++ b/rpcs3/Emu/Cell/PPUModule.h @@ -177,6 +177,7 @@ public: static const ppu_static_module cellCrossController; static const ppu_static_module cellDaisy; static const ppu_static_module cellDmux; + static const ppu_static_module cellDtcpIpUtility; static const ppu_static_module cellFiber; static const ppu_static_module cellFont; static const ppu_static_module cellFontFT; diff --git a/rpcs3/emucore.vcxproj b/rpcs3/emucore.vcxproj index a4b8c8fd93..63f07e58dc 100644 --- a/rpcs3/emucore.vcxproj +++ b/rpcs3/emucore.vcxproj @@ -165,6 +165,7 @@ + diff --git a/rpcs3/emucore.vcxproj.filters b/rpcs3/emucore.vcxproj.filters index fc9124514f..7f9ecf10c4 100644 --- a/rpcs3/emucore.vcxproj.filters +++ b/rpcs3/emucore.vcxproj.filters @@ -335,6 +335,9 @@ Emu\Cell\Modules + + Emu\Cell\Modules + Emu\Cell\Modules