hle: Add cellPesmUtility module

This commit is contained in:
scribam 2019-03-24 14:09:08 +01:00 committed by Ivan
parent 6c40b9f3e0
commit 581b205f73
5 changed files with 120 additions and 0 deletions

View 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);
});

View file

@ -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,

View file

@ -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;

View file

@ -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" />

View file

@ -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>