| Age | Commit message (Collapse) | Author |
|
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
|
|
fsp_srv: Emplace entries first when building index instead of emplacing last
|
|
vfs: Add VfsFilesystem and fix RealVfs* implementations
|
|
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.
|
|
Service/Account: stub LoadImage function
|
|
|
|
|
|
nvhost_gpu: Don't over copy IoctlSubmitGpfifo.
|
|
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.
|
|
am: Stub SetScreenShotImageOrientation.
|
|
nvdrv: Get rid of global std::weak_ptr
|
|
|
|
acc: Add missing function table entries for GetUserCount
|
|
|
|
|
|
- Used by Super Mario Odyssey.
|
|
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.
|
|
Rather than use global state, we can simply pass the instance into the
NVFlinger instance directly.
|
|
nvflinger: Correct typo in name of composition event
|
|
services/hid: Add ActivateNpadWithRevision() to the hid function info array
|
|
service/apm: Add the apm:sys service
|
|
nvflinger: Use std::string_view in OpenDisplay()
|
|
service/time: Amend command IDs of ToPosixTime() and ToPosixTimeWithMyRule()
|
|
nvdrv: Get rid of indirect inclusions
|
|
Adds the basic skeleton of the apm:sys service based off the information
on Switch Brew.
|
|
|
|
The only reason this wasn't a compilation error is because we use
little-endian systems.
|
|
|
|
|
|
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.
|
|
Updated based off the information on Switch Brew.
|
|
Updates the ID of these based off the information on Switch Brew.
|
|
Adds basic skeleton for the usb services based off the information provided by Switch Brew.
|
|
|
|
Implement audren audio output
|
|
video_core: Eliminate the g_renderer global variable
|
|
|
|
service: Add arp services
|
|
|
|
|
|
Adds the basic skeleton of the arp services based off the information
provided by Switch Brew.
|
|
These don't do anything within .cpp files (we don't include cpp files,
so...)
|
|
|
|
All calling code assumes that the rasterizer will be in a valid state,
which is a totally fine assumption. The only way the rasterizer wouldn't
be is if initialization is done incorrectly or fails, which is checked
against in System::Init().
|
|
We move the initialization of the renderer to the core class, while
keeping the creation of it and any other specifics in video_core. This
way we can ensure that the renderer is initialized and doesn't give
unfettered access to the renderer. This also makes dependencies on types
more explicit.
For example, the GPU class doesn't need to depend on the
existence of a renderer, it only needs to care about whether or not it
has a rasterizer, but since it was accessing the global variable, it was
also making the renderer a part of its dependency chain. By adjusting
the interface, we can get rid of this dependency.
|
|
IProfile::Get and SET::GetLanguageCode for libnx tests (#851)
|
|
service: Add migration services
|