mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
[orbis-kernel] reduced log spam
fixed rmdir
This commit is contained in:
parent
d6a4d74d10
commit
0f86008b9b
8 changed files with 105 additions and 52 deletions
|
|
@ -460,7 +460,7 @@ orbis::SysResult orbis::sys_osem_close(Thread *thread, sint id) {
|
|||
}
|
||||
orbis::SysResult orbis::sys_osem_wait(Thread *thread, sint id, sint need,
|
||||
ptr<uint> pTimeout) {
|
||||
ORBIS_LOG_NOTICE(__FUNCTION__, thread, id, need, pTimeout);
|
||||
ORBIS_LOG_TRACE(__FUNCTION__, thread, id, need, pTimeout);
|
||||
Ref<Semaphore> sem = thread->tproc->semMap.get(id);
|
||||
if (need < 1 || need > sem->maxValue)
|
||||
return ErrorCode::INVAL;
|
||||
|
|
@ -510,7 +510,7 @@ orbis::SysResult orbis::sys_osem_wait(Thread *thread, sint id, sint need,
|
|||
}
|
||||
|
||||
if (timedout) {
|
||||
return ErrorCode::TIMEDOUT;
|
||||
return SysResult::notAnError(ErrorCode::TIMEDOUT);
|
||||
}
|
||||
return {};
|
||||
}
|
||||
|
|
@ -863,8 +863,8 @@ struct mdbg_property {
|
|||
|
||||
orbis::SysResult orbis::sys_mdbg_service(Thread *thread, uint32_t op,
|
||||
ptr<void> arg0, ptr<void> arg1) {
|
||||
ORBIS_LOG_NOTICE("sys_mdbg_service", thread->tid, op, arg0, arg1);
|
||||
thread->where();
|
||||
// ORBIS_LOG_NOTICE("sys_mdbg_service", thread->tid, op, arg0, arg1);
|
||||
// thread->where();
|
||||
|
||||
switch (op) {
|
||||
case 1: {
|
||||
|
|
|
|||
|
|
@ -82,16 +82,24 @@ orbis::SysResult orbis::sys_clock_gettime(Thread *, clockid_t clock_id,
|
|||
result = getHostClock(CLOCK_PROCESS_CPUTIME_ID);
|
||||
break;
|
||||
case ClockId::Network:
|
||||
ORBIS_LOG_ERROR("Unimplemented ClockId::Network\n");
|
||||
// TODO
|
||||
// ORBIS_LOG_ERROR("Unimplemented ClockId::Network");
|
||||
result = getHostClock(CLOCK_PROCESS_CPUTIME_ID);
|
||||
break;
|
||||
case ClockId::DebugNetwork:
|
||||
ORBIS_LOG_ERROR("Unimplemented ClockId::DebugNetwork\n");
|
||||
// TODO
|
||||
// ORBIS_LOG_ERROR("Unimplemented ClockId::DebugNetwork");
|
||||
result = getHostClock(CLOCK_PROCESS_CPUTIME_ID);
|
||||
break;
|
||||
case ClockId::AdNetwork:
|
||||
ORBIS_LOG_ERROR("Unimplemented ClockId::AdNetwork\n");
|
||||
// TODO
|
||||
// ORBIS_LOG_ERROR("Unimplemented ClockId::AdNetwork");
|
||||
result = getHostClock(CLOCK_PROCESS_CPUTIME_ID);
|
||||
break;
|
||||
case ClockId::RawNetwork:
|
||||
ORBIS_LOG_ERROR("Unimplemented ClockId::RawNetwork\n");
|
||||
// TODO
|
||||
// ORBIS_LOG_ERROR("Unimplemented ClockId::RawNetwork");
|
||||
result = getHostClock(CLOCK_PROCESS_CPUTIME_ID);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue