Commit Graph
6340 Commits
Author SHA1 Message Date
ANR2ME 9a714249a6 Changing most frequently used global vars to atomic to avoid possible multi-threading issue on friendFinder thread which communicates with AdhocServer in background.
PS: There are more global vars being used here (too many actually), so we should find a better approach in the future (ie. using PSPThread instead).
2021-09-28 20:44:03 +07:00
ANR2ME 6a79f59c06 Fix threading issue when exiting PPSSPP due to unjoined AdhocServer thread when AdhocServer failed to bind the socket and exited the thread early. 2021-09-28 20:44:03 +07:00
ANR2ME 1fd54153fc Prevent some games (ie. DBZ SB2) from repeatedly trying to Disconnect Adhocctl when not connected to AdhocServer. 2021-09-28 20:44:03 +07:00
ANR2ME 4741357bef Fix possible race condition issue when sending AdhocMatching data 2021-09-23 12:51:12 +07:00
ANR2ME 73b2070821 Temporary fix to avoid a crash that happened due to trying to logs a syscall's argument when being Logged from another thread (AdhocMatchingInput thread) 2021-09-23 12:51:09 +07:00
ANR2ME 15d3e69c4c Fix possible crash issue 2021-09-23 12:22:57 +07:00
Henrik RydgårdandGitHub b8ea95bec1 Merge pull request #14904 from ANR2ME/adhoc
[Adhoc] Do not resolve Pro Adhoc Server address when WLAN is turned off
2021-09-21 13:46:12 +02:00
ANR2ME 4e8a9fda63 Do not resolve Pro Adhoc Server address when WLAN is turned off 2021-09-21 17:12:01 +07:00
ANR2ME ee7383193b Fix race condition issue on AdhocMatching 2021-09-21 15:32:41 +07:00
Henrik RydgårdandGitHub 7f021624e3 Merge pull request #14883 from unknownbrackets/texcache
In lazy hashing mode, assume videos never match
2021-09-19 19:46:44 +02:00
Unknown W. Brackets ec3d408da0 HLE: Detect video buffer copies.
These are common and can help us notify the texture cache appropriately.
2021-09-19 07:51:33 -07:00
ANR2ME 2bda9c1c84 Keep tracks of the sender/source port on GameMode for further communication, in case it was remapped by router or ISP for some reason. 2021-09-19 10:55:03 +07:00
ANR2ME ef279657dc Shows a warning when detecting a different sender/source port on GameMode. 2021-09-19 10:54:59 +07:00
ANR2ME 62a7ea2f41 Minor change to AdhocMatching's senderport type 2021-09-19 10:35:19 +07:00
ANR2ME 2305de42f0 Keeping track the source port of received data on AdhocMatching to be used for further communication, in the case the port was re-mapped for some reason. 2021-09-17 12:36:56 +07:00
ANR2ME a95678ae49 Show a warning if other players detected to have their port being re-mapped, where communication with them might have an issue. 2021-09-17 12:36:56 +07:00
ANR2ME 2bb5453dc6 Don't ignores unknown sender/source port, due to a possibility of port re-mapping done by router or ISP the source port might be different. 2021-09-17 12:36:56 +07:00
ANR2ME fa92cda23d Minor change to AdhocMatching logging 2021-09-17 12:36:56 +07:00
Henrik RydgårdandGitHub e6a2da69c5 Merge pull request #14867 from unknownbrackets/savedata-volatile
Dialog: Allow termination of access thread at return
2021-09-16 18:38:28 +02:00
Unknown W. Brackets 24f1dcec98 Dialog: Allow termination of access thread at ret.
Sometimes the thread is just sitting at return, but hasn't stopped quite
yet.  Allow deleting the thread in this case without modifying volatile
lock status.
2021-09-16 08:57:20 -07:00
Henrik RydgårdandGitHub 2229bea92a Merge pull request #14865 from unknownbrackets/savedata-volatile
Dialog: Try to recover on double init, report
2021-09-16 08:46:41 +02:00
Unknown W. Brackets 570d84fb86 Dialog: Try to recover on double init, report.
This shouldn't be happening, but is - see #14864.
Let's report the situation and try to avoid a complete crash.
2021-09-15 21:06:12 -07:00
Henrik RydgårdandGitHub 9f404ad901 Merge pull request #14856 from unknownbrackets/unthrottle
Vulkan: Skip flips, not draw, for vsync fast-forward
2021-09-15 18:55:33 +02:00
Henrik RydgårdandGitHub 6d599e738b Merge pull request #14855 from unknownbrackets/ui-chat-view
Decouple chat presentation and tracking
2021-09-15 09:15:28 +02:00
Unknown W. Brackets 9024c7111b Vulkan: Fix faster alt speed with vsync. 2021-09-14 22:53:54 -07:00
Unknown W. Brackets 46770aba3a Vulkan: Skip flips, not draw, for vsync unthrottle. 2021-09-14 22:35:32 -07:00
Unknown W. Brackets c79bb6ba71 Net: Fix various chat threading hazards. 2021-09-14 18:08:17 -07:00
Unknown W. Brackets 9403947b67 UI: Decouple new chat display and tracking logic. 2021-09-14 18:08:16 -07:00
Unknown W. Brackets be0b0cd88d UI: Track chat log changes more clearly.
This also makes it easier to have multiple views or etc. reading from it.
We want data flowing a single direction, chat system -> UI.
2021-09-14 18:08:16 -07:00
ANR2ME 704d1f94a6 Fix freezing issue during GameMode initialization on some games (ie. Hammerin' Hero) 2021-09-15 01:13:39 +07:00
ANR2ME e3088e5f96 Fix Socket error 10014 on Windows when hosting a game of Vulcanus Seek and Destroy 2021-09-14 05:58:49 +07:00
Unknown W. Brackets 10ffdc9f54 Font: Cleanup logging for invalid pointers.
Also fixes some duplicate logging and includes return code/error code.
2021-09-13 08:29:45 -07:00
Unknown W. Brackets 3ac669f80b Core: Fix some minor gcc warnings. 2021-09-13 08:13:14 -07:00
Henrik Rydgård 07413aa4e3 Feedback 2021-09-11 18:53:46 +02:00
Henrik Rydgård f7895457ee Add back the dir listing logging. Add hack to avoid confusing Wipeout :( 2021-09-11 18:12:30 +02:00
Henrik Rydgård 09f65db91c Cleanup 2021-09-11 15:35:11 +02:00
Henrik Rydgård b075b79175 Also hide SHADERS directory from games 2021-09-11 15:14:44 +02:00
Henrik Rydgård 1f81876ab1 Cleanup 2021-09-11 15:04:53 +02:00
Henrik Rydgård 04578edf65 Hide directories games should not know about from them.
Stops some games from spending lots of time iterating over files they
should not care about. Helps the performance issues in #13847 quite a bit.
2021-09-11 15:02:52 +02:00
Unknown W. Brackets 82087ccbb7 Common: Reduce some log levels.
Take off a few messages during startup and shutdown.
2021-08-28 09:14:53 -07:00
Henrik Rydgård a7859cfd2a Fix some comments and a string 2021-08-18 09:28:17 +02:00
Henrik Rydgård 928bc88b01 Rename Unthrottle to Fast-forward globally 2021-08-18 09:28:13 +02:00
Henrik RydgårdandGitHub ed3201a27f Merge pull request #14730 from unknownbrackets/savedata-shutdown
Dialog: Prevent reschedule on shutdown start
2021-08-15 10:04:34 +02:00
Unknown W. Brackets 04828e886b Dialog: Lock volatile when the access thread runs.
Further tests show that this should be locked first thing before the
delays, it just depends on the thread priorities involved.
2021-08-14 20:55:10 -07:00
Unknown W. Brackets 5d17ec70ce Ge: Add measured minimal timing for sceGeDrawSync. 2021-08-14 20:18:52 -07:00
Unknown W. Brackets 6f9f9f5f2a HLE: Ignore flip time in syscall stats.
Don't want to count flip timing as the slowest thing, when it happens
inside sceDisplaySetFramebuf (immediate.)
2021-08-14 20:18:06 -07:00
Unknown W. Brackets f530be0969 Dialog: Prevent reschedule on shutdown start.
This is a bit strange, but tests seem to suggest this is correct.
A worse priority thread won't run before savedata shutdown hits 0, but the
thread that initiated shutdown runs before shutdown completes.

Fixes Freakout Extreme Freeride loading savedata.
2021-08-14 20:15:34 -07:00
Unknown W. Brackets aecb138f90 Dialog: Avoid crash with hacked dialog start.
See #14727.  If a dialog shutdown is in progress and we incorrectly allow
a startup at that time, it breaks other things.  This tries to at least
work around that.
2021-08-14 07:46:38 -07:00
Unknown W. Brackets 9882f2854a Font: Match stingy selection per test. 2021-08-07 17:55:21 -07:00
Unknown W. Brackets 0772557a49 Font: Limit max references to fonts.
This seems to match the font/open test behavior.
2021-08-07 17:55:21 -07:00