Commit Graph

266 Commits

Author SHA1 Message Date
Unknown W. Brackets
87a07d7355 Workaround bug in Kurohyou 2 (uninitialized data.)
The game calls scePsmfGetEPWithTimestamp(), but without any chapters.
This means nothing is written to its pointer.  But it takes the value
there anyway.

It happens that the value there is 0, but only because something wrote it
to the stack before the call.  It seems like scePsmfVerifyPsmf() is the
one writing it, since it has a different value shortly before that call.

So, as a workaround, just write some 0s into the stack.  Games without
bugs should not care.  Hard to predict what will happen to another buggy
game.
2014-03-02 01:22:25 -08:00
raven02
6888ea8d79 Typo fix 2014-03-02 15:12:50 +08:00
chinhodado
4f7a7d9434 remove a check that is always false 2014-02-25 00:22:52 -05:00
raven02
a5c107e5d1 Code cleanup scePsmf 2014-02-16 23:21:32 +08:00
raven02
cc10d43c53 Remove unconfirmed STANDBY changes 2014-02-15 18:38:38 +08:00
raven02
c4a9952449 Remove duplicate Memset 2014-02-15 18:37:34 +08:00
raven02
7d9f1ff57a Move memset up so it's always done 2014-02-15 18:15:44 +08:00
raven02
01ff295031 Check PSMF_PLAYER_STATUS_STANDBY status to return not init error 2014-02-15 18:07:19 +08:00
raven02
5a71ec678c Clear the audio when paused 2014-02-15 17:49:35 +08:00
Henrik Rydgård
b5dc7b4688 Merge pull request #5443 from raven02/patch-21
scePsmf : add pause mode (PSMF_PLAYER_MODE_PAUSE)
2014-02-14 13:29:33 +01:00
raven02
7fbee7bb19 Typo fix 2014-02-14 18:45:12 +08:00
raven02
69690a0fe1 scePsmf : add pause mode (PSMF_PLAYER_MODE_PAUSE) 2014-02-14 10:43:53 +08:00
raven02
8b19ebc6d8 scePsmf(): check not initialized status 2014-02-14 10:19:38 +08:00
sum2012
b0d87a13c2 Add scePsmfPlayerStop and scePsmfPlayerReleasePsmf error code
Find in #5416
The game still not fix.
2014-02-13 20:22:56 +08:00
Henrik Rydgård
5fa6a947d9 Merge pull request #5349 from raven02/patch-10
Code cleanup scePsmf
2014-02-13 11:21:36 +01:00
sum2012
f5a5c4bd08 Add scePsmfPlayerGetVideoData and scePsmfPlayerGetAudioData log information 2014-02-12 23:32:05 +08:00
raven02
78f980e1c3 Add __isPlayingStatus() check 2014-02-09 23:24:33 +08:00
raven02
2321d4c19c Code cleanup scePsmf 2014-02-06 22:11:26 +08:00
raven02
a71039351f Set pts/dts as -1 when psmfplayer->mediaengine->IsVideoEnd() 2014-02-04 22:49:37 +08:00
sum2012
d37100b30a Correct scePsmfPlayerBreak psmfplayer status
Fix everybody stress buster
2014-01-28 19:13:59 +08:00
sum2012
3af056f459 Update scePsmfPlayerGetAudioOutSize log 2014-01-28 17:02:38 +08:00
Henrik Rydgard
ef56298ab6 Revert "Merge pull request #5106 from shenweip/patch-1"
This reverts commit 91a355b642, reversing
changes made to 82395001ec.
2014-01-14 19:31:09 +01:00
shenweip
3773122316 Tell media engine to change channel when psmf specifi stream. 2014-01-15 00:17:00 +08:00
Unknown W. Brackets
4a4f89eeac Correctly read the epmap from the right place. 2014-01-10 12:57:40 -08:00
raven02
c2e6f77a2f Check EPMap and return ERROR_PSMF_NOT_FOUND if empty 2014-01-10 19:15:35 +08:00