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

91 lines
1.9 KiB
C++
Raw Normal View History

2014-07-12 09:46:14 +02:00
#include "stdafx.h"
2016-03-21 20:43:03 +01:00
#include "Emu/Cell/PPUModule.h"
#include "cellSubdisplay.h"
2016-05-13 15:55:34 +02:00
logs::channel cellSubdisplay("cellSubdisplay", logs::level::notice);
2015-07-09 17:30:37 +02:00
s32 cellSubDisplayInit()
{
UNIMPLEMENTED_FUNC(cellSubdisplay);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 cellSubDisplayEnd()
{
UNIMPLEMENTED_FUNC(cellSubdisplay);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 cellSubDisplayGetRequiredMemory(vm::ptr<CellSubDisplayParam> pParam)
{
cellSubdisplay.warning("cellSubDisplayGetRequiredMemory(pParam=*0x%x)", pParam);
if (pParam->version == CELL_SUBDISPLAY_VERSION_0002)
{
return CELL_SUBDISPLAY_0002_MEMORY_CONTAINER_SIZE;
}
else
{
return CELL_SUBDISPLAY_0001_MEMORY_CONTAINER_SIZE;
}
}
2015-07-09 17:30:37 +02:00
s32 cellSubDisplayStart()
{
UNIMPLEMENTED_FUNC(cellSubdisplay);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 cellSubDisplayStop()
{
UNIMPLEMENTED_FUNC(cellSubdisplay);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 cellSubDisplayGetVideoBuffer()
{
UNIMPLEMENTED_FUNC(cellSubdisplay);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 cellSubDisplayAudioOutBlocking()
{
UNIMPLEMENTED_FUNC(cellSubdisplay);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 cellSubDisplayAudioOutNonBlocking()
{
UNIMPLEMENTED_FUNC(cellSubdisplay);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 cellSubDisplayGetPeerNum()
{
UNIMPLEMENTED_FUNC(cellSubdisplay);
return CELL_OK;
}
2015-07-09 17:30:37 +02:00
s32 cellSubDisplayGetPeerList()
{
UNIMPLEMENTED_FUNC(cellSubdisplay);
return CELL_OK;
}
2016-03-21 20:43:03 +01:00
DECLARE(ppu_module_manager::cellSubdisplay)("cellSubdisplay", []()
{
REG_FUNC(cellSubdisplay, cellSubDisplayInit);
REG_FUNC(cellSubdisplay, cellSubDisplayEnd);
REG_FUNC(cellSubdisplay, cellSubDisplayGetRequiredMemory);
REG_FUNC(cellSubdisplay, cellSubDisplayStart);
REG_FUNC(cellSubdisplay, cellSubDisplayStop);
REG_FUNC(cellSubdisplay, cellSubDisplayGetVideoBuffer);
REG_FUNC(cellSubdisplay, cellSubDisplayAudioOutBlocking);
REG_FUNC(cellSubdisplay, cellSubDisplayAudioOutNonBlocking);
REG_FUNC(cellSubdisplay, cellSubDisplayGetPeerNum);
REG_FUNC(cellSubdisplay, cellSubDisplayGetPeerList);
});