mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 15:31:26 +12:00
cellPrint module added
This commit is contained in:
parent
2eaf5cdc01
commit
08b6428d5c
3 changed files with 37 additions and 22 deletions
|
@ -43,6 +43,7 @@ extern Module cellPhotoExport;
|
||||||
extern Module cellPhotoImportUtil;
|
extern Module cellPhotoImportUtil;
|
||||||
extern Module cellPngDec;
|
extern Module cellPngDec;
|
||||||
extern Module cellPngEnc;
|
extern Module cellPngEnc;
|
||||||
|
extern Module cellPrint;
|
||||||
extern Module cellResc;
|
extern Module cellResc;
|
||||||
extern Module cellRtc;
|
extern Module cellRtc;
|
||||||
extern Module cellRudp;
|
extern Module cellRudp;
|
||||||
|
@ -199,7 +200,7 @@ const g_module_list[] =
|
||||||
{ 0xf023, "cellImeJpUtility", &cellImeJp },
|
{ 0xf023, "cellImeJpUtility", &cellImeJp },
|
||||||
{ 0xf028, "cellMusicUtility", &cellMusic },
|
{ 0xf028, "cellMusicUtility", &cellMusic },
|
||||||
{ 0xf029, "cellPhotoUtility", &cellPhotoExport },
|
{ 0xf029, "cellPhotoUtility", &cellPhotoExport },
|
||||||
{ 0xf02a, "cellPrint", nullptr },
|
{ 0xf02a, "cellPrintUtility", &cellPrint },
|
||||||
{ 0xf02b, "cellPhotoImportUtil", &cellPhotoImportUtil },
|
{ 0xf02b, "cellPhotoImportUtil", &cellPhotoImportUtil },
|
||||||
{ 0xf02c, "cellMusicExportUtility", &cellMusicExport },
|
{ 0xf02c, "cellMusicExportUtility", &cellMusicExport },
|
||||||
{ 0xf02e, "cellPhotoDecodeUtil", &cellPhotoDecode },
|
{ 0xf02e, "cellPhotoDecodeUtil", &cellPhotoDecode },
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#if 0
|
#include "Emu/Memory/Memory.h"
|
||||||
|
#include "Emu/SysCalls/Modules.h"
|
||||||
|
|
||||||
void cellPrint_init();
|
extern Module cellPrint;
|
||||||
Module cellPrint(0xf02a, cellPrint_init);
|
|
||||||
|
|
||||||
// Error Codes
|
// Error Codes
|
||||||
enum
|
enum
|
||||||
|
@ -17,80 +17,95 @@ enum
|
||||||
CELL_PRINT_ERROR_CANCELED_BY_PRINTER = 0x8002c408,
|
CELL_PRINT_ERROR_CANCELED_BY_PRINTER = 0x8002c408,
|
||||||
};
|
};
|
||||||
|
|
||||||
int cellPrintLoadAsync()
|
s32 cellSysutilPrintInit()
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED_FUNC(cellPrint);
|
UNIMPLEMENTED_FUNC(cellPrint);
|
||||||
return CELL_OK;
|
return CELL_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
int cellPrintLoadAsync2()
|
s32 cellSysutilPrintShutdown()
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED_FUNC(cellPrint);
|
UNIMPLEMENTED_FUNC(cellPrint);
|
||||||
return CELL_OK;
|
return CELL_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
int cellPrintUnloadAsync()
|
s32 cellPrintLoadAsync()
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED_FUNC(cellPrint);
|
UNIMPLEMENTED_FUNC(cellPrint);
|
||||||
return CELL_OK;
|
return CELL_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
int cellPrintGetStatus()
|
s32 cellPrintLoadAsync2()
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED_FUNC(cellPrint);
|
UNIMPLEMENTED_FUNC(cellPrint);
|
||||||
return CELL_OK;
|
return CELL_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
int cellPrintOpenConfig()
|
s32 cellPrintUnloadAsync()
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED_FUNC(cellPrint);
|
UNIMPLEMENTED_FUNC(cellPrint);
|
||||||
return CELL_OK;
|
return CELL_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
int cellPrintGetPrintableArea()
|
s32 cellPrintGetStatus()
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED_FUNC(cellPrint);
|
UNIMPLEMENTED_FUNC(cellPrint);
|
||||||
return CELL_OK;
|
return CELL_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
int cellPrintStartJob()
|
s32 cellPrintOpenConfig()
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED_FUNC(cellPrint);
|
UNIMPLEMENTED_FUNC(cellPrint);
|
||||||
return CELL_OK;
|
return CELL_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
int cellPrintEndJob()
|
s32 cellPrintGetPrintableArea()
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED_FUNC(cellPrint);
|
UNIMPLEMENTED_FUNC(cellPrint);
|
||||||
return CELL_OK;
|
return CELL_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
int cellPrintCancelJob()
|
s32 cellPrintStartJob()
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED_FUNC(cellPrint);
|
UNIMPLEMENTED_FUNC(cellPrint);
|
||||||
return CELL_OK;
|
return CELL_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
int cellPrintStartPage()
|
s32 cellPrintEndJob()
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED_FUNC(cellPrint);
|
UNIMPLEMENTED_FUNC(cellPrint);
|
||||||
return CELL_OK;
|
return CELL_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
int cellPrintEndPage()
|
s32 cellPrintCancelJob()
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED_FUNC(cellPrint);
|
UNIMPLEMENTED_FUNC(cellPrint);
|
||||||
return CELL_OK;
|
return CELL_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
int cellPrintSendBand()
|
s32 cellPrintStartPage()
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED_FUNC(cellPrint);
|
UNIMPLEMENTED_FUNC(cellPrint);
|
||||||
return CELL_OK;
|
return CELL_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
void cellPrint_init()
|
s32 cellPrintEndPage()
|
||||||
{
|
{
|
||||||
|
UNIMPLEMENTED_FUNC(cellPrint);
|
||||||
|
return CELL_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
s32 cellPrintSendBand()
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED_FUNC(cellPrint);
|
||||||
|
return CELL_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
Module cellPrint("cellPrint", []()
|
||||||
|
{
|
||||||
|
REG_FUNC(cellPrint, cellSysutilPrintInit);
|
||||||
|
REG_FUNC(cellPrint, cellSysutilPrintShutdown);
|
||||||
|
|
||||||
REG_FUNC(cellPrint, cellPrintLoadAsync);
|
REG_FUNC(cellPrint, cellPrintLoadAsync);
|
||||||
REG_FUNC(cellPrint, cellPrintLoadAsync2);
|
REG_FUNC(cellPrint, cellPrintLoadAsync2);
|
||||||
REG_FUNC(cellPrint, cellPrintUnloadAsync);
|
REG_FUNC(cellPrint, cellPrintUnloadAsync);
|
||||||
|
@ -103,5 +118,4 @@ void cellPrint_init()
|
||||||
REG_FUNC(cellPrint, cellPrintStartPage);
|
REG_FUNC(cellPrint, cellPrintStartPage);
|
||||||
REG_FUNC(cellPrint, cellPrintEndPage);
|
REG_FUNC(cellPrint, cellPrintEndPage);
|
||||||
REG_FUNC(cellPrint, cellPrintSendBand);
|
REG_FUNC(cellPrint, cellPrintSendBand);
|
||||||
}
|
});
|
||||||
#endif
|
|
||||||
|
|
|
@ -413,9 +413,6 @@
|
||||||
<ClCompile Include="Emu\SysCalls\ModuleManager.cpp">
|
<ClCompile Include="Emu\SysCalls\ModuleManager.cpp">
|
||||||
<Filter>Emu\SysCalls</Filter>
|
<Filter>Emu\SysCalls</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="Emu\SysCalls\Modules\cellPrint.cpp">
|
|
||||||
<Filter>Emu\SysCalls\currently_unused</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="Emu\SysCalls\Modules\libsnd3.cpp">
|
<ClCompile Include="Emu\SysCalls\Modules\libsnd3.cpp">
|
||||||
<Filter>Emu\SysCalls\currently_unused</Filter>
|
<Filter>Emu\SysCalls\currently_unused</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
@ -908,6 +905,9 @@
|
||||||
<ClCompile Include="Emu\SysCalls\Modules\cellPhotoImport.cpp">
|
<ClCompile Include="Emu\SysCalls\Modules\cellPhotoImport.cpp">
|
||||||
<Filter>Emu\SysCalls\Modules</Filter>
|
<Filter>Emu\SysCalls\Modules</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="Emu\SysCalls\Modules\cellPrint.cpp">
|
||||||
|
<Filter>Emu\SysCalls\Modules</Filter>
|
||||||
|
</ClCompile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="Crypto\aes.h">
|
<ClInclude Include="Crypto\aes.h">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue