Commit Graph
10374 Commits
Author SHA1 Message Date
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 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
Gleb Mazovetskiy 0fb42e07a6 CMake: Rename USE_ADDRESS_SANITIZER to USE_ASAN
For consistency with USE_UBSAN
2021-01-29 23:10:22 +00: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
Henrik Rydgård 1b843ef8cc Merge pull request #13974 from unknownbrackets/crc-simple
Reporting: Expose CRC queue methods for other uses
2021-01-25 15:01:58 +01: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
Unknown W. Brackets acbe0573fa Reporting: Expose CRC queue methods for other uses.
This way UI can expose the CRC if needed.
2021-01-24 19:53:47 -08: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
Henrik Rydgård a8a60d3e17 Merge pull request #13959 from sum2012/mp3_minor
Resample mp3 in 32000Hz
2021-01-24 09:21:57 +01:00
sum2012 25a09288e9 Resample only in 32000Hz 2021-01-24 04:51:26 +08:00
Henrik Rydgård 938d75272a Merge pull request #13963 from unknownbrackets/plugins-config
Plugins: Enable by default
2021-01-23 21:15:18 +01:00
Unknown W. Brackets 510aaa1263 Plugins: Enable by default. 2021-01-23 10:26:06 -08:00
Henrik Rydgård b856b5c23c Merge pull request #13962 from unknownbrackets/ppge-shrink
PPGe: Scale down by worst of window/internal res
2021-01-23 18:38:44 +01:00
Unknown W. Brackets 0b666d0dac PPGe: Scale down by worst of window/internal res.
See #13958.
2021-01-23 09:04:58 -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 4595fcd83b Merge pull request #13946 from unknownbrackets/debugger-input
Add debugger APIs for buttons and analogs
2021-01-19 09:32:17 +01: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 1148e6e4ba Debugger: Include all press states for convenience.
In case of a multi-button shortcut, which might be common for debugging.
2021-01-18 18:14:48 -08:00