mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-09 02:01:07 +01:00
[orbis-kernel] implement sys_get_sdk_compiled_version and sys_budget_get_ptype_of_budget
This commit is contained in:
parent
4a40c2256f
commit
f8afd67812
|
|
@ -758,11 +758,11 @@ SysResult sys_set_chicken_switches(Thread *thread /* TODO */);
|
|||
SysResult sys_extend_page_table_pool(Thread *thread);
|
||||
SysResult sys_extend_page_table_pool2(Thread *thread);
|
||||
SysResult sys_get_kernel_mem_statistics(Thread *thread /* TODO */);
|
||||
SysResult sys_get_sdk_compiled_version(Thread *thread /* TODO */);
|
||||
SysResult sys_get_sdk_compiled_version(Thread *thread, ptr<const char> path);
|
||||
SysResult sys_app_state_change(Thread *thread /* TODO */);
|
||||
SysResult sys_dynlib_get_obj_member(Thread *thread, SceKernelModule handle,
|
||||
uint64_t index, ptr<ptr<void>> addrp);
|
||||
SysResult sys_budget_get_ptype_of_budget(Thread *thread /* TODO */);
|
||||
SysResult sys_budget_get_ptype_of_budget(Thread *thread, sint budgetId);
|
||||
SysResult sys_prepare_to_resume_process(Thread *thread /* TODO */);
|
||||
SysResult sys_process_terminate(Thread *thread /* TODO */);
|
||||
SysResult sys_blockpool_open(Thread *thread);
|
||||
|
|
|
|||
|
|
@ -1226,8 +1226,10 @@ orbis::sys_get_kernel_mem_statistics(Thread *thread /* TODO */) {
|
|||
return ErrorCode::NOSYS;
|
||||
}
|
||||
orbis::SysResult
|
||||
orbis::sys_get_sdk_compiled_version(Thread *thread /* TODO */) {
|
||||
return ErrorCode::NOSYS;
|
||||
orbis::sys_get_sdk_compiled_version(Thread *thread, ptr<const char> path) {
|
||||
ORBIS_LOG_ERROR(__FUNCTION__, path);
|
||||
thread->retval[0] = g_context.sdkVersion;
|
||||
return {};
|
||||
}
|
||||
orbis::SysResult orbis::sys_app_state_change(Thread *thread /* TODO */) {
|
||||
return ErrorCode::NOSYS;
|
||||
|
|
@ -1243,8 +1245,10 @@ orbis::SysResult orbis::sys_dynlib_get_obj_member(Thread *thread,
|
|||
return ErrorCode::NOSYS;
|
||||
}
|
||||
orbis::SysResult
|
||||
orbis::sys_budget_get_ptype_of_budget(Thread *thread /* TODO */) {
|
||||
return ErrorCode::NOSYS;
|
||||
orbis::sys_budget_get_ptype_of_budget(Thread *thread, sint budgetId) {
|
||||
ORBIS_LOG_WARNING(__FUNCTION__, budgetId);
|
||||
thread->retval[0] = budgetId;
|
||||
return {};
|
||||
}
|
||||
orbis::SysResult
|
||||
orbis::sys_prepare_to_resume_process(Thread *thread /* TODO */) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue