Commit graph

10158 commits

Author SHA1 Message Date
ANR2ME
30b9f46aa5 Don't need to connect if AdhocServer IP is the same with this instance localhost IP and having AdhocServer disabled 2020-10-19 23:34:47 +07:00
ANR2ME
e11e8a7fda Updated Loggings and return value on PtpSend, PtpFlush, and PtpRecv. 2020-10-19 23:32:10 +07:00
ANR2ME
f597382619 Show a warning just in case an abnormal situation occurred. 2020-10-19 23:32:09 +07:00
ANR2ME
152f9a7e2b Fix disconnection issue due to timeout on blocking PTP Socket 2020-10-19 23:32:06 +07:00
ANR2ME
e5a02cebb4 Added Connection Refused error code on PtpConnect 2020-10-19 19:08:10 +07:00
ANR2ME
d395611135 Fixed disconnection issue when multiplayer game started on Shaun White Snowboarding, and improved multiplayer performance on games that use GameMode. 2020-10-19 19:08:10 +07:00
ANR2ME
5a169077f1 Updated Adhocctl timings based on the timestamp on JPCSP + prx files 2020-10-19 19:08:10 +07:00
shenweip
c79d20ca07 DoState. 2020-10-19 16:57:51 +08:00
shenweip
d940f80b88 PsmfPlayer:The status will not be changed until the delay result is finished. 2020-10-19 16:29:42 +08:00
Unknown W. Brackets
e4ad514e42 Qt: Remove Qt-specific screenshot path. 2020-10-18 20:46:09 -07:00
Henrik Rydgård
7e358f4c4b
Merge pull request #13550 from ANR2ME/adhoc_fix
Adhoc fix - Fixes some Capcom Classic games
2020-10-16 13:19:10 +02:00
ANR2ME
0a04f47ea9 Removing the workaround that was used to fix Gran Turismo in the past but no longer needed. Since zero mac address is an invalid mac we should return an error. 2020-10-16 16:15:42 +07:00
ANR2ME
b86f3ca0f4 Updated AdhocPollSocket timeout checking. 2020-10-16 16:15:42 +07:00
ANR2ME
6d0a4fe681 Increasing Adhocctl timeout to 5 seconds (with side effects of longer freezes when detecting disconnected players), to prevent failure to connect to AdhocServer on time due to some unknown reason where sometimes it tooks more than 2 seconds for Adhocctl Init to connect to AdhocServer on localhost (normally only 10 ms), and sometimes it tooks more than 1 seconds for built-in AdhocServer to be ready (normally only 1 ms) 2020-10-16 16:15:40 +07:00
Henrik Rydgård
4c034ce988 Make all the Comp_Cache implementations the same.
We have the informative comments in the interpreter implementation
anyway.
2020-10-16 09:13:41 +02:00
ANR2ME
88ebed4c02 Prevent AdhocServer Pings from spamming Debug Log 2020-10-16 12:23:20 +07:00
ANR2ME
40c4df2306 Fix disconnection issue when joining multiplayer on Capcom Puzzle World 2020-10-16 12:23:18 +07:00
ANR2ME
cc1ff5b94c 2nd or more instance of PPSSPP should only bind it's own localhost IP for Adhoc Server. Fixes Capcom Classics Collection Remix multiplayer on multiple-instance. 2020-10-16 12:10:50 +07:00
Henrik Rydgård
1405e28166 More buildfixes 2020-10-16 00:24:12 +02:00
Henrik Rydgård
c1b52c398b Minor cleanups related to #13527
Doesn't fix it though. A "Resume" button will be added later to BREAK
crashes.
2020-10-14 23:45:19 +02:00
Henrik Rydgård
b3deaab963 VS 2017 buildfix hack - these parameters are new to Windows.
Thanks autechre.
2020-10-14 23:15:49 +02:00
Henrik Rydgård
b8e8325888 Fix text issue in God Eater Burst. Forgot that games can allocate texture in volatile memory too.
We considered any texture from kernel memory "reliable", which is wrong
since games can allocate out of the upper half of kernel RAM, which is
called "volatile" memory.

Fixes issue #13511
2020-10-14 00:09:08 +02:00
Henrik Rydgård
2127524b35 Fix a couple of issues with #13477, found by aliaspider.
Might help #13494 and other freezing issues.
2020-10-12 23:00:06 +02:00
Henrik Rydgård
bdbf0b6590
Merge pull request #13532 from ANR2ME/adhoc_fix
Adhoc fix - Fix disconnection issue due to unexpected timeout
2020-10-11 13:24:39 +02:00
shenweip
2d68dc1c16 Workaround for date bug in Car Jack Streets. 2020-10-11 16:19:06 +08:00
ANR2ME
00b11115bb Fixed timeout issue due to the latest CoreTiming::GetGlobalTimeUsScaled() have a possibility to get smaller number than the previous one. 2020-10-11 13:34:30 +07:00
ANR2ME
59e2bab7ec Added some network-related missing error codes. 2020-10-11 09:57:56 +07:00
Henrik Rydgård
b28baed7d3 Create a safer variant of BlockTransferAllowCreateFB, enable for FF Type 0
Performance improvement by avoiding unnecessary readbacks.

New one is called IntraVRAMBlockTransferAllowCreateFB.

This one only allows intra-VRAM block transfers to happen on-GPU, such as the one this
game uses for bloom. Good chances to avoid missing stuff that actually requires
real readback, if there's any.
2020-10-10 23:59:51 +02:00
Henrik Rydgård
291f17e279
Merge pull request #13526 from hrydgard/double-precision-sincos-modulo
VFPU: Compute sines and cosines in double precision.
2020-10-10 19:07:38 +02:00
Henrik Rydgård
e97baa503a Avoid a division in time_now_d(). Minor optimizations. 2020-10-10 19:05:46 +02:00
Henrik Rydgård
16654d37ea VFPU: Compute sines and cosines in double precision.
Let's see if we can do without the special checks in double precision.
2020-10-10 17:45:42 +02:00
Henrik Rydgård
0ee996b2a0
Merge pull request #13520 from shenweip/memStickSize
Simulates memory stick size to get fixed free space.
2020-10-10 15:41:44 +02:00
Henrik Rydgård
1a78328e32 Add an option to the in-game dev menu to reset counts on limited logging
(making it start logging such things again, until it hits the limits yet again).
2020-10-10 15:10:46 +02:00
ANR2ME
8f24e427fb Prevent sceNetAdhocctlGetGameModeInfo from spamming Warn/Info Log on Street Supremacy 2020-10-10 01:43:01 +07:00
ANR2ME
731461ad4c Minor changes. 2020-10-10 01:01:35 +07:00
ANR2ME
ee96f5aef0 Return early to reduce indentation on AdhocMatching code 2020-10-10 01:01:24 +07:00
ANR2ME
93e2a1b586 Updated AdhocPollSocket implementation to fix Bleach Heat the Soul 7, Fate Unlimited Codes, Carnage Heart EXA 2020-10-10 01:01:12 +07:00
ANR2ME
2b6a573c3b Prevent getting too many Kernel Errors in the log during a Shutdown cleanups due to kernelObjects already cleared. 2020-10-10 01:00:59 +07:00
ANR2ME
8b2073cd7f Prevent Dissidia 012 from opening too many ports when failed to connect continuously. 2020-10-10 01:00:32 +07:00
ANR2ME
fabcb60c9a Making the workaround that fix Gundam vs Gundam Next Plus to be optional as it can improve connectivity on other games over high latency networks, and fix GvG Next Plus properly. 2020-10-10 01:00:32 +07:00
ANR2ME
90aca968ce Updated AdhocSocket struct, and an attempt to reduce stutters by increasing the send buffer a little bit. 2020-10-10 01:00:30 +07:00
ANR2ME
d628eb2ebd Fix Falcom games (ie. Ys vs. Sora no Kiseki, Vantage Master Portable) 2020-10-09 23:45:12 +07:00
ANR2ME
e475a0e6fa Removing ETIMEDOUT from non-blocking socket's error checks 2020-10-09 23:42:40 +07:00
ANR2ME
6d02e25318 Updated GameMode implementation to fix Bomberman, also improved performance on BattleZone. (+1 squashed commits)
Squashed commits:

[4a3168b2d] GameMode oops
2020-10-09 23:42:03 +07:00
ANR2ME
625faf719d Fix NetconfDialog timings to get a better message transitions. 2020-10-09 23:39:14 +07:00
ANR2ME
8a96112e1a Fix Apctl and Adhocctl state change timings to works properly. Which fix the stuck MessageBox on Naruto Shippuden Ultimate Ninja Heroes 3 and .hack//Link properly. 2020-10-09 23:37:35 +07:00
ANR2ME
59f395f6ef Removing the workaround that fix the stuck MessageBox on Naruto Shippuden Ultimate Ninja Heroes 3 and .hack//Link but having a side effect of 0.5 second lag 2020-10-09 13:41:36 +07:00
shenweip
af435794d7 Savedata:Skips non-directories in LISTALLDELETE mode.
Fixes https://github.com/hrydgard/ppsspp/issues/7685#issuecomment-703412467
2020-10-08 23:59:36 +08:00
shenweip
166035a87b Simulates memory stick size to get fixed free space.
Some games may be sensitive to the changes of free space of memory stick, and Android's free space is usually variable.
2020-10-08 23:51:56 +08:00
Henrik Rydgård
e566892766
Merge pull request #13512 from hrydgard/free-space-workaround
Add compat.ini setting to work around memstick size math problem in Harry Potter - Goblet of Fire
2020-10-06 06:33:35 +02:00