| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
request.
|
| |
|
|
|
|
|
|
|
| |
Instead, we make a struct for renderer settings and allow the renderer
to update all of these settings, getting rid of the need for
global-scoped variables.
This also uncovered a few indirect inclusions for certain headers, which
this commit also fixes.
|
| |\
| |
| | |
core: Make function reference parameters const where applicable
|
| | |
| |
| |
| |
| |
| |
| |
| | |
This is simply copied by value, so there's no need to make it a
modifiable reference.
While we're at it, make the names of the parameters match its
definition.
|
| | |
| |
| |
| |
| | |
This function doesn't modify anything within the reference Thread
instance.
|
| |\ \
| | |
| | | |
fsp_srv: Emplace entries first when building index instead of emplacing last
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Given elements inserted into a vector are zeroed out, we can just copy
MAX_LEN - 1 elements and the data will already be properly null
terminated.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The current way were doing it would require copying a 768 character
buffer (part of the Entry struct) to the new element in the vector.
Given it's a plain array, std::move won't eliminate that.
Instead, we can emplace an instance directly into the destination buffer
and then fill it out, avoiding the need to perform any unnecessary
copies.
Given this is done in a loop, we can request the destination to allocate
all of the necessary memory ahead of time, avoiding the need to
potentially keep reallocating over and over on every few insertions into
the vector.
|
| |\ \ \
| |_|/
|/| | |
vfs: Add VfsFilesystem and fix RealVfs* implementations
|
| | | | |
|
| | | | |
|
| |\ \ \
| |/ /
|/| | |
Service/Account: stub LoadImage function
|
| | | | |
|
| |\ \ \
| | | |
| | | | |
nvhost_gpu: Don't over copy IoctlSubmitGpfifo.
|
| | | | | |
|
| |\ \ \ \
| |_|_|/
|/| | | |
am: Stub SetScreenShotImageOrientation.
|
| | |/ /
| | |
| | |
| | | |
- Used by Super Mario Odyssey.
|
| |\ \ \
| |_|/
|/| | |
nvdrv: Get rid of global std::weak_ptr
|
| | |/
| |
| |
| |
| | |
Rather than use global state, we can simply pass the instance into the
NVFlinger instance directly.
|
| |\ \
| | |
| | | |
hle: Remove unused romfs.cpp/.h
|
| | |/
| |
| |
| | |
These files are no longer used, so we can get rid of them.
|
| |\ \
| | |
| | | |
acc: Add missing function table entries for GetUserCount
|
| | | |
| | |
| | |
| | |
| | | |
Given this is stubbed within the common module in
5ac7b84, it should be added to the other relevant tables as well.
|
| |/ / |
|
| |/
|
| |
- Used by Pokken Tournament DX.
|
| |\
| |
| | |
nvflinger: Correct typo in name of composition event
|
| | | |
|
| |\ \
| | |
| | | |
services/hid: Add ActivateNpadWithRevision() to the hid function info array
|
| | |/
| |
| |
| | |
Updated based off the information on Switch Brew.
|
| |\ \
| | |
| | | |
service/apm: Add the apm:sys service
|
| | |/
| |
| |
| |
| | |
Adds the basic skeleton of the apm:sys service based off the information
on Switch Brew.
|
| |\ \
| | |
| | | |
nvflinger: Use std::string_view in OpenDisplay()
|
| | | | |
|
| | |/
| |
| |
| |
| |
| | |
We don't need to use a std::string here, given all that's done is
comparing the character sequence against another. This allows passing
regular const char* without needing to heap allocate.
|
| |\ \
| | |
| | | |
service/time: Amend command IDs of ToPosixTime() and ToPosixTimeWithMyRule()
|
| | |/
| |
| |
| | |
Updates the ID of these based off the information on Switch Brew.
|
| |\ \
| | |
| | | |
nvdrv: Get rid of indirect inclusions
|
| | | |
| | |
| | |
| | |
| | | |
The only reason this wasn't a compilation error is because we use
little-endian systems.
|
| | |/ |
|
| |\ \
| | |
| | | |
service: Add usb services
|
| | |/
| |
| |
| | |
Adds basic skeleton for the usb services based off the information provided by Switch Brew.
|
| |/
|
|
|
|
|
|
| |
These members don't need to be entirely exposed, we can instead expose
an API to operate on them without directly needing to mutate them
We can also guard against overflow/API misuse this way as well, given
active_sessions is an unsigned value.
|
| |
|
|
|
| |
Instead we can simply provide accessors to the required data instead of
giving external read/write access to the variables directly.
|
| | |
|
| |\
| |
| | |
address_arbiter: Return by value from GetThreadsWaitingOnAddress()
|
| | |
| |
| |
| |
| | |
In all cases the vector being supplied is empty, so we can just return
by value in these instances.
|
| |\ \
| | |
| | | |
Implement audren audio output
|
| | | | |
|
| | | | |
|
| | | | |
|