mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-07 15:36:26 +00:00
Partial commit: Modules (cell)
This commit is contained in:
parent
7e30a0f464
commit
5637c22363
140 changed files with 7290 additions and 8243 deletions
44
rpcs3/Emu/Cell/Modules/cellOvis.cpp
Normal file
44
rpcs3/Emu/Cell/Modules/cellOvis.cpp
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
#include "stdafx.h"
|
||||
#include "Emu/Cell/PPUModule.h"
|
||||
|
||||
LOG_CHANNEL(cellOvis);
|
||||
|
||||
// Return Codes
|
||||
enum
|
||||
{
|
||||
CELL_OVIS_ERROR_INVAL = 0x80410402,
|
||||
CELL_OVIS_ERROR_ABORT = 0x8041040C,
|
||||
CELL_OVIS_ERROR_ALIGN = 0x80410410,
|
||||
};
|
||||
|
||||
s32 cellOvisGetOverlayTableSize(vm::cptr<char> elf)
|
||||
{
|
||||
cellOvis.todo("cellOvisGetOverlayTableSize(elf=*0x%x)", elf);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 cellOvisInitializeOverlayTable()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellOvis);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 cellOvisFixSpuSegments()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellOvis);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 cellOvisInvalidateOverlappedSegments()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellOvis);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
DECLARE(ppu_module_manager::cellOvis)("cellOvis", []()
|
||||
{
|
||||
REG_FUNC(cellOvis, cellOvisGetOverlayTableSize);
|
||||
REG_FUNC(cellOvis, cellOvisInitializeOverlayTable);
|
||||
REG_FUNC(cellOvis, cellOvisFixSpuSegments);
|
||||
REG_FUNC(cellOvis, cellOvisInvalidateOverlappedSegments);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue