rpcsx/rpcs3/Emu/SysCalls/Modules/cellOvis.cpp
Nekotekina 12f36cf31f Experimental class template Module<T>
Allocates ps3 memory for specific instance T
2015-09-22 13:28:31 +03:00

48 lines
943 B
C++

#include "stdafx.h"
#include "Emu/Memory/Memory.h"
#include "Emu/SysCalls/Modules.h"
namespace vm { using namespace ps3; }
extern Module<> 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;
}
Module<> cellOvis("cellOvis", []()
{
REG_FUNC(cellOvis, cellOvisGetOverlayTableSize);
REG_FUNC(cellOvis, cellOvisInitializeOverlayTable);
REG_FUNC(cellOvis, cellOvisFixSpuSegments);
REG_FUNC(cellOvis, cellOvisInvalidateOverlappedSegments);
});