Age | Commit message (Collapse) | Author |
|
Allows compilers to eliminate unnecessary zeroing out of the optional's
buffer.
|
|
|
|
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.
|
|
vulkan: Resolve -Wmissing-field-initializer warnings
|
|
AM: GetDesiredLanguage: remove unused variable
|
|
video_core/gpu: Correct the size of the puller registers
|
|
|
|
GCAdapter: only join worker thread if running & joinable
|
|
|
|
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.
|
|
nvflinger: Use return value of Lock()
|
|
udp/client: Remove unused boost include
|
|
virtual_buffer: Mark size parameter of FreeMemoryPages() as [[maybe_unused]]
|
|
gc_adapter/gc_poller: Resolve compiler warnings
|
|
Those are already found in the Filesystem tab.
They were added back to the Debug tab by mistake in the Vulkan PR.
|
|
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
|
|
This function was relocated to log.h as a constexpr function, so this
can be removed.
|
|
|
|
Also silences a deprecation warning from boost on Clang/GCC.
|
|
|
|
|
|
|
|
This isn't used on Windows, but is used on non-Windows operating
systems.
|
|
swkbd: Return result for Calc request for inlined swkbd
|
|
vk_rasterizer: Remove unused variable in Clear()
|
|
qt-themes: Add Midnight Blue qdarkstyle theme (2.8.1)
|
|
configure_per_game: Clearer per-game settings
|
|
buffer_cache: Eliminate redundant map lookup in MarkRegionAsWritten()
|
|
video_core: Allow copy elision to take place where applicable
|
|
video_core: Remove unused variables
|
|
gc_adapter: Refactor code
|
|
src/core/network/network.cpp:112:28: error: use of undeclared identifier 'SHUT_RD'
constexpr int SD_RECEIVE = SHUT_RD;
^
src/core/network/network.cpp:113:25: error: use of undeclared identifier 'SHUT_WR'
constexpr int SD_SEND = SHUT_WR;
^
src/core/network/network.cpp:114:25: error: use of undeclared identifier 'SHUT_RDWR'
constexpr int SD_BOTH = SHUT_RDWR;
^
src/core/network/network.cpp:120:37: error: unknown type name 'in_addr'; did you mean 'in_addr_t'?
constexpr IPv4Address TranslateIPv4(in_addr addr) {
^~~~~~~
in_addr_t
/usr/include/netdb.h:66:20: note: 'in_addr_t' declared here
typedef __uint32_t in_addr_t;
^
src/core/network/network.cpp:121:27: error: member reference base type 'in_addr_t' (aka 'unsigned int') is not a structure or union
const u32 bytes = addr.s_addr;
~~~~^~~~~~~
src/core/network/network.cpp:121:15: error: variables defined in a constexpr function must be initialized
const u32 bytes = addr.s_addr;
^
src/core/network/network.cpp:126:10: error: incomplete result type 'sockaddr' in function definition
sockaddr TranslateFromSockAddrIn(SockAddrIn input) {
^
/usr/include/netdb.h:142:9: note: forward declaration of 'sockaddr'
struct sockaddr *ai_addr; /* binary address */
^
src/core/network/network.cpp:127:5: error: unknown type name 'sockaddr_in'; did you mean 'sockaddr'?
sockaddr_in result;
^~~~~~~~~~~
sockaddr
/usr/include/netdb.h:142:9: note: 'sockaddr' declared here
struct sockaddr *ai_addr; /* binary address */
^
src/core/network/network.cpp:127:17: error: variable has incomplete type 'sockaddr'
sockaddr_in result;
^
/usr/include/netdb.h:142:9: note: forward declaration of 'sockaddr'
struct sockaddr *ai_addr; /* binary address */
^
src/core/network/network.cpp:131:29: error: use of undeclared identifier 'AF_INET'
result.sin_family = AF_INET;
^
src/core/network/network.cpp:135:29: error: use of undeclared identifier 'AF_INET'
result.sin_family = AF_INET;
^
src/core/network/network.cpp:139:23: error: use of undeclared identifier 'htons'
result.sin_port = htons(input.portno);
^
src/core/network/network.cpp:143:14: error: variable has incomplete type 'sockaddr'
sockaddr addr;
^
/usr/include/netdb.h:142:9: note: forward declaration of 'sockaddr'
struct sockaddr *ai_addr; /* binary address */
^
src/core/network/network.cpp:156:1: error: unknown type name 'linger'
linger MakeLinger(bool enable, u32 linger_value) {
^
src/core/network/network.cpp:157:5: error: unknown type name 'linger'
linger value;
^
src/core/network/network.cpp:185:16: error: use of undeclared identifier 'AF_INET'
return AF_INET;
^
src/core/network/network.cpp:195:16: error: use of undeclared identifier 'SOCK_STREAM'
return SOCK_STREAM;
^
src/core/network/network.cpp:197:16: error: use of undeclared identifier 'SOCK_DGRAM'
return SOCK_DGRAM;
^
src/core/network/network.cpp:207:16: error: use of undeclared identifier 'IPPROTO_TCP'
return IPPROTO_TCP;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
|
|
renderer_{opengl,vulkan}: Clamp shared memory to host's limit
|
|
gl_arb_decompiler: Execute BAR even when inside control flow
|
|
decode/other: Implement S2R.LaneId
|
|
core/network: Add network abstraction
|
|
Silences several compiler warnings about unused variables.
|
|
The relevant values are already assigned further down in the lambda, so
this can be removed entirely.
|
|
Removes const from some variables that are returned from functions, as
this allows the move assignment/constructors to execute for them.
|
|
video_core: Fix, add and rename pixel formats
|
|
gl_arb_decompiler: Use NV_shader_buffer_{load,store} on assembly shaders
|
|
We can make use of emplace()'s return value to determine whether or not
we need to perform an increment.
emplace() performs no insertion if an element already exist, so this can
eliminate a find() call.
|
|
|
|
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
|
|
|
|
|
|
|
|
These were only kept for compatibility with old code during testing.
|