mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-12-06 07:12:28 +01:00
* 41 new dummy modules created.
NOTE: I have detached the previous 4 dummy modules of my last commit
(1a85ccbbf4) from the project since they will consume space of the
executable, and compilation time and don't provide anything useful yet,
the same applies to this commit. The only reason to provide this dummy
modules is to avoid that developers have to spend too much time on
creating the template of the module before implementing functions. If
you want to implement a function of any of these modules, add the
corresponding file to the project first.
51 lines
1.2 KiB
C++
51 lines
1.2 KiB
C++
#include "stdafx.h"
|
|
#include "Emu/SysCalls/SysCalls.h"
|
|
#include "Emu/SysCalls/SC_FUNC.h"
|
|
|
|
void cellPhotoDecode_init();
|
|
Module cellPhotoDecode(0xf02e, cellPhotoDecode_init);
|
|
|
|
// Return Codes
|
|
enum
|
|
{
|
|
CELL_PHOTO_DECODE_RET_OK = 0,
|
|
CELL_PHOTO_DECODE_RET_CANCEL = 1,
|
|
CELL_PHOTO_DECODE_ERROR_BUSY = 0x8002c901,
|
|
CELL_PHOTO_DECODE_ERROR_INTERNAL = 0x8002c902,
|
|
CELL_PHOTO_DECODE_ERROR_PARAM = 0x8002c903,
|
|
CELL_PHOTO_DECODE_ERROR_ACCESS_ERROR = 0x8002c904,
|
|
CELL_PHOTO_DECODE_ERROR_INITIALIZE = 0x8002c905,
|
|
CELL_PHOTO_DECODE_ERROR_DECODE = 0x8002c906,
|
|
};
|
|
|
|
int cellPhotoDecodeInitialize()
|
|
{
|
|
UNIMPLEMENTED_FUNC(cellPhotoDecode);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int cellPhotoDecodeInitialize2()
|
|
{
|
|
UNIMPLEMENTED_FUNC(cellPhotoDecode);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int cellPhotoDecodeFinalize()
|
|
{
|
|
UNIMPLEMENTED_FUNC(cellPhotoDecode);
|
|
return CELL_OK;
|
|
}
|
|
|
|
int cellPhotoDecodeFromFile()
|
|
{
|
|
UNIMPLEMENTED_FUNC(cellPhotoDecode);
|
|
return CELL_OK;
|
|
}
|
|
|
|
void cellPhotoDecode_init()
|
|
{
|
|
cellPhotoDecode.AddFunc(0x596f0a56, cellPhotoDecodeInitialize);
|
|
cellPhotoDecode.AddFunc(0x0f424ecb, cellPhotoDecodeInitialize2);
|
|
cellPhotoDecode.AddFunc(0xad7d8f38, cellPhotoDecodeFinalize);
|
|
cellPhotoDecode.AddFunc(0x28b22e44, cellPhotoDecodeFromFile);
|
|
} |