add a gazillion more error_code

This commit is contained in:
Megamouse 2020-07-16 12:14:57 +02:00
parent a00ebacef3
commit d854a39500
72 changed files with 2040 additions and 1349 deletions

View file

@ -62,7 +62,7 @@ s32 sys_process_is_stack(u32 p)
return (p >> 28) == 0xD;
}
s32 sys_process_get_paramsfo(vm::ptr<char> buffer)
error_code sys_process_get_paramsfo(vm::ptr<char> buffer)
{
sysPrxForUser.warning("sys_process_get_paramsfo(buffer=*0x%x)", buffer);
@ -70,7 +70,7 @@ s32 sys_process_get_paramsfo(vm::ptr<char> buffer)
return _sys_process_get_paramsfo(buffer);
}
s32 sys_get_random_number(vm::ptr<void> addr, u64 size)
error_code sys_get_random_number(vm::ptr<void> addr, u64 size)
{
sysPrxForUser.warning("sys_get_random_number(addr=*0x%x, size=%d)", addr, size);
@ -90,7 +90,7 @@ s32 sys_get_random_number(vm::ptr<void> addr, u64 size)
return CELL_OK;
}
s32 console_getc()
error_code console_getc()
{
sysPrxForUser.todo("console_getc()");
return CELL_OK;
@ -109,37 +109,37 @@ error_code console_write(vm::ptr<char> data, u32 len)
return CELL_OK;
}
s32 cellGamePs1Emu_61CE2BCD()
error_code cellGamePs1Emu_61CE2BCD()
{
UNIMPLEMENTED_FUNC(sysPrxForUser);
return CELL_OK;
}
s32 cellSysconfPs1emu_639ABBDE()
error_code cellSysconfPs1emu_639ABBDE()
{
UNIMPLEMENTED_FUNC(sysPrxForUser);
return CELL_OK;
}
s32 cellSysconfPs1emu_6A12D11F()
error_code cellSysconfPs1emu_6A12D11F()
{
UNIMPLEMENTED_FUNC(sysPrxForUser);
return CELL_OK;
}
s32 cellSysconfPs1emu_83E79A23()
error_code cellSysconfPs1emu_83E79A23()
{
UNIMPLEMENTED_FUNC(sysPrxForUser);
return CELL_OK;
}
s32 cellSysconfPs1emu_EFDDAF6C()
error_code cellSysconfPs1emu_EFDDAF6C()
{
UNIMPLEMENTED_FUNC(sysPrxForUser);
return CELL_OK;
}
s32 sys_lv2coredump_D725F320()
error_code sys_lv2coredump_D725F320()
{
fmt::raw_error(__func__);
}
@ -168,25 +168,25 @@ error_code sys_crash_dump_set_user_log_area(u8 index, vm::ptr<sys_crash_dump_log
return CELL_OK;
}
s32 sys_get_bd_media_id()
error_code sys_get_bd_media_id()
{
UNIMPLEMENTED_FUNC(sysPrxForUser);
return CELL_OK;
}
s32 sys_get_console_id()
error_code sys_get_console_id()
{
UNIMPLEMENTED_FUNC(sysPrxForUser);
return CELL_OK;
}
s32 sysPs2Disc_A84FD3C3()
error_code sysPs2Disc_A84FD3C3()
{
UNIMPLEMENTED_FUNC(sysPrxForUser);
return CELL_OK;
}
s32 sysPs2Disc_BB7CD1AE()
error_code sysPs2Disc_BB7CD1AE()
{
UNIMPLEMENTED_FUNC(sysPrxForUser);
return CELL_OK;