Some missing logs

This commit is contained in:
Nekotekina 2014-08-05 18:06:40 +04:00
parent bdc263bc34
commit 021656d821
2 changed files with 8 additions and 0 deletions

View file

@ -628,6 +628,8 @@ typedef struct{
int cellSysCacheClear(void)
{
cellSysutil->Warning("cellSysCacheClear()");
//if some software expects CELL_SYSCACHE_ERROR_NOTMOUNTED we need to check whether
//it was mounted before, for that we would need to save the state which I don't know
//where to put
@ -655,6 +657,8 @@ int cellSysCacheClear(void)
int cellSysCacheMount(mem_ptr_t<CellSysCacheParam> param)
{
cellSysutil->Warning("cellSysCacheMount(param_addr=0x%x)", param.GetAddr());
//TODO: implement
char id[CELL_SYSCACHE_ID_SIZE];
strncpy(id, param->cacheId, CELL_SYSCACHE_ID_SIZE);
@ -802,6 +806,8 @@ int cellSysutilGetBgmPlaybackStatus2(mem_ptr_t<CellSysutilBgmPlaybackStatus2> st
int cellWebBrowserEstimate2(mem8_ptr_t _config, mem32_ptr_t memSize)
{
cellSysutil->Warning("cellWebBrowserEstimate2(config_addr=0x%x, memSize_addr=0x%x)", _config.GetAddr(), memSize.GetAddr());
// TODO: When cellWebBrowser stuff is implemented, change this to some real
// needed memory buffer size.
*memSize = 1024 * 1024 * 1; // 1 MB

View file

@ -58,6 +58,8 @@ u64 get_system_time()
// Functions
s32 sys_time_get_timezone(mem32_t timezone, mem32_t summertime)
{
sys_time.Warning("sys_time_get_timezone(timezone_addr=0x%x, summertime_addr=0x%x)", timezone.GetAddr(), summertime.GetAddr());
int ret;
ret = cellSysutilGetSystemParamInt(0x0116, timezone); //0x0116 = CELL_SYSUTIL_SYSTEMPARAM_ID_TIMEZONE
if (ret != CELL_OK) return ret;