Commit Graph
6340 Commits
Author SHA1 Message Date
shenweip 5819ef1f82 Reads all packets to ringbuffer.
Calls callback multiple times to read all packets when the write position reaches the boundary of the ringbuffer.
2020-11-13 18:50:09 +08:00
Henrik Rydgård 668fca01a8 Fix crash on save state. Fixes #13658
Should be ok since the event will get restored next time it's needed
(delayed).
2020-11-12 13:37:48 +01:00
sum2012 1f494cf234 Mpeg:Revert part of https://github.com/hrydgard/ppsspp/commit/fa59be7e5db1526d07de75f6d7c14b94e98809e6
Fix #13595
2020-11-09 20:57:40 +08:00
ANR2ME 755a5dd7d6 Fix Starting multiplayer issue on DBZ Team Tag 2020-11-03 09:32:00 +07:00
ANR2ME 5d0b6e83b2 Reducing the delay on GetPeerInfo 2020-11-03 09:31:25 +07:00
Henrik RydgårdandGitHub 45218ec73d Merge pull request #13609 from hrydgard/merge-glsl-hlsl-fragment-shadergens
Merge GLSL and HLSL fragment shader generators into one generic
2020-11-01 09:53:56 +01:00
Henrik RydgårdandGitHub ee11f6af76 Merge pull request #13608 from shenweip/stopunloadselfmodule
When stops and unloads self module, make sure that the thread is properly deleted.
2020-10-31 23:03:33 +01:00
Henrik Rydgård dd00672d88 Just some cleanups that get to tag along 2020-10-31 18:32:49 +01:00
Henrik Rydgård 2f4dfedaa9 Fix loading old savestates.
Was broken in #13592
2020-10-31 18:27:26 +01:00
shenweip f5afd98226 When stops and unloads self module, make sure that the thread is properly deleted. 2020-10-31 23:25:52 +08:00
Henrik RydgårdandGitHub f3c05cb81a Merge pull request #13575 from Florin9doi/android_audio_record2
[Android] Audio record using OpenSL
2020-10-31 10:25:14 +01:00
ANR2ME e56b5592bf Fix significant FPS drops on Hitman Reborn Battle Arena 2 2020-10-31 13:19:32 +07:00
ANR2ME 47f27ed184 Updated Blocking simulation of AdhocSocket (especially PdpRecv) 2020-10-31 13:18:17 +07:00
Henrik RydgårdandGitHub a4a0b4ba00 Merge pull request #13579 from ANR2ME/adhoc_fix
Adhoc fix - Updating Adhocctl behavior after doing some small test
2020-10-29 11:57:58 +01:00
Henrik RydgårdandGitHub f4b28119af Merge pull request #13592 from shenweip/FindModule
IMP sceKernelFindModuleByUID and sceKernelFindModuleByName.
2020-10-29 00:55:39 +01:00
ANR2ME 4eca124710 Blocks current thread to synchronize initial GameMode data. Fixes desync issue when GameMode multiplayer mission is being started. 2020-10-29 06:08:51 +07:00
ANR2ME a47cb101bb Moving socket creation from AdhocMatchingCreate to AdhocMatchingStart. (Fixes Dissidia 012 unable to see any room issue) 2020-10-29 06:04:52 +07:00
ANR2ME 3aed0c258b Fixed an issue with AdhocMatching where there is a possibility that some data didn't get sent upon AdhocMatchingStop causing Joined players to get timeout. (Fixed Star Wars: The Force Unleashed) 2020-10-29 06:04:24 +07:00
ANR2ME 399f56f73b Implementing Adhocctl Busy state to prevent getting kicked out from Adhoc Server on games that tries to leave the group multiple times in a row.
Also Updated Adhocctl behavior.
2020-10-29 06:04:22 +07:00
ANR2ME 0157fe4988 Updated GameMode API (Fixed Pocket Pool) 2020-10-29 06:00:16 +07:00
ANR2ME 22419bfc6c Prevent memory leaks when clearing AdhocMatching events. 2020-10-29 06:00:16 +07:00
ANR2ME bff18c07d0 Fixed unable to see game room issue on Air Conflicts - Aces Of World War 2, should also fix other games with similar issue (due to invalid group mode) 2020-10-29 06:00:16 +07:00
ANR2ME 1bfe089785 Added delay result to SetSocketAlert for other threads that use the socket to trigger the alert. 2020-10-29 06:00:16 +07:00
ANR2ME d87713226c Socket alerts can be triggered regardless of the nonblocking flag 2020-10-29 06:00:15 +07:00
ANR2ME fa95afab07 Do not clear socket alert flag after signaled. 2020-10-29 06:00:15 +07:00
ANR2ME 0363319f14 Prevent Scanning issue after reconnected to AdhocServer, also Updated logging to showing the error code on sceNetAdhocctlScan 2020-10-29 06:00:15 +07:00
ANR2ME 40102787c8 Updated validity checking of mac address on PdpCreate, PtpListen, and PtpOpen 2020-10-29 06:00:15 +07:00
ANR2ME 8762718abf Updated Loggings and return value of PdpSend and PdpRecv 2020-10-29 06:00:14 +07:00
ANR2ME 3020efdbe7 Added hleEatMicro (may not be accurate tho) on PdpSend, PdpRecv, and GetPeerInfo. 2020-10-29 06:00:14 +07:00
ANR2ME 6e50487fcd Updated error code on sceNetGetLocalEtherAddr 2020-10-29 06:00:13 +07:00
ANR2ME 5216433e0c Prevent memory leaks when attempting to play GameMode multiplayer again after loading from SaveState in the middle of GameMode multiplayer. 2020-10-29 06:00:13 +07:00
ANR2ME 335650da6c Prevent Port leaks after loading SaveState in the middle of multiplayer resulting to "port in use" error on the next attempt to play multiplayer. 2020-10-29 06:00:13 +07:00
shenweip 6c5d4b5fc7 Log the return value. 2020-10-27 22:12:53 +08:00
shenweip 6717c2b55f Fixes mistake. 2020-10-27 20:58:07 +08:00
shenweip 807de037bb IMP sceKernelFindModuleByUID and sceKernelFindModuleByName. 2020-10-27 20:48:34 +08:00
shenweip eb5c22bbae SaveState:Don't register the event during Dostate. 2020-10-27 19:50:27 +08:00
Florin9doi 6531c7f4f8 [Android] Retrieve isMicStarted from AndroidAudio state 2020-10-24 20:16:22 +03:00
Florin9doi 9379fe1399 [Android] Audio record using OpenSL 2020-10-24 19:51:30 +03:00
shenweip e7147fdb09 Fixes savesate for usbmic.
Prevents audiobuf from being null pointer.
2020-10-24 21:06:36 +08:00
shenweip a0fe0e38c1 SwicthUMD:Only update Switch UMD item of Windows menu instead of entire UI. 2020-10-22 17:45:29 +08:00
Henrik RydgårdandGitHub dc0e9bf2f6 Merge pull request #13560 from unknownbrackets/free-space
Io: Account for free space on the host device
2020-10-20 11:52:53 +02:00
Unknown W. Brackets c95e695a38 Io: Track initial free space for compat flag.
This seems to be necessary for Assassin's Creed.  See #12761.
2020-10-19 22:42:49 -07:00
Unknown W. Brackets 9686520dbd Psmf: Cleanup logging. 2020-10-19 19:24:08 -07:00
Unknown W. Brackets c8b2dd123f Psmf: Handle older states for delayed state change. 2020-10-19 19:06:32 -07:00
Henrik Rydgård d4c02ccc1c Address feedback about recent changes
Thanks unknown.
2020-10-19 22:50:31 +02:00
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