| Age | Commit message (Collapse) | Author |
|
Stub these 2 service commands required for Animal Crossing: New Horizons Update 1.4.0
|
|
|
|
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
|
|
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.
|
|
|
|
|
|
Not using the return value of these functions are undeniably the source
of a bug. This way we allow compilers to loudly make any future misuses
evident.
|
|
comex reported in #4424 that we were incorrectly discarding the return
value of Lock() which is correct.
|
|
hid: Only update keyboard & debug pad inputs if enabled
|
|
|
|
Needed for dark souls and monster hunter
|
|
|
|
Fixes random swkbd popups in monster hunter
|
|
core_timing: Make usage of nanoseconds more consistent in the interface
|
|
filesystem: Create subdirectories prior to creating a file
|
|
mii/manager: Make use of designated initializers
|
|
mii/manager: Resolve sign mismatch warnings
|
|
kernel: Remove unused variables
|
|
kernel/thread: Remove unimplemented function prototype
|
|
Previously the loop termination condition was testing variables of
different signedness.
|
|
Allows returning the structure in a more concise manner.
|
|
hle: service: mii: Rewrite service to properly support creation of random and default miis.
|
|
address_space_info: Make use of designated initializers
|
|
This isn't used, so it can be removed.
|
|
Resolves some compiler warnings in the Linux build.
|
|
|
|
All these do are return std::function instances of static functions, so
these can be used without an instance of the CPU manager.
|
|
kernel/handle_table: Remove usages of the global system instance
|
|
Previously we would ignore this setting and would update the states regardless of the user setting
|
|
|
|
If subdirectories exist in the given path parameter and don't exist in the real filesystem create them prior to creating the files within.
This fixes the softlocks upon save creation in The Legend of Zelda: Breath of the Wild
|
|
Enforces our desired time units directly with a concrete type.
|
|
|
|
These aren't directly important or commonly used within the process, so
we can move these to the bottom to allow everything else to be more
likely to be within a cache line.
|
|
Removes even more usages of the global system instance, trimming away
more dependencies on global variables and making them explicit in the
interface.
|
|
This is only used in one place, so we can fold it into the calling code,
eliminating a place for the global system instance to be used.
|
|
This isn't used, so it can be removed entirely, shrinking the structure
size by 8 bytes.
|
|
We can define an alias for the index arrays and then just reuse it to
make the code nicer to read.
|
|
We can alter the structure so that we can use designated initializers in
the array, eliminating the comments that indicate their field names.
|
|
Profiling shows that this is a highly contested mutex, causing dimishing
results compared to a OS lock. std::mutex implementations can spin for a
while before falling back to an OS lock.
This avoids wasting precious CPU cycles in a no-op.
|
|
AM: fix GetDesiredLanguage:
|
|
and default miis.
|
|
service: Update function tables
|