Commit Graph

10407 Commits

Author SHA1 Message Date
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
Henrik Rydgård
8b05561076
Merge pull request #14091 from sum2012/mpeg_god_eater
Only allow sceMpegGetAvcAu warmup for God Eater Series
2021-02-09 16:09:21 +01:00
sum2012
b127aace57 Only allow sceMpegGetAvcAu warmup for God Eater Series
Fix #14086
2021-02-09 22:46:09 +08:00
Henrik Rydgård
4b67fe4947 Remove now-redundant check 2021-02-09 10:17:15 +01:00
Henrik Rydgård
6db827093d Buildfix 2021-02-09 09:48:34 +01:00
Henrik Rydgård
f6b2070e47 Cause the correct type of exception. Never ignore EXEC_ADDR exceptions. 2021-02-09 09:38:03 +01:00
Henrik Rydgård
6b4356a060 Handle exec addr errors better - don't let IgnoreBadMemoryAccesses skip dispatcher exceptions.
It would then just fall through into the compiler and die.

Should remove one of the "mystery" crashes from #14082.
2021-02-09 09:32:38 +01:00
Henrik Rydgård
b539ce8c2c
Merge pull request #14078 from unknownbrackets/ppge-alloc
PPGe: Decimate text images properly
2021-02-08 10:09:21 +01:00
Unknown W. Brackets
c87b53a9fe PPGe: Decimate text images properly. 2021-02-07 23:06:35 -08:00
Henrik Rydgård
e83b4f03be
Merge pull request #14072 from ANR2ME/adhoc
[Adhoc] Fix the flickering loop when playing multiplayer on Samurai Dou Portable/Way of the Samurai Portable
2021-02-07 16:02:34 +01:00
Henrik Rydgård
93478e0b97
Merge pull request #14067 from unknownbrackets/ppge-text-alloc
PPGe: Fallback to atlas text on alloc fail
2021-02-07 09:09:17 +01: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
839be8e636 PPGe: Clear text allocations on shutdown. 2021-02-06 14:23:35 -08:00
Unknown W. Brackets
47523a0557 PPGe: Fallback to atlas text on alloc fail. 2021-02-06 14:10:18 -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
Henrik Rydgård
5babc1af2c
Merge pull request #14062 from unknownbrackets/ui-load-error
Core: Reset state properly on CPU init failure
2021-02-05 09:06:06 +01:00
Unknown W. Brackets
aca9953b3c Core: Reset state properly on CPU init failure. 2021-02-04 21:41:40 -08: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
dfbde19db5
Merge pull request #14039 from unknownbrackets/ge-frame-dump
Core: Maintain frame dump disc ID in SFO
2021-01-31 19:20:05 +01:00
Unknown W. Brackets
2a545a317c Core: Maintain frame dump disc ID in SFO.
This way we won't generate a fake one later and use it for anything else.
2021-01-31 09:22:20 -08:00
Unknown W. Brackets
a20c972d55 Loaders: Prevent errors on 0 byte reads.
Was happening when opening an http:// GE frame dump.
2021-01-31 09:21:40 -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
Henrik Rydgård
95a14be6f9
Merge pull request #14034 from unknownbrackets/ge-pause
Ge: Restore saved context when ending a list
2021-01-31 10:52:55 +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
Henrik Rydgård
719aae4730
Merge pull request #14029 from unknownbrackets/iso-endian
Io: Consistently use LE values of ISO entries
2021-01-30 23:10:50 +01:00
Unknown W. Brackets
49e9400670 Io: Consistently use LE values of ISO entries.
Better to be consistent across big endian and little endian, in case
something was mastered wrong.
2021-01-30 12:00:40 -08:00
Henrik Rydgård
c84ddaa9e0
Merge pull request #14027 from unknownbrackets/mips-cleanup
Core: Correct branch analysis truncation
2021-01-30 20:57:17 +01:00
Unknown W. Brackets
d12d890e25
Merge pull request #14023 from hrydgard/ubsan-shift32-fix
Attempt to fix #14022
2021-01-30 11:45:10 -08:00
Unknown W. Brackets
e99c69f19e jit: Be very clear on sign extension. 2021-01-30 11:41:30 -08:00
Unknown W. Brackets
e397754587 Core: Correct branch analysis truncation. 2021-01-30 11:22:46 -08:00
Henrik Rydgård
58f19051cd Attempt to fix #14022 2021-01-30 18:03:46 +01:00
Gleb Mazovetskiy
c17685646e Fix left shift of negative value in MIPSCodeUtils
Fixes a benign UBSAN error to improve the signal-to-noise ratio of
UBSAN errors.

Fixes #14015
2021-01-30 12:03:40 +00:00
Henrik Rydgård
c18142b41e
Merge pull request #13997 from ANR2ME/adhoc
[Adhoc] Fix connection issue on Dynasty Warriors (Shin Sangoku Musou) games
2021-01-30 10:00:54 +01:00
Henrik Rydgård
0af0aed25f
Merge pull request #14008 from glebm/fix-align-filesystem
Fix alignment issues in ISOFileSystem
2021-01-30 09:58:12 +01:00
Henrik Rydgård
e7aeeb90ac
Merge pull request #14009 from unknownbrackets/branch-shift
jit: Make branch shift more obvious
2021-01-30 09:24:34 +01: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
23992141f9
Merge pull request #14001 from glebm/ubsan
CMake: Add USE_UBSAN
2021-01-30 09:14:35 +01:00
Unknown W. Brackets
c179cad5c2 jit: Make branch shift more obvious.
And also not technically undefined behavior.
2021-01-29 20:53:41 -08:00
Gleb Mazovetskiy
093a36eec5 Fix alignment issues in ISOFileSystem
Fixes #14002
2021-01-30 00:28:34 +00:00