mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 19:45:20 +00:00
hle: Add cellPesmUtility module
This commit is contained in:
parent
6c40b9f3e0
commit
581b205f73
5 changed files with 120 additions and 0 deletions
114
rpcs3/Emu/Cell/Modules/cellPesmUtility.cpp
Normal file
114
rpcs3/Emu/Cell/Modules/cellPesmUtility.cpp
Normal file
|
@ -0,0 +1,114 @@
|
|||
#include "stdafx.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/Cell/PPUModule.h"
|
||||
|
||||
LOG_CHANNEL(cellPesmUtility);
|
||||
|
||||
s32 cellPesmCloseDevice()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellPesmUtility);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 cellPesmEncryptSample()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellPesmUtility);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 cellPesmEncryptSample2()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellPesmUtility);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 cellPesmEndMovieRec()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellPesmUtility);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 cellPesmFinalize()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellPesmUtility);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 cellPesmFinalize2()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellPesmUtility);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 cellPesmGetSinf()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellPesmUtility);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 cellPesmInitEntry()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellPesmUtility);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 cellPesmInitEntry2()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellPesmUtility);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 cellPesmInitialize()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellPesmUtility);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 cellPesmLoadAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellPesmUtility);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 cellPesmOpenDevice()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellPesmUtility);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 cellPesmPrepareRec()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellPesmUtility);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 cellPesmStartMovieRec()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellPesmUtility);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 cellPesmUnloadAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellPesmUtility);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
DECLARE(ppu_module_manager::cellPesmUtility)("cellPesmUtility", []()
|
||||
{
|
||||
REG_FUNC(cellPesmUtility, cellPesmInitialize);
|
||||
REG_FUNC(cellPesmUtility, cellPesmFinalize);
|
||||
REG_FUNC(cellPesmUtility, cellPesmLoadAsync);
|
||||
REG_FUNC(cellPesmUtility, cellPesmOpenDevice);
|
||||
REG_FUNC(cellPesmUtility, cellPesmEncryptSample);
|
||||
REG_FUNC(cellPesmUtility, cellPesmUnloadAsync);
|
||||
REG_FUNC(cellPesmUtility, cellPesmGetSinf);
|
||||
REG_FUNC(cellPesmUtility, cellPesmStartMovieRec);
|
||||
REG_FUNC(cellPesmUtility, cellPesmInitEntry);
|
||||
REG_FUNC(cellPesmUtility, cellPesmEndMovieRec);
|
||||
REG_FUNC(cellPesmUtility, cellPesmEncryptSample2);
|
||||
REG_FUNC(cellPesmUtility, cellPesmFinalize2);
|
||||
REG_FUNC(cellPesmUtility, cellPesmCloseDevice);
|
||||
REG_FUNC(cellPesmUtility, cellPesmInitEntry2);
|
||||
REG_FUNC(cellPesmUtility, cellPesmPrepareRec);
|
||||
});
|
|
@ -199,6 +199,7 @@ static void ppu_initialize_modules(const std::shared_ptr<ppu_linkage_info>& link
|
|||
&ppu_module_manager::cellOskDialog,
|
||||
&ppu_module_manager::cellOvis,
|
||||
&ppu_module_manager::cellPamf,
|
||||
&ppu_module_manager::cellPesmUtility,
|
||||
&ppu_module_manager::cellPhotoDecode,
|
||||
&ppu_module_manager::cellPhotoExport,
|
||||
&ppu_module_manager::cellPhotoImportUtil,
|
||||
|
|
|
@ -206,6 +206,7 @@ public:
|
|||
static const ppu_static_module cellOskDialog;
|
||||
static const ppu_static_module cellOvis;
|
||||
static const ppu_static_module cellPamf;
|
||||
static const ppu_static_module cellPesmUtility;
|
||||
static const ppu_static_module cellPhotoDecode;
|
||||
static const ppu_static_module cellPhotoExport;
|
||||
static const ppu_static_module cellPhotoImportUtil;
|
||||
|
|
|
@ -197,6 +197,7 @@
|
|||
<ClCompile Include="Emu\Cell\Modules\cellOvis.cpp" />
|
||||
<ClCompile Include="Emu\Cell\Modules\cellPad.cpp" />
|
||||
<ClCompile Include="Emu\Cell\Modules\cellPamf.cpp" />
|
||||
<ClCompile Include="Emu\Cell\Modules\cellPesmUtility.cpp" />
|
||||
<ClCompile Include="Emu\Cell\Modules\cellPhotoDecode.cpp" />
|
||||
<ClCompile Include="Emu\Cell\Modules\cellPhotoExport.cpp" />
|
||||
<ClCompile Include="Emu\Cell\Modules\cellPhotoImport.cpp" />
|
||||
|
|
|
@ -431,6 +431,9 @@
|
|||
<ClCompile Include="Emu\Cell\Modules\cellPamf.cpp">
|
||||
<Filter>Emu\Cell\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Emu\Cell\Modules\cellPesmUtility.cpp">
|
||||
<Filter>Emu\Cell\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Emu\Cell\Modules\cellPhotoDecode.cpp">
|
||||
<Filter>Emu\Cell\Modules</Filter>
|
||||
</ClCompile>
|
||||
|
|
Loading…
Add table
Reference in a new issue