Commit Graph
184 Commits
Author SHA1 Message Date
Unknown W. Brackets a843cbd580 Shrink the very common sceKernelThread.h include. 2014-03-15 11:44:02 -07:00
Unknown W. Brackets 05ab192c9c Reduce includes in Core/HLE/.
Especially templates.
2014-03-15 11:22:19 -07:00
Henrik Rydgard c80510fb3b MemMap should not be included in MIPS.h. 2014-03-15 10:45:39 +01:00
Unknown W. Brackets 641064f0bc Consistently use MIPS_REG_V0 for return values.
This way all instances are a lot easier to search for (was trying to find
where we were writing an incorrect value to v0, turns out to be callback
related of course.)
2014-03-04 08:21:55 -08:00
Unknown W. Brackets 0f36b45f2e Turns out this difference began in mpeg.prx 0105. 2014-03-02 10:40:54 -08:00
Unknown W. Brackets fc1ab072b3 Write the ringbuffer struct based on mpeg version.
This way it can easily match tests.
2014-03-02 01:31:30 -08:00
Unknown W. Brackets cda1bc2772 Keep track of the loaded sceMpeg_library version.
They have variations in behavior.
2014-03-02 01:31:29 -08:00
Unknown W. Brackets 4a1c9645e8 Get rid of Memory::GetStruct(), use PSPPointer. 2014-02-27 00:28:57 -08:00
raven02 db943fa3cc Add PSMF_VERSION_00XX 2014-02-16 23:23:17 +08:00
raven02 1fcbc46814 Make sure audio stream is present 2014-02-10 09:31:54 +08:00
raven02 891d223a4f Avoid repeat spamming of audio end reach 2014-02-09 21:48:26 +08:00
raven02 9df71811e0 Return ERROR_MPEG_AVC_INVALID_VALUE 2014-02-08 23:20:49 +08:00
raven02 82add9725e sceMpeg : Remove obsolete getMpegHandle() 2014-02-08 16:46:55 +08:00
raven02 c3f6c086ad Keep it original 2014-02-05 09:10:27 +08:00
raven02 601bc39f9c Use avcAu & atracAu to represent AVC and ATRAC access unit 2014-02-04 22:55:41 +08:00
raven02 cb2528ab99 Report the mpeg first timestamp 2014-02-04 10:59:34 +08:00
raven02 2c212d5cd6 Sanity Check ctx->mpegFirstTimestamp != 90000 2014-02-04 09:21:16 +08:00
sum2012 a2521ad01f Fix MHP3 Chinese version crash in scempeg and scejpeg 2014-02-04 08:00:29 +08:00
Henrik Rydgård faf6f95157 Merge pull request #5302 from raven02/patch-18
sceMpeg : Not to check as Mpeg handle
2014-02-02 02:27:49 -08:00
raven02 572cbf62b7 Few advice fixes 2014-02-02 00:43:40 +08:00
raven02 6dbed955d9 sceMpeg : Not to check as Mpeg handle 2014-02-02 00:19:45 +08:00
raven02 32aac27c19 Tidy up sceMpeg() 2014-02-01 23:56:34 +08:00
sum2012 600ef9b132 Add sceMpegRingbufferQueryMemSize and sceMpegQueryMemSize log information 2014-01-30 06:03:10 +08:00
Henrik Rydgård 60e44c40b6 Merge pull request #5245 from raven02/patch-8
Saving the current frame's status to initAddr
2014-01-29 01:56:14 -08:00
raven02 ee8b062687 Save the current frame's status to initAddr 2014-01-28 23:36:29 +08:00
raven02 e40c19a22a Add and wrap 3 new functions 2014-01-28 22:03:11 +08:00
raven02 3cf8437f24 Wrap few more sceMpeg() functions 2014-01-28 21:56:49 +08:00
raven02 3236625bf6 Revert #5044 and set ctx->avc.avcDecodeResult = 1 2014-01-25 21:29:37 +08:00
Henrik Rydgård f9be841612 Merge pull request #5130 from unknownbrackets/mpeg-minor
Set return status in sceMpegAvcDecodeStopYCbCr()
2014-01-18 12:42:17 -08:00
Unknown W. Brackets dfd480d13a Set return status in sceMpegAvcDecodeStopYCbCr().
Like the other Stop().  Fixes video end in Tales of Phantasia X.
2014-01-18 10:56:41 -08:00
Henrik Rydgård f460f34a93 Merge pull request #5044 from raven02/patch-14
Fix corrupted keyframes in several games
2014-01-18 09:09:15 -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 1fc52a321d Fix savestate. 2014-01-15 00:32:14 +08:00
shenweip 4af78a3164 Don't change video/audio streams in sceMpegGet *AU. 2014-01-15 00:24:22 +08:00
shenweip a55771e643 Fix typo. 2014-01-15 00:17:36 +08:00
shenweip 3773122316 Tell media engine to change channel when psmf specifi stream. 2014-01-15 00:17:00 +08:00
raven02 e757559cbc Remove duplicate 2014-01-12 23:29:49 +08:00
Unknown W. Brackets a651e09de7 Fix a bad comparison (&& and || without parens.)
I thinks this is what's inteded.  I still think it's bad to guess at errors without testing.
2014-01-10 22:12:00 -08:00
raven02 23704e9940 Return PSP_ERROR_MPEG_NO_DATA when audio end reach 2014-01-10 23:41:32 +08:00
Unknown W. Brackets 079d770ce2 Revert the gp struct member in mpegs for now.
Unlikely to be used, even though seen in tests, and could be
causing #5045 (just a guess.)
2014-01-08 00:07:25 -08:00
raven02 4c26b839f4 Fix corrupted frames in Dainiji_Super_Robot_Taisen_Z_Hakaihen 2014-01-08 05:40:37 +08:00
Unknown W. Brackets 40745e727c Correct errors in sceMpegRingbufferAvailableSize(). 2014-01-05 23:12:16 -08:00
Unknown W. Brackets a896877449 Fix mpeg struct header. 2014-01-05 23:03:17 -08:00
Unknown W. Brackets e16602641c Improve errors in sceMpegRingbufferConstruct().
And also make Destruct() not actually null out the ringbuffer, per tests.
2014-01-05 22:34:11 -08:00
raven02 1e3ec469fd Typo fix 2014-01-05 08:46:50 +08:00
raven02 54d97824e0 Apply hleDelayResult to sceMpegAvcCsc 2014-01-04 22:47:34 +08:00
raven02 b28f224fe2 sceMpeg: Add all missing invalid memory check and cleanup format 2014-01-04 16:55:20 +08:00
Unknown W. Brackets 4e929764c8 Set the audio/video streams per sceMpegGet*Au().
This fixes #2226, thanks to @raven02 for finding the issue.  Could also
help e.g. Xyanide: Resurrection and a few other games.

The video codec change path is not super well tested, because I couldn't
find a game that triggered it, but it should work.
2014-01-03 09:29:37 -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 5220115708 Reduce sceMpegRingbufferAvailableSize() logspam.
It's really mostly interesting when it changes only.
2013-12-14 14:56:03 -08:00