2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00
yuzu/src
Lioncash 4ef2af8c98 svc: Implement svcCreateResourceLimit()
This function simply creates a ResourceLimit instance and attempts to
create a handle for it within the current process' handle table. If the
kernal fails to either create the ResourceLimit instance or create a
handle for the ResourceLimit instance, it returns a failure code
(OUT_OF_RESOURCE, and HANDLE_TABLE_FULL respectively). Finally, it exits
by providing the output parameter with the handle value for the
ResourceLimit instance and returning that it was successful.

Note: We do not return OUT_OF_RESOURCE because, if yuzu runs out of
available memory, then new will currently throw. We *could* allocate the
kernel instance with std::nothrow, however this would be inconsistent
with how all other kernel objects are currently allocated.
2018-11-26 21:10:31 -05:00
..
audio_core audio_core/audio_renderer: Fix typo in AuxInfo member name 2018-11-13 13:32:13 -05:00
common Merge pull request #1773 from lioncash/thread 2018-11-23 08:52:05 -08:00
core svc: Implement svcCreateResourceLimit() 2018-11-26 21:10:31 -05:00
input_common
tests global: Use std::optional instead of boost::optional (#1578) 2018-10-30 00:03:25 -04:00
video_core Merge pull request #1763 from ReinUsesLisp/bfi 2018-11-25 23:04:57 -05:00
web_service compatdb: Use a seperate endpoint for testcase submission 2018-10-28 13:23:02 +01:00
yuzu Merge pull request #1725 from FernandoS27/gl43 2018-11-23 23:56:57 -05:00
yuzu_cmd Merge pull request #1725 from FernandoS27/gl43 2018-11-23 23:56:57 -05:00
.clang-format
CMakeLists.txt