2017-03-25 23:25:52 +01:00
|
|
|
|
#include "stdafx.h"
|
2017-03-25 15:25:24 +01:00
|
|
|
|
#include "Emu/System.h"
|
|
|
|
|
|
#include "Emu/Cell/PPUModule.h"
|
|
|
|
|
|
|
|
|
|
|
|
logs::channel libmedi("libmedi", logs::level::notice);
|
|
|
|
|
|
|
2017-03-25 23:25:52 +01:00
|
|
|
|
s32 cellMediatorCloseContext()
|
2017-03-25 15:25:24 +01:00
|
|
|
|
{
|
|
|
|
|
|
libmedi.todo("cellMediatorCreateContext");
|
|
|
|
|
|
return CELL_OK;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2017-03-25 23:25:52 +01:00
|
|
|
|
s32 cellMediatorCreateContext()
|
2017-03-25 15:25:24 +01:00
|
|
|
|
{
|
2017-03-25 23:25:52 +01:00
|
|
|
|
libmedi.todo("cellMediatorCreateContext");
|
2017-03-25 15:25:24 +01:00
|
|
|
|
return CELL_OK;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2017-03-25 23:25:52 +01:00
|
|
|
|
s32 cellMediatorFlushCache()
|
2017-03-25 15:25:24 +01:00
|
|
|
|
{
|
2017-03-25 23:25:52 +01:00
|
|
|
|
libmedi.todo("cellMediatorFlushCache");
|
2017-03-25 15:25:24 +01:00
|
|
|
|
return CELL_OK;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2017-03-25 23:25:52 +01:00
|
|
|
|
s32 cellMediatorGetProviderUrl()
|
2017-03-25 15:25:24 +01:00
|
|
|
|
{
|
2017-03-25 23:25:52 +01:00
|
|
|
|
libmedi.todo("cellMediatorGetProviderUrl");
|
2017-03-25 15:25:24 +01:00
|
|
|
|
return CELL_OK;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2017-03-25 23:25:52 +01:00
|
|
|
|
s32 cellMediatorGetSignatureLength()
|
2017-03-25 15:25:24 +01:00
|
|
|
|
{
|
2017-03-25 23:25:52 +01:00
|
|
|
|
libmedi.todo("cellMediatorGetSignatureLength");
|
2017-03-25 15:25:24 +01:00
|
|
|
|
return CELL_OK;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2017-03-25 23:25:52 +01:00
|
|
|
|
s32 cellMediatorGetStatus()
|
2017-03-25 15:25:24 +01:00
|
|
|
|
{
|
2017-03-25 23:25:52 +01:00
|
|
|
|
libmedi.todo("cellMediatorGetStatus");
|
2017-03-25 15:25:24 +01:00
|
|
|
|
return CELL_OK;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2017-03-25 23:25:52 +01:00
|
|
|
|
s32 cellMediatorGetUserInfo()
|
2017-03-25 15:25:24 +01:00
|
|
|
|
{
|
2017-03-25 23:25:52 +01:00
|
|
|
|
libmedi.todo("cellMediatorGetUserInfo");
|
2017-03-25 15:25:24 +01:00
|
|
|
|
return CELL_OK;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2017-03-25 23:25:52 +01:00
|
|
|
|
s32 cellMediatorPostReports()
|
2017-03-25 15:25:24 +01:00
|
|
|
|
{
|
2017-03-25 23:25:52 +01:00
|
|
|
|
libmedi.todo("cellMediatorPostReports");
|
2017-03-25 15:25:24 +01:00
|
|
|
|
return CELL_OK;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2017-03-25 23:25:52 +01:00
|
|
|
|
s32 cellMediatorReliablePostReports()
|
2017-03-25 15:25:24 +01:00
|
|
|
|
{
|
2017-03-25 23:25:52 +01:00
|
|
|
|
libmedi.todo("cellMediatorReliablePostReports");
|
2017-03-25 15:25:24 +01:00
|
|
|
|
return CELL_OK;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2017-03-25 23:25:52 +01:00
|
|
|
|
s32 cellMediatorSign()
|
2017-03-25 15:25:24 +01:00
|
|
|
|
{
|
2017-03-25 23:25:52 +01:00
|
|
|
|
libmedi.todo("cellMediatorSign");
|
2017-03-25 15:25:24 +01:00
|
|
|
|
return CELL_OK;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DECLARE(ppu_module_manager::libmedi)("libmedi", []()
|
|
|
|
|
|
{
|
2017-03-25 23:25:52 +01:00
|
|
|
|
REG_FUNC(libmedi, cellMediatorCloseContext);
|
2017-03-25 15:25:24 +01:00
|
|
|
|
REG_FUNC(libmedi, cellMediatorCreateContext);
|
2017-03-25 23:25:52 +01:00
|
|
|
|
REG_FUNC(libmedi, cellMediatorFlushCache);
|
|
|
|
|
|
REG_FUNC(libmedi, cellMediatorGetProviderUrl);
|
2017-03-25 15:25:24 +01:00
|
|
|
|
REG_FUNC(libmedi, cellMediatorGetSignatureLength);
|
2017-03-25 23:25:52 +01:00
|
|
|
|
REG_FUNC(libmedi, cellMediatorGetStatus);
|
2017-03-25 15:25:24 +01:00
|
|
|
|
REG_FUNC(libmedi, cellMediatorGetUserInfo);
|
|
|
|
|
|
REG_FUNC(libmedi, cellMediatorPostReports);
|
|
|
|
|
|
REG_FUNC(libmedi, cellMediatorReliablePostReports);
|
2017-03-25 23:25:52 +01:00
|
|
|
|
REG_FUNC(libmedi, cellMediatorSign);
|
2017-03-25 15:25:24 +01:00
|
|
|
|
});
|