mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
Partial commit: Modules (cell)
This commit is contained in:
parent
7e30a0f464
commit
5637c22363
140 changed files with 7290 additions and 8243 deletions
55
rpcs3/Emu/Cell/Modules/cellKey2char.cpp
Normal file
55
rpcs3/Emu/Cell/Modules/cellKey2char.cpp
Normal file
|
@ -0,0 +1,55 @@
|
|||
#include "stdafx.h"
|
||||
#include "Emu/Cell/PPUModule.h"
|
||||
|
||||
LOG_CHANNEL(cellKey2char);
|
||||
|
||||
// Return Codes
|
||||
enum
|
||||
{
|
||||
CELL_K2C_OK = 0x00000000,
|
||||
CELL_K2C_ERROR_FATAL = 0x80121301,
|
||||
CELL_K2C_ERROR_INVALID_HANDLE = 0x80121302,
|
||||
CELL_K2C_ERROR_INVALID_PARAMETER = 0x80121303,
|
||||
CELL_K2C_ERROR_ALREADY_INITIALIZED = 0x80121304,
|
||||
CELL_K2C_ERROR_UNINITIALIZED = 0x80121305,
|
||||
CELL_K2C_ERROR_OTHER = 0x80121306,
|
||||
};
|
||||
|
||||
s32 cellKey2CharOpen()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellKey2char);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 cellKey2CharClose()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellKey2char);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 cellKey2CharGetChar()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellKey2char);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 cellKey2CharSetMode()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellKey2char);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 cellKey2CharSetArrangement()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellKey2char);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
DECLARE(ppu_module_manager::cellKey2char)("cellKey2char", []()
|
||||
{
|
||||
REG_FUNC(cellKey2char, cellKey2CharOpen);
|
||||
REG_FUNC(cellKey2char, cellKey2CharClose);
|
||||
REG_FUNC(cellKey2char, cellKey2CharGetChar);
|
||||
REG_FUNC(cellKey2char, cellKey2CharSetMode);
|
||||
REG_FUNC(cellKey2char, cellKey2CharSetArrangement);
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue