Commit Graph

81 Commits

Author SHA1 Message Date
Unknown W. Brackets
4f069a23d9 Since we don't use readlength yet, don't add it.
This would actually go negative often enough, making us consume packets
more slowly than we should, or even never finish consuming.  4 is probably
too small, though.
2013-05-26 17:59:13 -07:00
Unknown W. Brackets
45b72c8b4a Add a couple more unknown syscalls. 2013-05-23 23:41:10 -07:00
Unknown W. Brackets
8580780194 Add more unknown syscalls from reporting. 2013-05-22 01:19:25 -07:00
Unknown W. Brackets
86ce95a658 Add some syscall entries from reporting. 2013-05-19 22:12:38 -07:00
Jacky TSUI
95addc09b1 Separate sceMp3 from sceMpeg 2013-05-06 21:14:58 +08:00
Unknown W. Brackets
273080a48b Add delays to the sceMpegGet*Au() functions.
Mostly from JPCSP.  I'm having trouble building a good test that
replicates these, but this fixes #1198 and seems right.
2013-04-20 23:17:10 -07:00
Unknown W. Brackets
a296bba3e1 Also delay inside sceMpegAtracDecode().
This is just from JPCSP but we don't have the function working properly
yet anyway.
2013-04-20 22:42:51 -07:00
Unknown W. Brackets
3914742485 Make sceMpegAvcDecode() reschedule, based on tests.
Timing seems variable but this should be safe-ish.
2013-04-20 22:38:56 -07:00
Unknown W. Brackets
a232764728 Fix error code for empty ringbuffer in mpeg. 2013-04-20 22:16:41 -07:00
Unknown W. Brackets
1bb66ea7eb Respect looping in sceMp3Decode(). 2013-04-15 02:00:03 -07:00
Unknown W. Brackets
40067470c2 Initial sceMpegGetUserdataAu() from JPCSP.
Because I got the stub wrong, so now it does something.
2013-04-08 00:47:25 -07:00
Unknown W. Brackets
4974124587 Fix some small constant-comparison type warnings. 2013-04-05 20:58:35 -07:00
Unknown W. Brackets
832edb0a8f Fix some x64 type conversion warnings. 2013-04-05 20:29:20 -07:00
Unknown W. Brackets
b80a3e83c3 Reset video pts when registering new streams. 2013-04-01 07:56:43 -07:00
Unknown W. Brackets
7bc4b47b85 Don't wipe all streams in sceMpegFlushAllStreams().
Patapon and Patapon 2 didn't like it, sitll works in Crisis Core.
2013-03-31 17:09:33 -07:00
Unknown W. Brackets
7b608b6946 Fix logging typo. 2013-03-31 12:35:14 -07:00
Unknown W. Brackets
6b9930d4f2 When no packets to decode, return no data more. 2013-03-31 12:35:13 -07:00
Unknown W. Brackets
d03eaab774 Implement sceMpegFlushAllStream(). Fixes FF7CC. 2013-03-31 12:35:13 -07:00
raven02
d540ff816c Improve sceMpegAvcDecode/YCbCr 2013-03-31 03:10:29 +08:00
Unknown W. Brackets
0d4b0a1246 Track unknown sceIoIoctl commands better.
Also an mpeg stub.
2013-03-29 01:54:04 -07:00
Unknown W. Brackets
d8dd889bfd Couple more minor warning fixes. 2013-03-15 08:19:02 -07:00
sum2012
9b63e457c8 better mpeg fix 2013-03-14 22:03:26 +08:00
sum2012
024a61e058 sceMpegRingbufferPut fix (Handle numPackets <= 0) 2013-03-14 00:32:09 +08:00
raven02
1593bc1cc2 Keep Write_U32 for ctx->mp3StreamPosition 2013-03-12 09:18:51 +08:00
raven02
bd39a69125 Add UseMediaEngine check 2013-03-12 08:41:46 +08:00
Henrik Rydgard
5b015dd788 Set default pixel mode for sceMpeg to 8888 2013-03-10 23:38:54 +01:00
raven02
85920312c2 Cleanup sceMpegQueryStreamOffset/sceMpegQueryStreamSize 2013-03-11 03:55:19 +08:00
sum2012
bb82ad1685 Correct WrapI_UUUI and IMP sceMpegAvcConvertToYuv420 2013-03-10 15:21:55 +08:00
raven02
db7f23faf7 Turn down level sceMpegAtracDecode log level 2013-03-06 07:01:40 +08:00
sum2012
4b45af3630 Remove PSP_ERROR_MPEG_INVALID_VALUE in scempeg.cpp 2013-03-05 21:05:25 +08:00
sum2012
03841486e1 Handle ringbufferAddr =0 in sceMpegCreate 2013-03-05 10:01:45 +08:00
sum2012
a79713b8c4 Add a debug log for sceMpegAvcResourceFinish 2013-03-05 09:18:21 +08:00
sum2012
fd50dc3a9d Add a comment that it's just a random address 2013-03-05 09:12:47 +08:00
sum2012
5ce82bc028 IMPL Some Mpeg
ref https://github.com/hrydgard/ppsspp/issues/508
please help to check whether I IMPL correctly
2013-03-05 08:39:32 +08:00
sum2012
bfe8752a18 Add Ini for use Media Engine
Better to solve blackscreen and flash issue.
2013-03-03 23:04:36 +08:00
Unknown W. Brackets
64c42ffaf2 Fix some warnings generated by clang. 2013-02-24 10:23:31 -08: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
fcdaf3c9c4 Return of mipscalls should be handled by actions. 2013-02-02 18:09:00 -08:00
Unknown W. Brackets
da446abf50 Add a sceMpegAvcDecodeYCbCr() like sceMpegDecode().
Kinda hacky but it seems to make Persona 1 happy.
2013-02-02 01:51:41 -08:00
Unknown W. Brackets
bdd3a6c517 Avoid the annoying static on some videos. 2013-02-02 01:49:12 -08:00
Unknown W. Brackets
862c88d61a More warning fixes, switches and printfs, etc.
This time ones not reported by Visual Studio.
2013-01-19 18:32:37 -08:00
Henrik Rydgard
2e6063d084 Merge branch 'master' into armjit 2013-01-11 18:01:32 +01:00
Unknown W. Brackets
7c6fd04fa2 Clear the free packets when hitting end of video. 2013-01-11 01:13:03 -08:00
Henrik Rydgard
c7a137a930 Merge branch 'master' into armjit
Conflicts:
	android/jni/MenuScreens.cpp
2013-01-10 12:57:45 +01:00
Henrik Rydgard
479d1f5111 Draw using VBO. Add option, make default true. 2013-01-10 12:54:36 +01:00
raven02
1d4c4d103e Add remaining sceMp3 stubs and DoState 2013-01-10 14:29:37 +08:00
Mathias Tillman
f224b5d583 Started work on implementing sceMp3 functions 2013-01-09 22:42:22 +01:00
Henrik Rydgard
dafc9f62df Regcache fixes, etc. thing still don't work when I turn on addiu :( 2013-01-09 11:20:48 +01:00
Unknown W. Brackets
7d28883a3f Quick mp3 crashfix.
Not heavily tested, but doesn't crash anymore and just fake anyway.
2013-01-09 01:44:51 -08:00