| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| | |
|
| | |
|
| |\
| |
| | |
qt: Update telemetry links
|
| |/
|
|
| |
These were pointing to a non-existent webpage.
|
| |\
| |
| | |
Port web_service from Citra
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |\ \
| | |
| | | |
kernel/mutex: Amend behavior of TransferMutexOwnership()
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| | |
This was the result of a typo accidentally introduced in
e51d715700a35a8f14e5b804b6f7553c9a40888b. This restores the previous
correct behavior.
The behavior with the reference was incorrect and would cause some games
to fail to boot.
|
| |\ \
| | |
| | | |
ui_settings: Place definition of the theme array within the cpp file
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Placing the array wholesale into the header places a copy of the whole
array into every translation unit that uses the data, which is wasteful.
Particularly given that this array is referenced from three different
translation units.
This also changes the array to contain pairs of const char*, rather than
QString instances. This way, the string data is able to be fixed into
the read-only segment of the program, as well as eliminate static
constructors/heap allocation immediately on program start.
|
| |\ \ \
| | | |
| | | | |
gl_rasterizer: Implement quads topology
|
| | | | | |
|
| |\ \ \ \
| | | | |
| | | | | |
thread: Make the scheduler pointer a regular pointer
|
| |/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Conceptually, it doesn't make sense for a thread to be able to persist
the lifetime of a scheduler. A scheduler should be taking care of the
threads; the threads should not be taking care of the scheduler.
If the threads outlive the scheduler (or we simply don't actually
terminate/shutdown the threads), then it should be considered a bug
that we need to fix.
Attributing this to balika011, as they opened #1317 to attempt to fix
this in a similar way, but my refactoring of the kernel code caused
quite a few conflicts.
|
| |\ \ \ \
| | | | |
| | | | | |
kernel/thread: Make all instance variables private
|
| | | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Many of the member variables of the thread class aren't even used
outside of the class itself, so there's no need to make those variables
public. This change follows in the steps of the previous changes that
made other kernel types' members private.
The main motivation behind this is that the Thread class will likely
change in the future as emulation becomes more accurate, and letting
random bits of the emulator access data members of the Thread class
directly makes it a pain to shuffle around and/or modify internals.
Having all data members public like this also makes it difficult to
reason about certain bits of behavior without first verifying what parts
of the core actually use them.
Everything being public also generally follows the tendency for changes
to be introduced in completely different translation units that would
otherwise be better introduced as an addition to the Thread class'
public interface.
|
| |\ \ \ \
| | | | |
| | | | | |
text_formatter: Avoid unnecessary string temporary creation in PrintMessage()
|
| | |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
operator+ for std::string creates an entirely new string, which is kind
of unnecessary here if we just want to append a null terminator to the
existing one.
Reduces the total amount of potential allocations that need to be done
in the logging path.
|
| |\ \ \ \
| | | | |
| | | | | |
file_sys: Add support for loading IPS patches
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Avoid resource-heavy classes and remove quasi-duplicated code.
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
While PatchExeFS operated on the entire directory, this function operates on the uncompressed NSO. Avoids copying decompression code to PatchManager.
|
| | | | | | |
|
| | | | | | |
|
| | | |_|/
| |/| | |
|
| |\ \ \ \
| | | | |
| | | | | |
aoc_u: Fix edge case with DLC that causes breaks
|
| | |/ / /
| | | |
| | | |
| | | | |
In some games (Splatoon 2 and Splatoon 2 Splatfest World Premiere, notably), pass offset=0 and count=2047 into the ListAddOnContent method which should return all DLCs for the current title. The (presumably) intended behavior is to successfully return a empty array but because of a < v. <= in an if statement, a failure error code was returned causing these games to svcBreak. This fixes that if statement.
|
| |\ \ \ \
| | | | |
| | | | | |
configure_graphics: Make functions internally linked where applicable
|
| | | |/ /
| |/| |
| | | |
| | | |
| | | | |
These aren't used outside of this translation unit, so they can be
internally linked.
|
| |\ \ \ \
| | | | |
| | | | | |
configure_audio: Minor cleanup-related changes
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Keeps the individual behaviors in their own functions, and cleanly
separate. We can also do a little better by converting the relevant IDs
within the core to a QString only once, instead of converting every
string into a std::string.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This ensures that the proper codec will always be used no matter what.
It also avoids relying on ASCII conversions.
|
| | |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Disambiguates what the string represents to help translators more easily
understand what it is that they're translating. While we're at it, we
can move the code to its own function, so that we don't need to specify
the same string twice.
|
| |\ \ \ \
| | | | |
| | | | | |
services/fsp_srv: Amend service function table
|
| | |/ / /
| | | |
| | | |
| | | |
| | | | |
Adds new functions that have been given names to the table. Information
is based off what is provided on Switchbrew.
|
| |\ \ \ \
| | | | |
| | | | | |
configure_input: Make analog mapping strings translatable
|
| | |/ / /
| | | |
| | | |
| | | |
| | | | |
These strings are user-facing, so they should be specified as
translatable with tr().
|
| |\ \ \ \
| | | | |
| | | | | |
submission_package: Cleanup and bug fixes
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
GetName() returns a std::string by value, not by reference, so after the
std::string_view is constructed, it's not well defined to actually
execute any member functions of std::string_view that attempt to access
the data, as the std::string has already been destroyed. Instead, we can
just use a std::string and erase the last four characters.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
If a ticket file was ever a null pointer, we'd cause a null pointer
dereference, as we were calling GetExtension() on the pointer instance.
|