Commit graph

90 commits

Author SHA1 Message Date
Unknown W. Brackets
10f1f198fb Fix some type conversions warnings. 2013-07-07 19:16:25 -07:00
oioitff
97c6b96408 Remove IsAudioEnd(), use IsNoAudioData() instead. 2013-07-02 17:20:46 +08:00
oioitff
c93a1b6f33 Implement scePsmfSpecifyStreamWithStreamType
and scePsmfSpecifyStreamWithStreamTypeNumber.
2013-07-01 14:02:12 +08:00
oioitff
d8a661e71f Tiny bug fix for scePsmfSetPsmf. 2013-07-01 04:25:04 +08:00
oioitff
db668f74db delete previous psmf if exists. 2013-07-01 04:17:09 +08:00
oioitff
b119356e9a Improve getPsmf for scePsmf. 2013-07-01 03:52:35 +08:00
Unknown W. Brackets
d8eede0b9a Add some unknown syscalls from reporting.
These are being linked in by games, so defining them will log them when
they are hit.
2013-06-30 12:05:14 -07:00
Henrik Rydgård
d18eb994da Merge pull request #2502 from oioitff/mpeg-fix2
Improve PsmfPlayer, and implement video loop for PsmfPlayer.
2013-06-29 04:21:14 -07:00
oioitff
a86ddab8d0 Tiny bug fix. 2013-06-28 05:44:57 +08:00
mschic
47b690918d Update scePsmf.cpp
Fixing for AKB48 MPEG crash because wrong pointer
Has been tested with:
 - AKB148 Idol to koi shitara, Idol to Guam de Koishitara
 - AKB149 Renai Sousenkyo
2013-06-27 23:56:01 +07:00
oioitff
ecffab317a Improve PsmfPlayer.
Implement video loop for PsmfPlayer.
2013-06-27 23:46:26 +08:00
Henrik Rydgard
604ad0181b Merge branch 'new-ui'. Still incomplete. Enable by setting NewUI=True in ppsspp.ini
Conflicts:
	UI/MenuScreens.cpp
2013-06-27 16:28:38 +02:00
Henrik Rydgård
872366a137 Merge pull request #2284 from oioitff/mpeg-fix2
Use ringbuffer as a real PSP instead the huge buffer.
2013-06-26 13:55:50 -07:00
Henrik Rydgard
5297b6274d Add a stub impl of the last scePsmf function 2013-06-24 18:58:54 +02:00
oioitff
fa4ad234a1 Use ERROR_LOG for error messages instead. 2013-06-25 00:16:55 +08:00
oioitff
1e4d896980 Implement scePsmfPlayerSetPsmfOffset and
scePsmfPlayerSetPsmfOffsetCB. And use memory buffer for PsmfPlayer
directly instead.
2013-06-25 00:16:51 +08:00
oioitff
7bde93d534 Fix corrupted frames and implement savestate
for mpeg.
2013-06-25 00:16:42 +08:00
oioitff
c970a7e689 Use ringbuffer as a real PSP instead huge buffer. 2013-06-25 00:16:38 +08:00
Unknown W. Brackets
ee2a99adee Correctly read 48-bit pts in scePsmf as well.
Attempt to fix #2347.
2013-06-18 23:58:52 -07:00
oioitff
00e6873a30 Bug fix for scepsmf. 2013-06-16 01:35:47 +08:00
oioitff
f2af925015 fix wrong video/audio stream channel. 2013-06-15 01:42:19 +08:00
oioitff
94bc8d0cd6 Implement scePsmfGetNumberOfSpecificStreams. 2013-06-15 01:39:56 +08:00
Unknown W. Brackets
e36da8b49f Clean up scePsmfPlayer logging.
Move a bunch of things from errors.
2013-06-13 22:33:59 -07:00
Unknown W. Brackets
1af3ef0880 Clean up scePsmf logging. 2013-06-13 22:21:39 -07:00
Unknown W. Brackets
5b17005e31 Correct result of scePsmfGetVideoInfo(). 2013-06-13 22:12:16 -07:00
raven02
9b164958a2 Change to DEBUG_LOG 2013-06-14 07:19:52 +08:00
raven02
0bb7462e2d Implement scePsmfVerifyPsmf 2013-06-14 07:15:57 +08:00
oioitff
77a17cacc5 Add support for multiple video/audio stream. 2013-06-11 19:04:14 +08:00
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