[noexcept] Don't throw on unimplemented HLE functions.

Getting rid of exceptions.
This commit is contained in:
Nekotekina 2019-09-02 14:41:57 +03:00
parent 0dfe85dc14
commit a5be410e3f
26 changed files with 550 additions and 284 deletions

View file

@ -62,22 +62,26 @@ s32 _sys_heap_free(u32 heap, u32 addr)
s32 _sys_heap_alloc_heap_memory()
{
fmt::throw_exception("Unimplemented" HERE);
sysPrxForUser.todo("_sys_heap_alloc_heap_memory()");
return CELL_OK;
}
s32 _sys_heap_get_mallinfo()
{
fmt::throw_exception("Unimplemented" HERE);
sysPrxForUser.todo("_sys_heap_get_mallinfo()");
return CELL_OK;
}
s32 _sys_heap_get_total_free_size()
{
fmt::throw_exception("Unimplemented" HERE);
sysPrxForUser.todo("_sys_heap_get_total_free_size()");
return CELL_OK;
}
s32 _sys_heap_stats()
{
fmt::throw_exception("Unimplemented" HERE);
sysPrxForUser.todo("_sys_heap_stats()");
return CELL_OK;
}
void sysPrxForUser_sys_heap_init()