Commit Graph
4803 Commits
Author SHA1 Message Date
Unknown W. Brackets 463fc3c792 Mp3: Allow decode without pcm pointer.
Just like other audio decoding, you're allowed to skip audio.
Also prevents a crash if the mp3 is not yet inited.
2021-01-25 23:51:55 -08:00
Unknown W. Brackets de5488d4df Mp3: Correct error handling for newer sdk versions.
The 6.xx behavior might be important if a game relies on it to add data.
2021-01-25 20:57:34 -08:00
AdamN 1df5202cfb Merge pull request #13976 from ANR2ME/adhoc
[Adhoc] Fix a possible return value issue on PtpOpen when using ForcedFirstConnect hack.
2021-01-25 19:38:17 +07:00
sum2012 e7e36ca21a Add header information 2021-01-25 20:27:56 +08:00
sum2012 72cc39f929 sceMp3Init:Add layerBits and versionBits information 2021-01-25 20:14:02 +08:00
ANR2ME 3d813aec73 Don't allow ForcedFirstConnect hack when using PtpConnect within PtpOpen to prevent returning result from blocking PtpConnect instead of result of PtpOpen. 2021-01-25 18:40:20 +07:00
Henrik Rydgård db76f61172 Merge pull request #13969 from unknownbrackets/io-async
Io: Don't allow async close while async busy
2021-01-24 22:58:14 +01:00
Unknown W. Brackets c7bf68c991 Io: Don't allow async close while async busy.
See #6582.
2021-01-24 11:22:41 -08:00
ANR2ME 6b110af3e6 Fix returned error code on PtpSend and PtpRecv when socket is not connected yet. 2021-01-24 18:48:00 +07:00
ANR2ME 964b8bf331 Do PtpConnect internally during PtpOpen, since some games (ie. The Warriors) seems to do PtpSend immediately after PtpOpen without trying to PtpConnect first. 2021-01-24 18:47:58 +07:00
sum2012 25a09288e9 Resample only in 32000Hz 2021-01-24 04:51:26 +08:00
sum2012 8a1b0bd210 build fix 2021-01-23 21:51:18 +08:00
sum2012 64a51e1658 Resample all mp3
Fix #5213
2021-01-22 21:12:07 +08:00
Henrik Rydgård 9a94031c8a Merge pull request #13947 from unknownbrackets/kernel-timing
Kernel: Adjust sceKernelGetThreadExitStatus timing
2021-01-19 07:56:08 +01:00
Unknown W. Brackets dd2bd55bcb Kernel: Adjust sceKernelGetThreadExitStatus timing.
See #13703.
2021-01-18 22:09:37 -08:00
Unknown W. Brackets 70d92139db Headless: Simplify executing a ppdmp via headless. 2021-01-17 18:33:59 -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ård 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ård 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
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