Unknown W. Brackets
2b58ac7e95
Psmf: Fix pointer check.
2022-12-03 07:17:27 -08:00
Unknown W. Brackets
55d5dc3834
GPU: Rename readback and buffer write operations.
...
Avoid download/upload and pack, which don't have clear directions.
2022-10-09 13:49:41 -07:00
Unknown W. Brackets
3af8a667e1
Psmf: Fix save states.
2022-10-07 07:03:29 -07:00
sum2012
de6d747cf0
Store crc change to u32
...
Should build fixed
2022-10-05 20:36:01 +08:00
sum2012
af93a7185b
Add crc record to psmfplayer
2022-10-04 09:50:33 +08:00
Henrik Rydgård
ac7ca963db
Make valgrind happy
2022-09-23 12:24:43 +02:00
Unknown W. Brackets
8b41178cb8
Psmf: Use PSPPointer instead of WriteStruct.
2022-09-03 10:44:11 -07:00
Unknown W. Brackets
b332d0411e
Psmf: Check for invalid stream/EP map entry counts.
2021-12-02 19:04:48 -08:00
Henrik Rydgård
2f3bc2d373
Merge pull request #14056 from unknownbrackets/debugger-mem
...
Track memory allocations and writes for debug info
2021-02-21 10:18:11 +01:00
aliaspider
9a3e5879bb
Global: Correct many endian types and casts.
2021-02-18 22:25:24 -08:00
Unknown W. Brackets
88e2b9b740
Debugger: Notate memset tags directly.
2021-02-15 15:01:23 -08:00
Henrik Rydgård
93fd62f54b
Merge pull request #13832 from unknownbrackets/events
...
SaveState: Make event restoring more obvious
2021-02-15 23:39:42 +01:00
Unknown W. Brackets
e85a8b0f5b
Global: Cleanup class init order warnings.
2021-02-15 11:59:45 -08:00
Unknown W. Brackets
f32f89dd90
Global: Remove some unused variables.
2021-02-15 11:59:45 -08:00
Unknown W. Brackets
64f3830668
Psmf: Fix a potential leak on shutdown.
2021-01-01 15:43:13 -08:00
Unknown W. Brackets
06f8ab5a49
SaveState: Make event restoring more obvious.
...
We still must restore all events, but everything can be taken care of
during the save state load.
2020-12-28 13:29:19 -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
668fca01a8
Fix crash on save state. Fixes #13658
...
Should be ok since the event will get restored next time it's needed
(delayed).
2020-11-12 13:37:48 +01:00
Unknown W. Brackets
9686520dbd
Psmf: Cleanup logging.
2020-10-19 19:24:08 -07:00
Unknown W. Brackets
c8b2dd123f
Psmf: Handle older states for delayed state change.
2020-10-19 19:06:32 -07:00
shenweip
c79d20ca07
DoState.
2020-10-19 16:57:51 +08:00
shenweip
d940f80b88
PsmfPlayer:The status will not be changed until the delay result is finished.
2020-10-19 16:29:42 +08:00
Unknown W. Brackets
b8342fb8ec
SaveState: Rename ChunkFile files to Serialize.
...
Makes more sense and less weird than ChunkFileDoMap, etc.
2020-08-10 08:04:05 +00:00
Unknown W. Brackets
1dc5ee424b
SaveState: Split out Do types to reduce headers.
2020-08-10 08:03:44 +00:00
Unknown W. Brackets
4b4e3432cd
SaveState: Split Do() into a separate header.
2020-08-10 08:03:41 +00:00
Henrik Rydgård
df6d0a8ae7
PSP kernel: Improve logging when accessing bad kernel object handles.
2020-07-20 11:57:11 +02:00
sum2012
2c3833c28d
Add more debug info in scePsmfPlayerStart
2020-05-17 22:31:37 +08:00
Unknown W. Brackets
ab38c387ad
Io: Correct some error handling for OpenFile().
...
See #12433 .
2020-03-08 21:22:21 -07:00
shenweip
41a53d70bd
Rename func.
2020-02-27 19:21:27 +08:00
shenweip
6eb1d1b742
Check whether the audio is actually played in psmf player
...
Fixes #11898 , some audio contained in pmf videos seem not be actually played by the games. current code prevents video from moving forward for waiting auido and sync, similar issue will happen.
2020-02-27 17:35:16 +08:00
Unknown W. Brackets
913121cf2b
Io: Consistently use error codes with OpenFile().
...
This gets rid of OpenWithError(), and just always returns a negative value
on error for OpenFile(). Also fixed the sequence rollover, which could've
returned 0.
0 should be considered a valid handle ideally, but left it never returning
0 to simplify cleanup in some areas.
2019-10-20 11:03:37 -07:00
Unknown W. Brackets
ad274d5b72
Psmf: Cleanup finishThread save state handling.
2019-09-01 08:16:05 -07:00
Unknown W. Brackets
dd804660c9
Psmf: Use kernel memory for helper thread stack.
...
Also, thread stacks must be 0x200 or larger.
2019-09-01 08:16:05 -07:00
Henrik Rydgård
b286283ced
Since we know from #9601 that e9d5eb694b
is wrong, at least make it more specific.
2017-05-18 15:30:12 +02:00
Henrik Rydgard
e9d5eb694b
Fix video playback in LocoRoco 2. scePsmfPlayerGetInfo had a couple more parameters.
...
Fixes #7887 .
2017-02-17 10:29:00 +01:00
Unknown W. Brackets
a0484dce65
Psmf: Use packets for end in all versions.
...
Turns out no version of the library looks at the pts for the end.
2016-08-15 21:00:10 -07:00
sum2012
00a379e9f0
Psmf: Ignore last timestamp with old PsmfPlayer libs
...
Until 5.50
Fix #6574
2016-08-16 03:57:36 +08:00
Unknown W. Brackets
f23391578f
Psmf: Ignore stream size with old PsmfPlayer libs.
...
Until 5.50, the stream size was not used. See #6574 .
2016-08-14 17:24:29 -07:00
Henrik Rydgård
eac18489e6
Merge pull request #8867 from unknownbrackets/mpeg
...
Improve mpeg parsing / corruption issues
2016-08-06 18:14:17 +02:00
Unknown W. Brackets
fd546ff21d
Fix some type comparison warnings.
2016-08-05 10:47:45 -07:00
Unknown W. Brackets
558b4620e8
Mpeg: Parse video streams from PSMF header.
...
Without doing this, FFmpeg will try to probe the streams to detect them
instead. When it does this, sometimes it tries to read beyond the data
that's available - and then gets confused by EOFs.
Parsing this way allows us to control the situation.
An example is Valkyrie Profile, corruption in the first frames of the
second video during the intro. Thi doesn't fix it yet, but now it's just
a matter of buffering.
2016-07-24 15:58:06 -07:00
Unknown W. Brackets
80d72acaec
Psmf: Correct default stream.
...
Fixes Jeanne d'Arc, others.
2016-06-07 20:41:13 -07:00
Unknown W. Brackets
bda1956f90
Psmf: Enable error check on player create.
...
Reporting makes it look like this should be safe.
2016-06-04 18:17:38 -07:00
Unknown W. Brackets
cf2796de41
Psmf: Allow each struct to have its own stream.
...
Some games will create a clone, and then set a different stream on it,
e.g. one for the video, another for the audio stream.
2016-06-04 18:17:37 -07:00
Unknown W. Brackets
b13c68a373
Psmf: Correct get video/audio info errors.
...
This actually grabs from the currently specified stream, and fails if it's
the wrong type. Additionally, return stream-specific info... unlikely to
matter, hard to imagine a video with a mono and stereo stream.
Also reduces log verbosity.
2016-06-04 18:17:37 -07:00
Unknown W. Brackets
185ad781f3
Psmf: Add better error handling for SetPsmf.
...
Checked on different devkit versions in case of changes.
2016-06-04 18:17:36 -07:00
Unknown W. Brackets
91887ad85c
Psmf: Correct errors in current stream num.
2016-05-31 09:55:51 -07:00
Unknown W. Brackets
0a00777403
Psmf: Only write current type/channel if valid.
...
And improve error handling in general.
2016-05-31 09:55:51 -07:00
Unknown W. Brackets
7ad07ca82e
Psmf: Handle stream specification per tests.
...
These seem buggy, but generally sane.
2016-05-31 09:55:50 -07:00
Unknown W. Brackets
cca9a73105
Psmf: Start at stream 0 when not specified.
2016-05-31 09:55:49 -07:00