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

45 lines
919 B
C++
Raw Normal View History

2014-07-12 17:46:14 +10:00
#include "stdafx.h"
2016-03-21 22:43:03 +03:00
#include "Emu/Cell/PPUModule.h"
2016-05-13 16:55:34 +03:00
logs::channel cellOvis("cellOvis", logs::level::notice);
// Return Codes
enum
{
CELL_OVIS_ERROR_INVAL = 0x80410402,
CELL_OVIS_ERROR_ABORT = 0x8041040C,
CELL_OVIS_ERROR_ALIGN = 0x80410410,
};
2015-07-09 18:30:37 +03:00
s32 cellOvisGetOverlayTableSize(vm::cptr<char> elf)
{
2016-08-11 02:29:59 +03:00
cellOvis.todo("cellOvisGetOverlayTableSize(elf=%s)", elf);
return CELL_OK;
}
2015-07-09 18:30:37 +03:00
s32 cellOvisInitializeOverlayTable()
{
UNIMPLEMENTED_FUNC(cellOvis);
return CELL_OK;
}
2015-07-09 18:30:37 +03:00
s32 cellOvisFixSpuSegments()
{
UNIMPLEMENTED_FUNC(cellOvis);
return CELL_OK;
}
2015-07-09 18:30:37 +03:00
s32 cellOvisInvalidateOverlappedSegments()
{
UNIMPLEMENTED_FUNC(cellOvis);
return CELL_OK;
}
2016-03-21 22:43:03 +03:00
DECLARE(ppu_module_manager::cellOvis)("cellOvis", []()
{
REG_FUNC(cellOvis, cellOvisGetOverlayTableSize);
REG_FUNC(cellOvis, cellOvisInitializeOverlayTable);
REG_FUNC(cellOvis, cellOvisFixSpuSegments);
REG_FUNC(cellOvis, cellOvisInvalidateOverlappedSegments);
});