| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |\ \ \
| | | |
| | | | |
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.
|
| |\ \ \
| | | |
| | | | |
client_port: Make all data members private
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| |/ / |
|
| |\ \
| | |
| | | |
loader: Make AppLoader_NCA rely on directory loading code
|
| | | |
| | |
| | | |
Eliminates duplicate code shared between their Load methods, after all the only difference is how the romfs is handled.
|
| | | |
| | |
| | |
| | |
| | |
| | | |
* GDBStub works with both Unicorn and Dynarmic now
* Tidy up
|
| |\ \ \
| | | |
| | | | |
kernel/event: Make data members private
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Instead we can simply provide accessors to the required data instead of
giving external read/write access to the variables directly.
|
| |\ \ \ \
| |/ / /
|/| | | |
core_timing: Make GetGlobalTimeUs() return std::chrono::microseconds
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
ms is shorthand for milliseconds, not microseconds, and given there's no
comment indicating that this was intentional, it probably wasn't.
|
| | |/ /
| | |
| | |
| | |
| | | |
Enforces the time unit being returned and also allows using the standard
time utilities to manipulate it.
|
| |\ \ \
| | | |
| | | | |
memory: Correct prototype of ZeroBlock
|
| | | | |
| | | |
| | | |
| | | | |
Keeps the code consistent.
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Previously, the prototype wasn't matching the definition, which has a
Processor parameter before the destination address.
|
| | |/ /
| | |
| | |
| | |
| | | |
These aren't necessary, as value-wise const only matters in the
definition.
|
| | | | |
|
| |\ \ \
| | | |
| | | | |
core_timing: Use transparent functors where applicable
|
| | | | |
| | | |
| | | |
| | | | |
Makes the alias a little more readable from left-to-right.
|
| | |/ /
| | |
| | |
| | |
| | |
| | | |
Gets rid of the need to hardcode the type in multiple places. This will
now be deduced automatically, based off the elements in the container
being provided to the algorithm.
|
| |\ \ \
| | | |
| | | | |
gdbstub: Minor changes
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Rather than having to type out the full std::map type signature, we can
just use a straightforward alias. While we're at it, rename
GetBreakpointList to GetBreakpointMap, which makes the name more
accurate. We can also get rid of unnecessary u64 static_casts, since
VAddr is an alias for a u64.
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Keeps everything under the same namespace. While we're at it, enclose
them all within an inner anonymous namespace.
|
| | | | |
| | | |
| | | |
| | | | |
In all cases, a virtual address is being passed in, not a physical one.
|
| |\ \ \ \
| | | | |
| | | | | |
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
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | |/
| |/| |
|
| |\ \ \
| |_|/
|/| | |
video_core: Eliminate the g_renderer global variable
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| |\ \ \
| | | |
| | | | |
service: Add arp services
|
| | | |/
| |/|
| | |
| | |
| | | |
Adds the basic skeleton of the arp services based off the information
provided by Switch Brew.
|
| |\ \ \
| | | |
| | | | |
core/crypto: Minor changes
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
well-defined behavior
These functions should only be given trivially-copyable types.
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
This function doesn't directly depend on class state, so it can be
hidden entirely from the interface in the cpp file.
|
| | | | |
| | | |
| | | |
| | | | |
This doesn't modify member state, so it can be made const.
|
| | | | | |
|