| Age | Commit message (Collapse) | Author |
|
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.
|
|
FormatPatchNameVersions()
Using fmt here requires unnecessary string conversions back into
QString. Instead, we can just use QString's formatting and get the end
result of the formatting operation in the proper type.
|
|
Now that we can actually use std::optional on macOS, we don't need to
continue using boost::optional here.
|
|
data() function
tr() will not function properly on static/global data like this, as the
object is only ever constructed once, so the strings won't translate if
the language is changed without restarting the program, which is
undesirable. Instead we can just turn the map into a plain old function
that maps the values to their equivalent strings. This is also lessens
the memory allocated, since it's only allocating memory for the strings
themselves, and not an encompassing map as well.
|
|
We shouldn't silently continue if loading failed, since the general
assumption is that no messages showing up implicitly indicates success.
|
|
qt: Add UI to manage emulated user profiles
|
|
Prevents bug where old username would remain if the new username was shorter in length.
|
|
We can just use the facilities that Qt provides instead of pulling in
stuff from common. While we're at it, we can also simplify the nearby
logging statement's argument by just calling .toStdString()
|
|
These are user-facing strings, so they should be marked as translatable
|
|
window title
This gets rid of an unnecessary type conversion. We can just use the
regular QStringLiteral to already format the string as the type
setWindowTitle accepts instead of converting from a std::string
instance.
|
|
This is only stored to, but never read from.
|
|
This also gets rid of variable shadowing related to the lambda parameter
a little bit below this code as well.
|
|
This hasn't been used since ba8ff096fdc9f7ab101851c4cd06c3244a7d84c3
|
|
raw pointer
Same behavior, less code.
|
|
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.
|
|
Also gets rid of an unused variable.
|
|
|
|
|
|
|
|
Just a few overlooked services.
|
|
Makes the class layout consistent with the others.
|
|
Added break types to svcBreak
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fixed conflict with nfp
* Few fixups for nfc
* Conflict 2
* Fixed AttachAvailabilityChangeEvent
* Conflict 3
* Fixed byte padding
* Refactored amiibo to not reside in "System"
* Removed remaining references of nfc from system
* used enum for Nfc GetStateOld
* Added missing newline
* Moved file operations to front end
* Conflict 4
* Amiibos now use structs and added mutexes
* Removed amiibo_path
|
|
patch_manager: Add support for LayeredFS on DLC RomFS
|
|
CMakeLists: Use PROJECT_SOURCE_DIR instead of CMAKE_SOURCE_DIR
|
|
common: Remove memory_util.h/.cpp
|
|
kernel/process: Make the handle table per-process
|
|
|
|
|
|
Everything from here is completely unused and also written with the
notion of supporting 32-bit architecture variants in mind. Given the
Switch itself is on a 64-bit architecture, we won't be supporting 32-bit
architectures. If we need specific allocation functions in the future,
it's likely more worthwhile to new functions for that purpose.
|
|
Port citra-emu/citra#4336: "Only redefine some 64-bit file operation for MSVC"
|
|
gl_shader_decompiler: Implement VSETP
|
|
maxwell_dma: Silence compilation warnings
|
|
Implemented Alpha Test using Shader Emulation
|
|
MinGW provides POSIX functions
|
|
|
|
|