Commit Graph
4828 Commits
Author SHA1 Message Date
Henrik Rydgård 8b101ae4a1 Rename the new warmup variable from #14091 2021-02-09 16:11:59 +01:00
sum2012 b127aace57 Only allow sceMpegGetAvcAu warmup for God Eater Series
Fix #14086
2021-02-09 22:46:09 +08:00
ANR2ME 8432d6c5d7 Removing hleDelayResult from internal adhoc functions to prevent waking up thread that supposed to be blocked by the outer HLE. 2021-02-07 12:09:29 +07:00
ANR2ME f17d387a65 Updated some Logs to help finding the location of the call to debug. 2021-02-07 12:08:02 +07:00
ANR2ME 04434ea68e Fix possible race condition issue. 2021-02-05 21:54:00 +07:00
ANR2ME ddc122bcbe Moving hleDelayResult from internal function of SetSocketAlert to prevent waking up HLE-blocked thread 2021-02-05 21:54:00 +07:00
ANR2ME a7eccc0c6f Minor renaming 2021-02-05 21:53:59 +07:00
ANR2ME 79c30ee716 We don't really need to allocate a buffer when using MSG_TRUNC on recvfrom 2021-02-05 21:53:59 +07:00
ANR2ME 849fe4ade1 Updated PdpStat to prevent rcv_sb_cc from exceeding the buffer size arg (since we use larger buffer size to prevent micro stutters or disconnection issue due to too many dropped packets with small buffer size).
TODO: May need to improve it to be able to calculate the correct size if there are multiple datagram messages
2021-02-04 10:31:01 +07:00
ANR2ME f2e7a2a9ba Fix possible lock issue during AdhocMatchingStart 2021-02-04 10:15:29 +07:00
ANR2ME a51036ffaf Updated PdpStat and PtpStat 2021-02-02 03:39:04 +07:00
Unknown W. Brackets 30b6f1f865 Merge pull request #14043 from unknownbrackets/vertexjit-abi
vertexjit: Correct saved registers on x64
2021-01-31 15:38:00 -08:00
Unknown W. Brackets cc4d0479bf Core: Assert debug stats remain positive. 2021-01-31 15:06:11 -08:00
Henrik Rydgård ce2e47f353 Merge pull request #14033 from sum2012/warmup_patch6
Mpeg:Only allow firmware >= 6 for warmup
2021-01-31 11:09:07 +01:00
Unknown W. Brackets 5041a898a2 Ge: Improve some logging and memchecks.
Explicitly trigger memchecks on readback.
2021-01-31 00:22:49 -08:00
sum2012 1d2150d2ae Mpeg:Only allow firmware >= 6 for warmup
Fix blue screen in #13146
2021-01-31 15:32:29 +08:00
ANR2ME d907906c74 Fix connection issue on Dynasty Warriors (Shin Sangoku Musou) games when playing with more than 2 players. 2021-01-30 15:20:24 +07:00
Henrik Rydgård 54849075aa Merge pull request #13999 from sum2012/mpeg_minor
Mpeg:Only allow firmware >= 3 for warmup
2021-01-29 22:17:25 +01:00
sum2012 02f1b6452b Try to build fix on non-windows 2021-01-29 22:45:30 +08:00
sum2012 6bc3cb4dfa Mpeg:Only allow firmware >= 3 for warmup
Fix #13996
2021-01-29 22:26:45 +08:00
Florin9doi c0c8329f57 Remove duplicates from ThreadManForKernel 2021-01-27 22:57:04 +02:00
Henrik Rydgård 97e7a28161 Merge pull request #13981 from unknownbrackets/mp3-sdkver
Cleanup some MP3 SDK version differences
2021-01-27 18:08:11 +01:00
Unknown W. Brackets 8a437b267e Mp3: Correct logging for init. 2021-01-27 07:07:14 -08:00
ANR2ME 46397c40a0 Updated GameMode initial data sync, in case remote players aren't listening yet when sending initial data (fix Pocket Pool) 2021-01-27 19:20:51 +07:00
Unknown W. Brackets 4b4be0f34f Mp3: Always keep sample rate from original mp3.
Our codec context is updated with the source sample rate, so this makes us
not resample at all.

Converting to stereo still seems correct.
2021-01-26 23:50:54 -08:00
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