Commit Graph

120 Commits

Author SHA1 Message Date
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
raven02 898964e415 Typo fix 2014-01-09 22:34:02 +08:00
raven02 451797af92 Add ERROR_LOG for invalid id and timestamps 2014-01-09 21:37:01 +08:00
raven02 9ac8c63d96 Make more sense to use return as ERROR_PSMF_INVALID_ID 2014-01-09 21:30:49 +08:00
Henrik Rydgård c176d09ba6 Fix a few range checks in scePsmf. See #5051 2014-01-08 14:20:20 +01:00
Unknown W. Brackets 936f34a6b7 Check the audio buffer size just in case.
This way we definitely won't overfill it.
2014-01-04 01:25:42 -08:00
Unknown W. Brackets f095ac656b Don't completely fill the psmf ringbuffer at once.
It takes more time (slowing the start of the video), and gets us closer to
overflowing buffers and stuff.
2014-01-04 01:23:44 -08:00
Unknown W. Brackets 81b2540e98 Fix typo. 2014-01-01 13:38:04 -08:00
Unknown W. Brackets 36707ce9e7 Load the EP map from the psmf data when available.
Rather than just having uninitialized values.

Fixes #2642, World Neverland.
2014-01-01 13:38:03 -08:00
Unknown W. Brackets bb10ffd38f Set Psmf->headerSize to something.
Before it was uninitialized.
2014-01-01 13:38:03 -08:00
Henrik Rydgård ce378b231f Delete CPU.cpp/h , cleanup 2013-12-30 00:11:29 +01:00
Henrik Rydgård 79ff2f0ba8 Start untangling our include mess a little. 2013-12-29 23:34:45 +01:00
Unknown W. Brackets 46e0ac5f23 Logging tweak. 2013-12-19 00:18:29 -08:00
Unknown W. Brackets 183b4cb45c Add a static method for creating PSPPointers.
This is still kinda ugly, but the assignment thing was just too ugly, I
couldn't do it anymore.
2013-12-16 23:50:52 -08:00
Unknown W. Brackets ae0560a1db Ignore bad video decode addresses.
Instead of crashing, even if that's more fun.
2013-12-11 08:21:01 -08:00
Unknown W. Brackets 21c617a7be Correct some syscall names. 2013-12-02 23:40:16 -08:00
Henrik Rydgård 0e54e24b24 Revert "Use swap code from native instead. Remove all other versions of it."
Broke movie playback.

This reverts commit 9fcb08a326.

Conflicts:
	native
2013-10-28 17:24:03 +01:00
Sacha 9fcb08a326 Use swap code from native instead. Remove all other versions of it. 2013-10-28 03:07:32 +10:00
Unknown W. Brackets e95f55a5fe Fix some enum type warnings. 2013-10-19 14:57:45 -07:00
Unknown W. Brackets a1713e620b Initialize some psmf values.
This was causing glitches when loading game A and then game B.
2013-09-22 21:19:59 -07:00
The Dax d102baacd0 Prep PPSSPP for Visual Studio 2013. 2013-09-17 10:27:06 -04:00
Unknown W. Brackets 50e9e45d65 Check version in each DoState() func.
They bail on PointerWrap error or bad version.
2013-09-14 20:23:03 -07:00
Henrik Rydgard 8c88dff5a4 More log categories, use them (and existing ones). Improve log config. 2013-09-07 22:02:55 +02:00
Unknown W. Brackets 2ef650aa2d Add a bunch of HLE functions for better reporting. 2013-08-22 23:04:55 -07:00
Unknown W. Brackets 008052e6d6 Fix some variable hiding warnings. 2013-08-12 23:32:38 -07:00
Unknown W. Brackets bfb05440e2 Specify memory layout in sceMpeg/scePsmf. 2013-07-27 15:53:30 -07:00
Henrik Rydgard 9d76ba7dd2 Minor cleanup in texcache, fix some warnings 2013-07-22 19:26:16 +02:00
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