Age | Commit message (Collapse) | Author |
|
hle: nvdrv: Rewrite of GPU memory management.
|
|
perf_stats: Mark GetMeanFrametime() as const
|
|
patch_manager: Resolve -Wignored-qualifier warnings
|
|
yuzu: Resolve C++20 deprecation warnings related to lambda captures
|
|
profile_manager: Make use of designated initializers
|
|
dmnt_cheat_vm: Make use of designated initializers
|
|
fsp-srv: Stub Read/WriteSaveDataFileSystemExtraDataWithMaskBySaveDataAttribute
|
|
In a few places, the data to be set as the IV is already within an array.
We shouldn't require this data to be heap-allocated if it doesn't need
to be. This allows certain callers to reduce heap churn.
|
|
service/ldr: Resolve sign mismatch warnings
|
|
registered_cache: Resolve -Wmaybe_uninitialized warnings
|
|
sm: Make use of IsBaseOf for GetService
|
|
Same behavior, but allows us to avoid a now-unnecessary zero
initialization.
|
|
The general pattern is to mark mutexes as mutable when it comes to
matters of constness, given the mutex acts as a transient member of a
data structure.
|
|
C++20 deprecates capturing the this pointer via the '=' capture.
Instead, we replace it or extend the capture specification.
|
|
We were performing an int < size_t comparison. We can just correct the
type of the induction variable.
|
|
file_sys/mode: Make use of DECLARE_ENUM_FLAG_OPERATORS with Mode
|
|
|
|
Allows compilers to eliminate unnecessary zeroing out of the optional's
buffer.
|
|
|
|
Allows some implementations to completely avoid unnecessarily zeroing
out the internal buffer.
|
|
More compact code.
|
|
Allows for more compact code.
|
|
Same behavior, minus a hand-rolled operator.
|
|
|
|
Top level const will always be ignored in this case, so it can be
removed.
|
|
While we're at it, we can avoid a redundant map lookup.
|
|
|
|
Relies on #4465 for concept.h Common::IsBaseOf
|
|
WriteBuffer (#4465)
* ipc: Allow all trivially copyable objects to be passed directly into WriteBuffer
With the support of C++20, we can use concepts to deduce if a type is an STL container or not.
* More agressive concept for stl containers
* Add -fconcepts
* Move to common namespace
* Add Common::IsBaseOf
|
|
cpu_manager: Remove redundant std::function declarations
|
|
|
|
|
|
Stub these 2 service commands required for Animal Crossing: New Horizons Update 1.4.0
|
|
|
|
Fixes an access violation where the file no longer exists at the specified path while being parsed.
|
|
|
|
device_memory: Remove unused system member
|
|
The introduction of multicore rendered this setting non-functional as timing code was changed.
This removes the setting entirely.
|
|
Preserves the volatility of the pointers being casted.
|
|
Testing shows that Poll called with zero entries returns -1 and signals
an errno of zero.
|
|
This implements: Socket, Poll, Accept, Bind, Connect, GetPeerName,
GetSockName, Listen, Fcntl, SetSockOpt, Shutdown, Recv, RecvFrom,
Send, SendTo, Write, and Close
The implementation was done referencing: SwIPC, switchbrew, testing
with libnx and inspecting its code, general information about bsd
sockets online, and analysing official software.
Not everything from these service calls is implemented, but everything
that is not implemented will be logged in some way.
|
|
Manage worker threads with an easy to use abstraction.
We can expand this to support thread deletion in the future.
|
|
This abstraction allows executing blocking functions (like recvfrom on a
socket configured for blocking) without blocking the service thread.
It is intended to be used with SleepClientThread.
|
|
These functions translate from Network enumerations/structures to guest
enumerations/structures and viceversa.
|
|
Add guest enumerations and structures used in socket services
|
|
This is trivially implemented using the Network abstraction
- Used by ftpd
|
|
This isn't used by anything in particular, so it can be removed.
|
|
We can just return the function directly. Making for less reading.
|
|
Co-authored-by: LC <mathew1800@gmail.com>
|
|
Makes the interface future-proofed for supporting other platforms in the event we ever support platforms with differing pointer sizes. This way, we have a type in place that is always guaranteed to be able to represent a pointer exactly.
|