| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Cleans up unused includes and trims off some dependencies on externals.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |\
| |
| | |
hle_ipc: Make GetDomainMessageHeader return a regular pointer
|
| | |
| |
| |
| | |
Gets rid of the need to call the getter and then check for null.
|
| | |
| |
| |
| |
| | |
Nothing requires the shared owner ship here, so we can just return a
plain pointer.
|
| | | |
|
| |/
|
|
|
|
| |
Many of the Current<Thing> getters (as well as a few others) were
missing const qualified variants, which makes it a pain to retrieve
certain things from const qualified references to System.
|
| |\
| |
| | |
svc: Implement svcGetInfo command 0xF0000002
|
| | |
| |
| |
| | |
Nothing from this enum is intended to be used outside of this function.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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;
}
|
| | |
| |
| |
| |
| |
| | |
* remove unnecessary if-statements
* Addressed feedback
|
| |\ \
| | |
| | | |
service/filesystem: Implemented DeleteDirectory & DeleteDirectoryRecursive
|
| | |/ |
|
| |\ \
| | |
| | | |
loader/nsp: Move secondary loader initialization to constructor
|
| | |/
| |
| |
| | |
Prevents nullptr bug when trying to dump the RomFS of an NSP resulting from secondary_loader not being initialized.
|
| |/
|
|
| |
Crypto revisions are hex numbers and this function only checks if the string is valid for stoul in base 16, so it should be isxdigit.
|
| |\
| |
| | |
vfs: Remove InterpretAsDirectory and related functions
|
| | |
| |
| |
| | |
When writing VFS, it initally seemed useful to include a function to in-place convert container files into directories in one homogenous directory structure, but re-evaluating it now there have been plenty of chances to use it and there has always been a better way. Removing as it is unused and likely will not be used.
|
| |\ \
| | |
| | | |
yuzu/main: Notify user of loading errors with Amiibo data
|
| | | |
| | |
| | |
| | |
| | | |
We shouldn't silently continue if loading failed, since the general
assumption is that no messages showing up implicitly indicates success.
|
| | | |
| | |
| | |
| | | |
- This is an incomplete implementation. It was tested with Super Mario Party.
|
| | | | |
|
| | | |
| | |
| | |
| | | |
to allocate a region of a given size.
|
| | | | |
|
| | | |
| | |
| | |
| | | |
Prevents a potential bug when using RLE records in an IPS patch.
|
| |\ \ \
| | | |
| | | | |
service/usb: Update service function tables
|
| | | | |
| | | |
| | | |
| | | | |
Updated based off the information provided by Hexkyz on Switchbrew.
|
| |\ \ \ \
| | | | |
| | | | | |
service/acc: Silence compiler truncation warnings
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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().
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Silences compiler warnings related to truncation. This also introduces a
small helper function to perform the clamping of the image size.
|
| | |/ / /
| | | |
| | | |
| | | | |
Allows unindenting the other branch's code.
|
| |\ \ \ \
| | | | |
| | | | | |
kernel/error: Amend error return code values
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
ERR_INVALID_COMBINATION
This is more consistent with what the kernel does.
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
This is what the kernel does in this instance.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
These are now entirely unused and can be removed.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Like with the previous change, the kernel doesn't return NOT_AUTHORIZED
here. It returns INVALID_THREAD_PRIORITY.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The kernel appears to return 0xE601 for this situation. Particularly in
svcWaitSynchronization, svcReplyAndReceive, and svcGetThreadContext
|
| | |/ / /
| | | |
| | | |
| | | | |
The kernel appears to return 0xF601 for this case.
|
| |\ \ \ \
| | | | |
| | | | | |
profile_manager: Use std::optional instead of boost::optional
|
| | |/ / /
| | | |
| | | |
| | | |
| | | | |
Now that we can actually use std::optional on macOS, we don't need to
continue using boost::optional here.
|
| |\ \ \ \
| | | | |
| | | | | |
npad: Remove unused controller variable from OnInit()
|
| | | |/ /
| |/| |
| | | |
| | | |
| | | | |
This also gets rid of variable shadowing related to the lambda parameter
a little bit below this code as well.
|
| |\ \ \ \
| | | | |
| | | | | |
perf_stats: Remove unused variable within DoFrameLimiting()
|
| | |/ / /
| | | |
| | | |
| | | | |
This hasn't been used since ba8ff096fdc9f7ab101851c4cd06c3244a7d84c3
|
| |\ \ \ \
| | | | |
| | | | | |
aoc_u: Make use of previously-unused CheckAOCTitleIDMatchesBase() function
|
| | |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We can just call the function instead of duplicating the code here. This
also prevents an unused function warning.
We also don't need to take the lambda capture by reference. It's just a
u64 value, so by value is fine here.
|
| |\ \ \ \
| |_|/ /
|/| | | |
file_sys: Remove unused variables
|