ReinUsesLisp
853ee47a15
services/bsd: Implement most of bsd:s
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.
6 years ago
ReinUsesLisp
20ac4ae8b7
service/sockets: Add worker pool abstraction
Manage worker threads with an easy to use abstraction.
We can expand this to support thread deletion in the future.
6 years ago
ReinUsesLisp
3cd68cade4
service/sockets: Add worker abstraction to execute blocking calls asynchronously
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.
6 years ago
ReinUsesLisp
8a8f687fd2
service/sockets: Add translate functions
These functions translate from Network enumerations/structures to guest
enumerations/structures and viceversa.
6 years ago
ReinUsesLisp
c2a607014a
service/sockets: Add enumerations and structures
Add guest enumerations and structures used in socket services
6 years ago
ReinUsesLisp
bd466d12be
services/nifm: Implement GetCurrentIpAddress
This is trivially implemented using the Network abstraction
- Used by ftpd
6 years ago
Lioncash
078b7446c7
device_memory: Remove unused system member
This isn't used by anything in particular, so it can be removed.
6 years ago
bunnei
194103745c
Merge pull request #4437 from lioncash/ptr
core_timing: Make use of uintptr_t to represent user_data
6 years ago
Lioncash
951d602830
CMakeLists: Update boost to 1.73
Keeps the library up to date.
6 years ago
Lioncash
67cb0370e5
CMakeLists: Update catch to 2.13
Keeps the library up to date
6 years ago
Lioncash
c923f89b87
CMakeLists: Update zstd to 1.4.5
Keeps the library version up to date.
6 years ago
Lioncash
cdb016549d
CMakeFiles: Update json to 3.8.0
Keeps the tracked version of the library up to date.
6 years ago
Lioncash
3c31a08802
cpu_manager: Remove redundant std::function declarations
We can just return the function directly. Making for less reading.
6 years ago
bunnei
e085ed4727
Merge pull request #4420 from lat9nq/fix-themed-label-bg
qt_themes: Set QLabel background color to transparent for Dark and Midnight Blue themes
6 years ago
bunnei
1bd1d08fc4
Update src/core/hle/service/nvdrv/devices/nvmap.cpp
Co-authored-by: LC <mathew1800@gmail.com>
6 years ago
Lioncash
7decda6bc2
core_timing: Make use of uintptr_t to represent user_data
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.
6 years ago
Lioncash
af5fdb4682
yuzu/main: Remove redundant usages of QStringLiteral("")
An empty QStringLiteral can more efficiently be replaced with an empty
QString.
6 years ago
bunnei
f8370efc1b
Merge pull request #4419 from lioncash/initializer
vulkan: Resolve -Wmissing-field-initializer warnings
6 years ago
bunnei
61fefea059
Merge pull request #4434 from CrazyMax/lang_unused_var
AM: GetDesiredLanguage: remove unused variable
6 years ago
Rodrigo Locatti
ee09a7ba3a
Merge pull request #4432 from bylaws/patch-1
video_core/gpu: Correct the size of the puller registers
6 years ago
CrazyMax
ac316a25a1
remove unused variable;
6 years ago
bunnei
d9f73562d8
Merge pull request #4431 from kelnos/fix-exit-crash
GCAdapter: only join worker thread if running & joinable
6 years ago
Brian J. Tarricone
f637cfec64
GCAdapter: only join worker thread if running & joinable
6 years ago
Billy Laws
0d1a089177
video_core/gpu: Correct the size of the puller registers
The puller register array is made up of u32s however the `NUM_REGS` value is the size in bytes, so switch it to avoid making the struct unnecessary large. Also fix a small typo in a comment.
6 years ago
lat9nq
6befb6e733
config: Make the save-as identifier more consistent
Solves an issue with restoring the value upon reloading program.
6 years ago
bunnei
841de299af
Merge pull request #4426 from lioncash/lock
nvflinger: Use return value of Lock()
6 years ago
bunnei
c021c9f3ae
Merge pull request #4418 from lioncash/udp-warn
udp/client: Remove unused boost include
6 years ago
bunnei
991aca142e
hle: nvdrv: Rewrite of GPU memory management.
6 years ago
bunnei
54d0f82e6e
Merge pull request #4415 from lioncash/maybe
virtual_buffer: Mark size parameter of FreeMemoryPages() as [[maybe_unused]]
6 years ago
bunnei
aa100a7e22
Merge pull request #4417 from lioncash/poll
gc_adapter/gc_poller: Resolve compiler warnings
6 years ago
LC
517c7ba584
Merge pull request #4429 from FearlessTobi/remove-duplicated-options
yuzu/configure_debug: Remove duplicated checkboxes
6 years ago
FearlessTobi
8574303acc
yuzu/configure_debug: Remove duplicated checkboxes
Those are already found in the Filesystem tab.
They were added back to the Debug tab by mistake in the Vulkan PR.
6 years ago
Lioncash
f35d0d8f83
nvflinger: Mark interface functions with return values as [[nodiscard]]
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.
6 years ago
Lioncash
94ae1a0bf1
nvflinger: Use return value of Lock()
comex reported in #4424 that we were incorrectly discarding the return
value of Lock() which is correct.
6 years ago
bunnei
34f9706950
Merge pull request #4350 from ogniK5377/hid-update-connected
hid: Only update keyboard & debug pad inputs if enabled
6 years ago
LC
690e92c4f3
common/string_util: Remove unimplemented function prototype ( #4414 )
This function was relocated to log.h as a constexpr function, so this
can be removed.
6 years ago
David Marcec
844bee65b3
Fix perf regression
6 years ago
lat9nq
582ac79958
qt_themes: Set background color to transparent for Dark and Midnight Blue themes
Fixes the override highlights in per-game settings from looking weird when viewed on the Dark or Midnight Blue themes by setting QLabels to have transparent backgrounds by default.
Also apparently adds a newline to the end of the Dark theme's qss file.
6 years ago
Lioncash
0ab49b988e
vulkan: Resolve -Wmissing-field-initializer warnings
6 years ago
Lioncash
5987e39f21
udp/client: Remove unused boost include
Also silences a deprecation warning from boost on Clang/GCC.
6 years ago
Lioncash
bc2f95ea67
gc_adapter: Resolve C++20 deprecation warning
6 years ago
Lioncash
6efd1a2675
gc_poller: Resolve -Wsign-compare warning
6 years ago
Lioncash
e94ad47152
gc_poller: Resolve -Wredundant-move warning
6 years ago
Lioncash
57f72ffa49
lz4_compression: Make use of std::span in interfaces
Allows compressing the data and size parameters into one.
6 years ago
Lioncash
84e6115423
zstd_compression: Make use of std::span in interfaces
Allows condensing the data and size parameters into a single argument.
6 years ago
Lioncash
3aad302953
virtual_buffer: Mark size parameter of FreeMemoryPages() as [[maybe_unused]]
This isn't used on Windows, but is used on non-Windows operating
systems.
6 years ago
bunnei
2f7d9afee7
Merge pull request #4380 from ogniK5377/swkbd-inline-1
swkbd: Return result for Calc request for inlined swkbd
6 years ago
bunnei
41ea84645b
Merge pull request #4383 from ogniK5377/dark-checkbox
frontend: Match indeterminate checkbox state with light theme
6 years ago
bunnei
b6ba7c5249
Merge pull request #4393 from lioncash/unused5
vk_rasterizer: Remove unused variable in Clear()
6 years ago
David Marcec
5f24aa9e0f
Fix stream channel count when outputting to stereo
6 years ago