Commit Graph
6340 Commits
Author SHA1 Message Date
Unknown W. Brackets 70d92139db Headless: Simplify executing a ppdmp via headless. 2021-01-17 18:33:59 -08:00
Unknown W. Brackets 53b9a8e48c HLE: Hook Worms text render copy func.
This func takes drawn text and replaces stencil with alpha based on the
color intensity to prepare text for blending.

See #12380.
2021-01-17 12:38:03 -08:00
Unknown W. Brackets 8fe9bedb78 Module: Keep the state for each import.
On exports, we iterate modules then imports.
But on imports, we iterate the exports to find the module, so we need to
keep the state around higher up.
2021-01-16 19:32:37 -08:00
Henrik RydgårdandGitHub 720c5b4176 Merge pull request #13927 from unknownbrackets/unlink
Module: Reverse a single HI16/LO16 pair correctly
2021-01-16 23:58:51 +01:00
Unknown W. Brackets 6efd1ae7f4 Module: Keep HI16/LO16 in a temp state object.
This doesn't need to live any longer than the link or unlink, so let's
just make that abundantly clear.
2021-01-16 11:57:37 -08:00
Unknown W. Brackets 17f3de66c5 Module: Reverse a single HI16/LO16 pair correctly.
If there is only one imported variable as a HI16/LO16, unloading the
module wasn't properly reversing the link.  See #13104.
2021-01-16 10:04:20 -08:00
ANR2ME 23efd22efb Fix Stuck issue on some games (Dissidia 012, Full Auto 2, etc) when Failed to connect to Adhoc Server (faked success) 2021-01-16 20:55:40 +07:00
ANR2ME 228d17ef0c Reducing AdhocMatching events delay to prevent matchingEvents from piling up on Lord of Arcana. 2021-01-09 01:54:47 +07:00
ANR2ME 72549443e4 Send AdhocMatching Data from within HLE whenever possible instead of through matchingEvent Thread. 2021-01-09 01:52:29 +07:00
ANR2ME dbce1a4c1d Prevent access violation when running out of userMemory due to piling up AdhocMatching events. 2021-01-09 00:55:11 +07:00
Unknown W. Brackets 64f3830668 Psmf: Fix a potential leak on shutdown. 2021-01-01 15:43:13 -08:00
Henrik RydgårdandGitHub 7568ba9a76 Merge pull request #13843 from unknownbrackets/actions
Implement GitHub Actions build
2020-12-31 17:23:44 +01:00
Unknown W. Brackets 7b9431f463 Net: Remove static declarations from h file.
Were just causing warnings.
2020-12-31 08:12:48 -08:00
Unknown W. Brackets 06f8ab5a49 SaveState: Make event restoring more obvious.
We still must restore all events, but everything can be taken care of
during the save state load.
2020-12-28 13:29:19 -08:00
AdamNandGitHub 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årdandGitHub 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årdandGitHub 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årdandGitHub 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årdandGitHub 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årdandGitHub 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årdandGitHub 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årdandGitHub 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