Commit graph

62 commits

Author SHA1 Message Date
Henrik Rydgård
e5050442be Merge pull request #2177 from oioitff/mpeg-fix
Improve mpeg timestamp.
2013-06-09 14:05:03 -07:00
oioitff
32fb534375 Improve mpeg timestamp.
Read 6 bytes timestamp instead.
2013-06-10 04:21:36 +08:00
Unknown W. Brackets
46227c8473 Don't delay psmf video when the audio has ended.
Lunar shows logos without any audio, which means the audio pts is always
0.  That meant it delayed more each frame...
2013-06-09 10:53:49 -07:00
oioitff
cdebf89584 Improve some functions for scePsmfPlayer.
Fix video end issue for Mahou Shoujo Nanoha A's Portable: The Gears of
Destiny
2013-06-10 01:07:43 +08:00
Unknown W. Brackets
14034fd9c1 PSP can decode directly to vram, so detect that.
Not sure if any games do this but I did it in a test.
2013-06-08 04:52:37 -07:00
Unknown W. Brackets
51d0f73008 Apparently, return 1 is not needed now. Hurray. 2013-06-08 03:00:47 -07:00
oioitff
5be3a6e748 PsmfPlayer seems to step video and sync
in scePsmfPlayerGetVideoData.
2013-06-08 00:27:31 +08:00
Unknown W. Brackets
61b46e30a0 Return valid stuff in scePsmfQueryStream*(). 2013-06-06 23:07:25 -07:00
Henrik Rydgard
a3dd3b53c3 Implement a couple basic Psmf functions, unify some project settings, update native. 2013-06-05 21:24:14 +02:00
Henrik Rydgard
2e7b971895 Check magic number to reject SFO files specifically from being loaded as modules. Should fix the strange Soul Calibur issue in issue #2063. 2013-06-05 19:59:16 +02:00
Unknown W. Brackets
b695fdda85 Ignore pixel mode -1 in psmf, seems to default?
This makes videos play fine in Sword Art Online.
2013-06-02 13:52:11 -07:00
Lioncash
a623660435 Nope, they should be ERROR_LOGs. 2013-06-02 04:54:14 -04:00
Lioncash
d99d4de2b7 Should be DEBUG_LOGs in the last change. Accidentally put WARN_LOGs. 2013-06-02 04:47:01 -04:00
Lioncash
3c2d1f5e5a Properly enclose psmfplayer calls within the null checks. Doesn't make sense any other way.
Add warning logs to each to help make debugging in the future less of a pain in the ass.
2013-06-02 04:43:44 -04:00
Unknown W. Brackets
b32a52f35c Convert videos directly to the desired format.
This still converts at least in some cases, but less.  But these seem
backwards, why are the BGR formats converting to RGB?
2013-06-02 00:31:16 -07:00
oioitff
c84cdee0c7 Partly implement scePsmf with MediaEngine. 2013-06-02 01:30:51 +08:00
Unknown W. Brackets
86ce95a658 Add some syscall entries from reporting. 2013-05-19 22:12:38 -07:00
Unknown W. Brackets
ded3fb5e12 Add reporting to a bunch of unimpl functions.
Also some comment/logging fixes along the way.
2013-05-19 22:12:37 -07:00
Unknown W. Brackets
ece7821718 Fix some minor incorrect logging. 2013-05-19 10:42:55 -07:00
Unknown W. Brackets
f649364b2d Add a null check to scePsmfPlayerGetAudioData().
Crimson Gem Saga was passing a NULL, maybe a glitch, but we do NULL
checks elsewhere.
2013-05-18 12:05:02 -07:00
raven02
6319da56fc Fix black screen in Ultimate Ghosts N Goblins 2013-04-28 07:41:40 +08:00
raven02
f3402b258a Fix history mode black screen in Saint Seiya Omega 2013-04-24 21:31:26 +08:00
Unknown W. Brackets
0fd3dfb160 Fix psmf typo in debug log output. 2013-03-31 01:01:41 -07:00
Lioncash
a4d8585794 Fix accidentally switched statements in scePsmf.cpp?
I'm assuming this was actually intended

