2020-12-05 13:08:24 +01:00
|
|
|
#include "stdafx.h"
|
2017-03-25 15:25:24 +01:00
|
|
|
#include "Emu/Cell/PPUModule.h"
|
|
|
|
|
|
2018-08-25 14:39:00 +02:00
|
|
|
LOG_CHANNEL(libmedi);
|
2017-03-25 15:25:24 +01:00
|
|
|
|
2020-07-16 12:14:57 +02:00
|
|
|
error_code cellMediatorCloseContext()
|
2017-03-25 15:25:24 +01:00
|
|
|
{
|
2017-03-26 11:08:51 +02:00
|
|
|
libmedi.todo("cellMediatorCloseContext");
|
2017-03-25 15:25:24 +01:00
|
|
|
return CELL_OK;
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-16 12:14:57 +02:00
|
|
|
error_code 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;
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-16 12:14:57 +02:00
|
|
|
error_code 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;
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-16 12:14:57 +02:00
|
|
|
error_code 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;
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-16 12:14:57 +02:00
|
|
|
error_code 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;
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-16 12:14:57 +02:00
|
|
|
error_code 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;
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-16 12:14:57 +02:00
|
|
|
error_code 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;
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-16 12:14:57 +02:00
|
|
|
error_code 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;
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-16 12:14:57 +02:00
|
|
|
error_code 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;
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-16 12:14:57 +02:00
|
|
|
error_code 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", []()
|
2025-04-05 21:50:45 +02:00
|
|
|
{
|
|
|
|
|
REG_FUNC(libmedi, cellMediatorCloseContext);
|
|
|
|
|
REG_FUNC(libmedi, cellMediatorCreateContext);
|
|
|
|
|
REG_FUNC(libmedi, cellMediatorFlushCache);
|
|
|
|
|
REG_FUNC(libmedi, cellMediatorGetProviderUrl);
|
|
|
|
|
REG_FUNC(libmedi, cellMediatorGetSignatureLength);
|
|
|
|
|
REG_FUNC(libmedi, cellMediatorGetStatus);
|
|
|
|
|
REG_FUNC(libmedi, cellMediatorGetUserInfo);
|
|
|
|
|
REG_FUNC(libmedi, cellMediatorPostReports);
|
|
|
|
|
REG_FUNC(libmedi, cellMediatorReliablePostReports);
|
|
|
|
|
REG_FUNC(libmedi, cellMediatorSign);
|
|
|
|
|
});
|