rpcsx/rpcs3/Emu/Cell/Modules/cellPrint.cpp

121 lines
2.4 KiB
C++
Raw Normal View History

2014-07-12 09:46:14 +02:00
#include "stdafx.h"
2016-03-21 20:43:03 +01:00
#include "Emu/Cell/PPUModule.h"
2017-05-13 20:30:37 +02:00
logs::channel cellPrint("cellPrint");
// Error Codes
enum
{
2014-04-04 15:25:38 +02:00
CELL_PRINT_ERROR_INTERNAL = 0x8002c401,
CELL_PRINT_ERROR_NO_MEMORY = 0x8002c402,
CELL_PRINT_ERROR_PRINTER_NOT_FOUND = 0x8002c403,
CELL_PRINT_ERROR_INVALID_PARAM = 0x8002c404,
CELL_PRINT_ERROR_INVALID_FUNCTION = 0x8002c405,
CELL_PRINT_ERROR_NOT_SUPPORT = 0x8002c406,
CELL_PRINT_ERROR_OCCURRED = 0x8002c407,
CELL_PRINT_ERROR_CANCELED_BY_PRINTER = 0x8002c408,
};
2015-07-30 03:56:23 +02:00
s32 cellSysutilPrintInit()
{
UNIMPLEMENTED_FUNC(cellPrint);
return CELL_OK;
}
2015-07-30 03:56:23 +02:00
s32 cellSysutilPrintShutdown()
{
UNIMPLEMENTED_FUNC(cellPrint);
return CELL_OK;
}
2015-07-30 03:56:23 +02:00
s32 cellPrintLoadAsync()
{
UNIMPLEMENTED_FUNC(cellPrint);
return CELL_OK;
}
2015-07-30 03:56:23 +02:00
s32 cellPrintLoadAsync2()
{
UNIMPLEMENTED_FUNC(cellPrint);
return CELL_OK;
}
2015-07-30 03:56:23 +02:00
s32 cellPrintUnloadAsync()
{
UNIMPLEMENTED_FUNC(cellPrint);
return CELL_OK;
}
2015-07-30 03:56:23 +02:00
s32 cellPrintGetStatus()
{
UNIMPLEMENTED_FUNC(cellPrint);
return CELL_OK;
}
2015-07-30 03:56:23 +02:00
s32 cellPrintOpenConfig()
{
UNIMPLEMENTED_FUNC(cellPrint);
return CELL_OK;
}
2015-07-30 03:56:23 +02:00
s32 cellPrintGetPrintableArea()
{
UNIMPLEMENTED_FUNC(cellPrint);
return CELL_OK;
}
2015-07-30 03:56:23 +02:00
s32 cellPrintStartJob()
{
UNIMPLEMENTED_FUNC(cellPrint);
return CELL_OK;
}
2015-07-30 03:56:23 +02:00
s32 cellPrintEndJob()
{
UNIMPLEMENTED_FUNC(cellPrint);
return CELL_OK;
}
2015-07-30 03:56:23 +02:00
s32 cellPrintCancelJob()
{
UNIMPLEMENTED_FUNC(cellPrint);
return CELL_OK;
}
2015-07-30 03:56:23 +02:00
s32 cellPrintStartPage()
{
UNIMPLEMENTED_FUNC(cellPrint);
return CELL_OK;
}
2015-07-30 03:56:23 +02:00
s32 cellPrintEndPage()
{
2015-07-30 03:56:23 +02:00
UNIMPLEMENTED_FUNC(cellPrint);
return CELL_OK;
}
s32 cellPrintSendBand()
{
UNIMPLEMENTED_FUNC(cellPrint);
return CELL_OK;
}
2016-03-21 20:43:03 +01:00
DECLARE(ppu_module_manager::cellPrint)("cellPrintUtility", []()
{
REG_FUNC(cellPrintUtility, cellSysutilPrintInit);
REG_FUNC(cellPrintUtility, cellSysutilPrintShutdown);
REG_FUNC(cellPrintUtility, cellPrintLoadAsync);
REG_FUNC(cellPrintUtility, cellPrintLoadAsync2);
REG_FUNC(cellPrintUtility, cellPrintUnloadAsync);
REG_FUNC(cellPrintUtility, cellPrintGetStatus);
REG_FUNC(cellPrintUtility, cellPrintOpenConfig);
REG_FUNC(cellPrintUtility, cellPrintGetPrintableArea);
REG_FUNC(cellPrintUtility, cellPrintStartJob);
REG_FUNC(cellPrintUtility, cellPrintEndJob);
REG_FUNC(cellPrintUtility, cellPrintCancelJob);
REG_FUNC(cellPrintUtility, cellPrintStartPage);
REG_FUNC(cellPrintUtility, cellPrintEndPage);
REG_FUNC(cellPrintUtility, cellPrintSendBand);
2015-07-30 03:56:23 +02:00
});