Commit Graph

32021 Commits

Author SHA1 Message Date
Unknown W. Brackets
3c3e397215 Replacement: Avoid potential destructor crash. 2022-04-09 09:41:49 -07:00
Unknown W. Brackets
81ace52f53 ThreadManager: Improve waitable destruction. 2022-04-09 09:27:26 -07:00
Henrik Rydgård
5b58b6906a
Merge pull request #15470 from hrydgard/threading-manager-stresstest
Threading manager stresstest and fixes
2022-04-09 09:21:20 +02:00
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
adfce57d9e Fix race condition in LimitedWaitable between Notify and Wait 2022-04-08 12:29:30 +02:00
Henrik Rydgård
bde54ccdc0 Fix misuses of cond.wait (should return true when you want to stop waiting!) 2022-04-08 12:28:45 +02:00
Henrik Rydgård
5b20ace502 OK, this does crash 2022-04-08 12:04:34 +02:00
Henrik Rydgård
e0f73507f9 Time the stress test 2022-04-08 11:55:49 +02:00
Henrik Rydgård
b04e5925d2 Add a scheduling stress test to TestThreadManager.cpp.
Was hoping to find the cause of the issue I looked at in #15431
2022-04-08 11:41:50 +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
iota97
53fe6940df Allow to change atlas per theme 2022-04-01 09:59:40 +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