Commit Graph

4847 Commits

Author SHA1 Message Date
Unknown W. Brackets
f32f89dd90 Global: Remove some unused variables. 2021-02-15 11:59:45 -08:00
Henrik Rydgård
5ed5947804
Merge pull request #13943 from unknownbrackets/dialog
Dialog: Simulate volatile memory lock behavior
2021-02-15 16:47:06 +01:00
Henrik Rydgård
0a1303b069
Merge pull request #13938 from unknownbrackets/worms-hook
HLE: Hook Worms text render copy func
2021-02-15 16:32:00 +01:00
Henrik Rydgård
af3b0e6ebf
Merge pull request #14070 from unknownbrackets/timing
CoreTiming: Ensure we never idle into the past
2021-02-15 13:24:10 +01:00
Henrik Rydgård
6df37b86bc
Merge pull request #14076 from unknownbrackets/zhp-map
GPU: Force texture invalidation for ZHP minimap
2021-02-15 11:33:32 +01:00
Unknown W. Brackets
9d22297a90 Windows: Use CommonWindows more consistently.
Also, make sure WinSock2.h is included beforehand where it's needed.
2021-02-14 10:30:10 -08:00
Unknown W. Brackets
0ffac20fcd Common: Include unistd.h before ctime on mingw.
This is required for localtime_r and similar to be available.
2021-02-14 10:30:10 -08:00
Unknown W. Brackets
2c165c9b6d Windows: Fix improper case or missing includes.
As per mingw errors/warnings.
2021-02-14 10:30:10 -08:00
Henrik Rydgård
14e3df6675
Merge pull request #14132 from unknownbrackets/io-validsize
Io: Truncate reads/writes to valid memory
2021-02-13 18:30:45 +01:00
Unknown W. Brackets
788e8c3bbc Io: Truncate reads/writes to valid memory.
A PSP might crash in these cases, but it's better if we avoid a crash.
2021-02-13 08:24:39 -08:00
ANR2ME
5a10835987 Fix lobby issue on The Warriors, probably also fix similar issue on other games too. 2021-02-11 20:51:49 +07:00
ANR2ME
0ce2c2c6e9 Windows recvfrom doesn't support MSG_TRUNC, so we're using dummy buffer with max size as alternative for peeking actual size of the next pending message. 2021-02-11 07:40:35 +07:00
ANR2ME
fc452c0dfd Fix frozen (0 FPS) issue on Kao Challengers and Asterix & Obelix XX (probably also fix other games from the same developer with similar issue) https://github.com/hrydgard/ppsspp/issues/14103 2021-02-11 03:44:25 +07:00
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
Unknown W. Brackets
ec3bfe08ae GPU: Force texture invalidation for ZHP minimap.
See #14069, our texture hash misses this change.
2021-02-07 09:02:28 -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
Unknown W. Brackets
c99de6409d Sas: Minor clenaup. 2021-02-06 18:37:05 -08: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
Unknown W. Brackets
5d60fa0d0d Common: Maintain C++11 support in sign extend. 2021-01-31 08:44:02 -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
1b00da2f3a Common: Sign extend w/func not chained casts.
Should be clearer to read and easier to get right.
2021-01-31 01:25:52 -08: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