Commit Graph

4776 Commits

Author SHA1 Message Date
AdamN
8d2fdfc739
Merge pull request #13826 from ANR2ME/adhoc
Using MSG_TRUNC along with MSG_PEEK as a precaution of a possible buffer overflow when peeking recv buffer
2020-12-28 21:11:37 +07:00
shenweip
a174390c95 Corrects the calculation of the return value when the callback of RingbufferPut returns a negative value. 2020-12-28 10:38:27 +08:00
ANR2ME
a2a164b228 Using MSG_TRUNC along with MSG_PEEK as a precaution of a possible buffer overflow when peeking recv buffer. 2020-12-28 04:30:32 +07:00
Henrik Rydgård
990c9650da
Merge pull request #13802 from sum2012/mpeg_warmup
Mpeg: Add warm up staff
2020-12-26 17:44:55 +01:00
ANR2ME
b10797db95 Fixed an issue where sometimes a player unable to join a host on Warriors Orochi 2 (should also fix similar issue on other games that use PDP/UDP on Windows) 2020-12-25 00:27:35 +07:00
ANR2ME
a20567222a Close the port immediately when closing a socket. 2020-12-25 00:23:44 +07:00
sum2012
a5bd77061b Typo
Thanks @shenweip
2020-12-23 19:52:37 +08:00
sum2012
0572423e2b Fix Grand Theft Auto - Vice City Stories 2020-12-23 06:22:30 +08:00
sum2012
d56e23ec24 Mpeg: Add warm up staff
fix #13527
2020-12-22 23:39:41 +08:00
Henrik Rydgård
52c6169a59
Merge pull request #13241 from ANR2ME/openpsid
Added some missing OpenPSID nids and some stub functions
2020-12-20 14:18:13 +01:00
Henrik Rydgård
45c7d4cd84
Merge pull request #13776 from sum2012/mpg_psmf_minor
Add stack value in scempeg and scepsmf from jpcsp
2020-12-20 12:54:05 +01:00
sum2012
d60bc6f32f Forget this one HLE_KERNEL_SYSCALL 2020-12-20 18:17:00 +08:00
sum2012
c8d92ca09d Add some ThreadManForKernel nis
Find in #13797
2020-12-20 18:14:38 +08:00
sum2012
f7a864981c Add stack value in scempeg and scepsmf from jpcsp
Might help video corruption issue
2020-12-16 22:33:55 +08:00
Henrik Rydgård
226a8be1cc Minor refactor in sceUtility.cpp, making future changes easier. 2020-12-13 19:55:37 +01:00
Henrik Rydgård
6bf9f20f5f
Merge pull request #13711 from shenweip/microphone
Microphone:Improves the support of microphone.
2020-11-24 23:43:48 +01:00
shenweip
6afeed877c Build fixes 2020-11-24 21:36:17 +08:00
shenweip
be0449d16d Fixes state. 2020-11-24 17:28:31 +08:00
shenweip
9a85ab2c43 Writes target buffer address in multiple times.
Would be better to calculate read data length.
2020-11-24 17:15:26 +08:00
Henrik Rydgård
6982a39801
Merge pull request #13703 from hrydgard/get-thread-exit-status-delay
Guess at a fix for #13698 - sceKernelThreadGetExitStatus probably takes some cycles.
2020-11-23 15:10:01 +01:00
shenweip
235919f905 Try to implement some related funcs.
Marked as UNTEST.
2020-11-23 17:13:55 +08:00
Henrik Rydgård
5c0ab8bea3 Guess at a fix for #13698 - sceKernelThreadGetExitStatus probably takes some cycles. 2020-11-23 09:09:36 +01:00
shenweip
730d9f8fd9 Clean up. 2020-11-23 15:49:14 +08:00
shenweip
3380d31974 Mpeg:Checks autual available space before putting data. 2020-11-23 15:24:03 +08:00
shenweip
f2bd0b9f6f Implements sceUsbCamGetMicDataLength. 2020-11-23 14:07:11 +08:00
shenweip
c70c8cad6e Makes a distinction between blocking and non blocking modes. 2020-11-22 02:06:15 +08:00
shenweip
aac4cbb1dc Changes the way of reading microphone data.
Feeds the microphone buffer continuously(Windows) and overwrites old data with new data when the buffer has no remaining space.
2020-11-22 01:17:25 +08:00
Henrik Rydgård
5c4a227b73
Merge pull request #13673 from shenweip/mpeg-fix
Fix mistake.
2020-11-18 08:56:54 +01:00
shenweip
0b64d58c7d Fix mistake. 2020-11-18 10:59:45 +08:00
ANR2ME
ade89270c8 Updated socket's send buffer size as an attempt to fix PSP2i unable to enter dungeon when using RadminVPN issue #13648 2020-11-16 19:03:11 +07:00
ANR2ME
38d887ce88 Change socket's MSS based on PSP_ADHOC_PTP_MSS 2020-11-16 19:03:11 +07:00
ANR2ME
f30c61849b Making use TCP_QUICKACK (or it's alternative) along with TCP_NODELAY 2020-11-16 19:03:09 +07:00
shenweip
a16e758f33 Corrects the number of added packets returned by sceMpegRingbufferPut, especially if callback is called multiple times. 2020-11-15 22:02:53 +08:00
Henrik Rydgård
e01d538707
Merge pull request #13659 from shenweip/mpeg-multi_streams
Mpeg:Improves the support of multiple streams video.
2020-11-15 09:41:39 +01:00
sum2012
c223c18afe Fix crash in sceusbmic on load old staus then save again
Fix #1358 again
2020-11-15 13:16:29 +08:00
shenweip
5e5f5d0164 Makes video streams amount meet the expectation of sceMpegRegistStream() not only the mpegheader. 2020-11-13 18:55:52 +08:00
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 fa59be7e5d
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ård
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ård
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ård
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ård
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