The other way results in no actual changes happening. There were no comments saying that was intended so I guess it was an accident or something.
2013-03-30 00:42:12 -04:00
Unknown W. Brackets
7122fbf598 Add a couple scePsmf stubs. 2013-03-29 01:49:49 -07:00
oioitff
4989ceb706 Fix scePsmfPlayerDelete and add some other stubs. 2013-03-29 01:49:49 -07:00
Darth1701
88def44e24 Buildfix
A typo and a forgotten old Wrap
2013-03-12 09:51:50 +01:00
raven02
65589bf371 Add two parameters for scePsmfPlayerSetTempBuf 2013-03-12 11:54:52 +08:00
Henrik Rydgard
1cbc0deef6 Add stub for scePsmfSpecifyStream. 2013-03-12 00:17:24 +01:00
Unknown W. Brackets
b87c9839de Correctly make psmfPlayerStatus per instance. 2013-03-06 01:00:26 -08:00
Unknown W. Brackets
e361ae7e85 Check for bad psmfplayer param in status.
Improves Mana Khemia: Student Alliance.
2013-03-06 00:50:42 -08:00
Sacha
b817e3bf26 Update max to std::max 2013-02-10 23:01:18 +10:00
Unknown W. Brackets
112c1e9e23 Automatically delete pointers when savestating. 2013-02-04 08:28:22 -08:00
Unknown W. Brackets
a4032c5170 Simplify savestate code so it's all automagical.
If you can't beat 'em, join 'em?
2013-02-04 08:27:01 -08:00
Unknown W. Brackets
4fbfc5406f Don't error when savestating a psmfplayer. 2013-02-04 08:27:00 -08:00
Unknown W. Brackets
2a6457b6ab Cut down on h files including PointerWrap.
This makes changes to it a bit faster to build.
2013-02-04 08:26:59 -08:00
Xele02
4018359ef0 Stub for scePsmfVerifyPsmf.
Allow Gitaroo Man to advance further
2013-01-29 01:29:09 +01:00
Unknown W. Brackets
bb36a1f212 Fix scePsmfPlayerStart to not corrupt the stack.
Also, unrevert my last change and fix a possible crash.
2013-01-27 21:37:44 -08:00
raven02
f6598d2cd6 Add psmfPlayerLastTimestamp to psmfplayer 2013-01-24 19:40:26 +08:00
raven02
8d94f84464 Fix black intro for Naruto Shippuden Kizuna Drive 2013-01-24 19:21:32 +08:00
Unknown W. Brackets
38472b33ea For now, finish the psmf immediately.
Eventually we need to handle it more correctly.
2013-01-23 23:59:13 -08:00
Unknown W. Brackets
de1cb3fbca Make scePsmfPlayerCreate create psmfPlayers. 2013-01-22 23:44:23 -08:00
raven02
b16a208453 Add __PsmfPlayerDoState(PointerWrap &p) to sceKernel 2013-01-20 16:24:49 +08:00
raven02
b0868613bb Add DoState() to scePsmfPlayer . 2013-01-19 21:07:50 +08:00
raven02
d1ec43bc64 Implement couples of scePsmf and scePsmfPlayer functions 2013-01-19 14:42:37 +08:00
Mathias Tillman
a6f49c58ca Changed psmf to psmfStruct 2013-01-07 21:04:27 +01:00
Mathias Tillman
b780e39397 Fixed various potential bugs and compiler warnings 2013-01-07 15:57:19 +01:00
Unknown W. Brackets
9beb68e9d4 Stub some scePsmfPlayer funcs to make games work.
Intentionally left out of DoState to avoid breaking save states for
such a little stubbing.
2013-01-06 22:41:07 -08:00
Henrik Rydgard
4c8584da71 Add the correct spelling of sceAtracGetBufferInfoForResetting. Add a psmf function. 2013-01-05 18:15:27 +01:00
Unknown W. Brackets
cb0538c4db Can't just do that, might get the vtbl. Arg. 2012-12-29 03:19:13 -08:00