- Nov 10, 2018
-
-
David Marcec authored
Added instead of using a seperate PR to prevent conflicts
-
David Marcec authored
-
- Nov 09, 2018
-
-
David Marcec authored
Needed by megaman 11
-
- Nov 08, 2018
-
-
David authored
* svcBreak now dumps information from the debug buffer passed info1 and info2 seem to somtimes hold an address to a buffer, this is usually 4 bytes or the size of the int and contains an error code. There's other circumstances where it can be something different so we hexdump these to examine them at a later date. * Addressed comments
-
- Nov 07, 2018
-
-
David Marcec authored
Fixes input for megaman
-
David Marcec authored
-
David Marcec authored
-
David Marcec authored
Needed for Shantae - Half-Genie Hero - Ultimate Edition!
-
- Nov 04, 2018
-
-
Frederic Laing authored
-
- Nov 02, 2018
-
-
David Marcec authored
-
David Marcec authored
This should fix crashes when launching multiple games in yuzu
-
- Oct 31, 2018
-
-
Lioncash authored
Previously, we would let a user enter an unbounded name and then silently truncate away characters that went over the 32-character limit. This is kind of bad from the UX point of view, because we're essentially not doing what the user intended in certain scenarios. Instead, we clamp it to 32 characters and make that visually apparent in the dialog box to provide a name for a user.
-
- Oct 30, 2018
-
-
Lioncash authored
Updated based off information on SwitchBrew.
-
Lioncash authored
Cleans up unused includes and trims off some dependencies on externals.
-
Frederic L authored
* get rid of boost::optional * Remove optional references * Use std::reference_wrapper for optional references * Fix clang format * Fix clang format part 2 * Adressed feedback * Fix clang format and MacOS build
-
Lioncash authored
Gets rid of the need to call the getter and then check for null.
-
Lioncash authored
Nothing requires the shared owner ship here, so we can just return a plain pointer.
-
- Oct 28, 2018
-
-
Lioncash authored
-
- Oct 27, 2018
-
-
DeeJayBro authored
-
- Oct 26, 2018
-
-
Lioncash authored
Nothing from this enum is intended to be used outside of this function.
-
Lioncash authored
This retrieves: if (curr_thread == handle_thread) { result = total_thread_ticks + (hardware_tick_count - last_context_switch_ticks); } else if (curr_thread == handle_thread && sub_id == current_core_index) { result = hardware_tick_count - last_context_switch_ticks; }
-
- Oct 25, 2018
- Oct 24, 2018
-
-
Lioncash authored
Updated based off the information provided by Hexkyz on Switchbrew.
-
Lioncash authored
This is just flat data, so it doesn't really need to be in the function itself. This also allows deduplicating the constant for the backup size in GetImageSize().
-
Lioncash authored
Silences compiler warnings related to truncation. This also introduces a small helper function to perform the clamping of the image size.
-
Lioncash authored
Allows unindenting the other branch's code.
-
Lioncash authored
Now that we've gotten the innaccurate error codes out of the way, we can finally toss away a bunch of these, trimming down the error codes to ones that are actually used and knocking out two TODO comments.
-
Lioncash authored
This is more consistent with what the kernel does.
-
Lioncash authored
-
Lioncash authored
This is what the kernel does in this instance.
-
Lioncash authored
These are now entirely unused and can be removed.
-
Lioncash authored
Like with the previous change, the kernel doesn't return NOT_AUTHORIZED here. It returns INVALID_THREAD_PRIORITY.
-
Lioncash authored
kernel/svc: Move and correct returned error code for invalid thread priorities in SetThreadPriority() All priority checks are supposed to occur before checking the validity of the thread handle, we're also not supposed to return ERR_NOT_AUTHORIZED here.
-
Lioncash authored
The kernel appears to return 0xE601 for this situation. Particularly in svcWaitSynchronization, svcReplyAndReceive, and svcGetThreadContext
-
Lioncash authored
The kernel appears to return 0xF601 for this case.
-
Lioncash authored
Now that we can actually use std::optional on macOS, we don't need to continue using boost::optional here.
-
Lioncash authored
We shouldn't silently continue if loading failed, since the general assumption is that no messages showing up implicitly indicates success.
-
Lioncash authored
This also gets rid of variable shadowing related to the lambda parameter a little bit below this code as well.
-