Commit Graph

31912 Commits

Author SHA1 Message Date
Henrik Rydgård
0eea0acf13
Merge pull request #15468 from unknownbrackets/switch-merge
Cleanup Switch ignoring of Vulkan
2022-04-08 14:48:04 +02:00
Henrik Rydgård
477b1773c2 Bump Android target version to 12L.
(I believe we already handle the one relevant behavior change, which is that
insets can change at any time)
2022-04-05 10:09:52 +02:00
Henrik Rydgård
5d9588e197 Gradle bump 2022-04-05 10:09:30 +02:00
Henrik Rydgård
fbe3fdeda1
Merge pull request #15467 from unknownbrackets/sigpipe
Net: Ignore SIGPIPE errors on POSIX systems
2022-04-03 16:42:06 +02:00
Unknown W. Brackets
170441313c Net: Ignore SIGPIPE errors on POSIX systems.
This should work on BSD/macOS/Linux/iOS/similar.
2022-04-03 06:57:45 -07:00
Henrik Rydgård
61b976844a
Merge pull request #15466 from yisonPylkita/detect-cores-count-in-build_script
Detect number of cores in build script
2022-04-03 11:16:08 +02:00
Unknown W. Brackets
d443c1bb30 Switch: Fix GL build typo. 2022-04-02 16:37:04 -07:00
Unknown W. Brackets
4ee9292d23 NetAdhoc: Fix warning. 2022-04-02 16:35:24 -07:00
Unknown W. Brackets
b71f17586e Switch: Avoid loading Vulkan. 2022-04-02 16:34:13 -07:00
Wojciech Bartnik
141b83228c Detect number of cores in build script 2022-04-02 19:03:33 +02:00
Henrik Rydgård
6f04f52f5c
Merge pull request #15456 from ANR2ME/adhoc
[Adhoc] Fix inconsistency issue between Windows and non-Windows
2022-03-24 14:24:43 +01:00
ANR2ME
1a6c889906 Increase the timeout when the connection to the AdhocServer is already in progress, avoids cutting off the connection if it took longer than expected but almost completed. 2022-03-24 08:34:03 +07:00
ANR2ME
d5152752d2 Added a function to get SO_ERROR on a socket. 2022-03-24 08:34:03 +07:00
ANR2ME
86315fed3d Updated getLocalIp function to detects local IP better. 2022-03-24 08:34:03 +07:00
ANR2ME
65a90a2ec0 Use the most recent posix socket id during blocking simulation, since there is a possibility for the socket id to changes after recreated. 2022-03-24 08:34:03 +07:00
ANR2ME
6b0cb78b3b Recreate the socket before attempting to connect again after ECONNREFUSED/ENETUNREACH error, since reusing the socket only works on Windows. 2022-03-24 08:34:02 +07:00
ANR2ME
267757a5e4 Caches IP-specific Port Offset to avoid recalculating them. 2022-03-24 08:34:02 +07:00
ANR2ME
5e739f32b2 Use reference when possible to avoid copying. 2022-03-24 08:34:02 +07:00
ANR2ME
2b09f81ff8 Initialize some socket-related structs to avoid unexpected behavior. (May fix Unknown Source Port issue) 2022-03-24 08:34:02 +07:00
ANR2ME
9209fb7c6e Shouldn't return as soon as possible when a blocking PtpConnect is getting ECONNREFUSED error, since it should be treated as ETIMEDOUT on non-Windows platform 2022-03-24 08:34:01 +07:00
ANR2ME
155d3e0478 Ignore disconnected error on PtpFlush. Fixes disconnection issue on some games (ie. R-Type Command) 2022-03-24 08:34:01 +07:00
Henrik Rydgård
a155c49728
Merge pull request #15454 from unknownbrackets/debugger-opt
Debugger: Fast path write tag lookup
2022-03-20 23:15:38 +01:00
Unknown W. Brackets
7f07b4154a Debugger: Keep separate tag dirty for RAM.
VRAM and RAM can often be separately dirty, so keeping two ranges helps
reduce flushing, and flushing things together is more efficient.
2022-03-20 13:24:42 -07:00
Unknown W. Brackets
7eafbb54bd Debugger: Fast path write tag lookup. 2022-03-20 13:19:13 -07:00
Unknown W. Brackets
f2bba34f84 softgpu: Combine memcpy into single. 2022-03-20 12:05:31 -07:00
Unknown W. Brackets
6945151384 Debugger: Improve tag on copies.
MemInit shows up sometimes when the allocation would be more useful.
2022-03-20 12:05:31 -07:00
Unknown W. Brackets
7389a36fad softgpu: Avoid unnecessary clearMode checks.
Already baked into the flag.
2022-03-20 12:05:31 -07:00
Henrik Rydgård
de5c02a39a
Merge pull request #15452 from ANR2ME/generate_apk
[Build] Manual generate Android APK
2022-03-20 16:34:48 +01:00
ANR2ME
52cf015393 Manual generate Android APK 2022-03-20 10:37:48 +07:00
Unknown W. Brackets
97bc7a1ae3
Merge pull request #15441 from hrydgard/modinfoaddr-errorcheck
Add a check to the elf loader, preventing a crash on bad module info addr
2022-03-13 15:55:42 -07:00
Henrik Rydgård
6b2a31dff5 Add a check to the elf loader, preventing a crash on bad module info addr 2022-03-13 23:36:18 +01:00
Henrik Rydgård
6dce4f573c
Merge pull request #15440 from unknownbrackets/softgpu-32bit
softgpu: Plug bad leak of bin queue data
2022-03-13 21:56:58 +01:00
Unknown W. Brackets
374ccafa73 softgpu: Plug bad leak of bin queue data. 2022-03-13 13:34:37 -07:00
Unknown W. Brackets
a3f682fc5a softgpu: Reduce memory usage on 32-bit. 2022-03-13 13:34:14 -07:00
Unknown W. Brackets
e68b16af69 softgpu: Enure aligned bin queues.
On 32-bit, we still want these aligned to 16 bytes.
2022-03-13 13:33:19 -07:00
Unknown W. Brackets
163fa352e8 softgpu: Avoid some unaligned access on x86_32. 2022-03-13 12:44:58 -07:00
Unknown W. Brackets
ef3f5ff547 Loaders: Fix 64-bit conversion warnings on 32-bit. 2022-03-13 12:06:48 -07:00
Unknown W. Brackets
ffbd9bbe98 Global: Fix some int/size_t conversion warnings. 2022-03-13 12:03:48 -07:00
Henrik Rydgård
b631ace6d1
Merge pull request #15433 from iota97/game-info
Add version to game screen
2022-03-11 09:55:47 +01:00
iota97
ccef3de34c Add version to game screen 2022-03-11 07:23:42 +01:00
Henrik Rydgård
2abe3d6152
Merge pull request #15431 from hrydgard/shortcircuit-texture-replacement
Early-out in texture replacement code, if replacement disabled
2022-03-08 22:33:08 +01:00
Henrik Rydgård
7cab540fca Short circuit the texture replacement code 2022-03-08 19:56:06 +01:00
Henrik Rydgård
d50da7dc55 Don't track small wide-stride block transfers 2022-03-08 19:46:00 +01:00
Henrik Rydgård
81fcb3cd04
Merge pull request #15426 from unknownbrackets/softgpu-debug
softgpu: Fix build with basic logging
2022-03-05 10:41:43 +01:00
Unknown W. Brackets
da4b9e82f3 softgpu: Fix build with basic logging. 2022-03-05 00:08:09 -08:00
Henrik Rydgård
47ff758af1
Merge pull request #15424 from unknownbrackets/path-unc
Windows: Create SYSTEM directory early
2022-03-02 09:50:42 +01:00
Unknown W. Brackets
73ece5b5ca Windows: Correct root vol handling for UNC paths.
Otherwise CreateFullPath() fails.
2022-03-01 21:07:17 -08:00
Unknown W. Brackets
0e932ba274 Windows: Create SYSTEM directory early.
On UNC, we see paths as absolute and don't auto-create this on config
load.  We should really create it here anyway.
2022-03-01 19:36:36 -08:00
Henrik Rydgård
3bfab6326a
Merge pull request #15418 from iota97/crash
Show game crashed title
2022-02-24 13:23:37 +01:00
iota97
5cf6621191 Show game crashed 2022-02-24 12:25:04 +01:00