- 06 Dec, 2018 2 commits
-
-
Lioncash authored
Given memory should always be expected to be valid during normal execution, this should be a debug assertion, rather than a check in regular builds.
-
Lioncash authored
This was only ever public so that code could check whether or not a handle was valid or not. Instead of exposing the object directly and allowing external code to potentially mess with the map contents, we just provide a member function that allows checking whether or not a handle is valid. This makes all member variables of the VMManager class private except for the page table.
-
- 05 Dec, 2018 6 commits
-
-
Mat M authored
Perf: Call shrink_to_fit after page-table vector resizing to actually reduce vector capacity
-
heapo authored
Call shrink_to_fit after page-table vector resizing to cause crt to actually lower vector capacity. For 36-bit titles saves 800MB of commit.
-
bunnei authored
Convert high-frequency LUT arrays from constexpr to static constexpr
-
heapo authored
In some constexpr functions, msvc is building the LUT at runtime (pushing each element onto the stack) out of an abundance of caution. Moving the arrays into be file-scoped constexpr's avoids this and turns the functions into simple look-ups as intended.
-
bunnei authored
file_sys: Implement open source system archives
-
bunnei authored
yuzu/game_list_worker: Minor cleanup and code deduplication
-
- 04 Dec, 2018 19 commits
-
-
Lioncash authored
Avoids potentially allocating a std::string instance when it isn't needed.
-
bunnei authored
file_sys/registered_cache: Eliminate variable shadowing
-
bunnei authored
crypto/key_manager: Remove unused variable in GetTicketblob()
-
bunnei authored
kernel/svc: Implement svcCreateEvent and svcSignalEvent
-
Lioncash authored
-
Lioncash authored
This function simply does a handle table lookup for a writable event instance identified by the given handle value. If a writable event cannot be found for the given handle, then an invalid handle error is returned. If a writable event is found, then it simply signals the event, as one would expect.
-
Lioncash authored
svcCreateEvent operates by creating both a readable and writable event and then attempts to add both to the current process' handle table. If adding either of the events to the handle table fails, then the relevant error from the handle table is returned. If adding the readable event after the writable event to the table fails, then the writable event is removed from the handle table and the relevant error from the handle table is returned. Note that since we do not currently test resource limits, we don't check the resource limit table yet.
-
bunnei authored
loader/{nro, nso}: Remove dependency on the System class
-
bunnei authored
kernel/object: Amend handle types to distinguish between readable and writable events
-
Marcos authored
* Rewrited TEX/TEXS (TEX Scalar). * Style fixes. * Styles issues.
-
bunnei authored
kernel/svc: Implement the resource limit svcGetInfo option
-
bunnei authored
Don't try to route PFIFO methods (0-0x40) to the other engines.
-
Lioncash authored
Two kernel object should absolutely never have the same handle ID type. This can cause incorrect behavior when it comes to retrieving object types from the handle table. In this case it allows converting a WritableEvent into a ReadableEvent and vice-versa, which is undefined behavior, since the object types are not the same. This also corrects ClearEvent() to check both kernel types like the kernel itself does.
-
Lioncash authored
Another hold-over from Citra.
-
Lioncash authored
Allows a process to register the resource limit as part of its handle table.
-
Subv authored
This is a leftover from #1792
-
Subv authored
-
Mat M authored
[Kernel::CreateThread] Match format specifiers to LOG_TRACE's arguments
-
V.Kalyuzhny authored
-
- 03 Dec, 2018 12 commits
-
-
bunnei authored
svc: Reorganize svcGetInfo, handle more error cases for existing implemented info categories
-
bunnei authored
yuzu/configuration: Minor clean-up related changes
-
bunnei authored
filesystem: De-globalize registered_cache_union
-
bunnei authored
gl_shader_decompiler: Introduce a scoped object and style changes
-
bunnei authored
kernel: Divide Event into ReadableEvent and WritableEvent
-
bunnei authored
service/fsp_srv: Implement CleanDirectoryRecursively
-
bunnei authored
service/audio/audout_u: Amend constructor initialization list order
-
bunnei authored
Fixed crash with SetNpadMode
-
Sebastian Valle authored
hle/service: Update function tables for erpt:c and usb's IClientEpSession
-
Lioncash authored
Similar to the NRO changes, we can also pass the process explicitly as a parameter from Load instead of indirecting through the System class.
-
Lioncash authored
This simply acts as a forwarding function for the Load() function, so this doesn't need to be directly exposed.
-
Lioncash authored
Load() is already given the process instance as a parameter, so instead of coupling the class to the System class, we can just forward that parameter to LoadNro()
-
- 02 Dec, 2018 1 commit
-
-
Lioncash authored
Updates the function table for IClientEpSession based off information provided by SwitchBrew.
-