Unknown W. Brackets
1d35cc46a4
Validate parameters in sceSasInit().
2013-06-09 20:32:01 -07:00
Unknown W. Brackets
1c1293826c
Return correct errors on terminating thread.
...
Fixes Final Fantasy 4 hangs when playing videos a second time.
2013-06-09 18:56:36 -07: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
Henrik Rydgård
2846d3ce61
Merge pull request #2169 from unknownbrackets/rtti
...
Add a safety check for non-rtti
2013-06-09 10:39:41 -07:00
Henrik Rydgård
b8f6d6d559
Merge pull request #2170 from oioitff/mpeg-fix
...
Improve some functions for scePsmfPlayer.
2013-06-09 10:37:59 -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
fe1c26f2b2
Add a safety check for non-rtti.
2013-06-09 08:35:54 -07:00
Henrik Rydgård
35b28150a4
Merge pull request #2167 from oioitff/atrac-fix
...
Improve Atrac id generating and fix crash.
2013-06-09 06:21:02 -07:00
oioitff
64b73ee51d
Improve Atrac id generating and fix crash.
2013-06-09 21:10:41 +08:00
Henrik Rydgård
62f8727bca
Merge pull request #2165 from oioitff/atrac-fix
...
Implement __sceSasConcatenateATRAC3 and tiny bug fix for sceAtrac.
2013-06-09 04:54:45 -07:00
oioitff
c98adee757
Implement __sceSasConcatenateATRAC3.
...
.
2013-06-09 19:07:02 +08:00
oioitff
406a6adf6d
Improve _AtracGenarateContext.
...
Fix tiny bug for savestate.
2013-06-09 19:06:24 +08:00
Henrik Rydgard
2afbc94734
Turn off RTTI, simulate it where needed.
2013-06-09 13:02:16 +02:00
Henrik Rydgård
2513e52279
Merge pull request #2162 from unknownbrackets/scheduling
...
Don't allow the game to force wake from HLE delays
2013-06-09 00:46:25 -07:00
Unknown W. Brackets
2aae25026d
Forget blocking audio threads that die/release.
2013-06-08 23:42:59 -07:00
Unknown W. Brackets
0c41d4e952
Don't allow release wait for HLE delays.
...
Although, presumably the thread would stop waiting, I guess the HLE func
in most cases probably checks and re-waits?
Fixes breakage in Jeanne d' Arc, which constantly releases from wait the
main thread, but calls things like sceMpegCreate which do block.
2013-06-08 23:39:49 -07:00
Unknown W. Brackets
4c730a60c9
Eat cycles in devctl 0x02425823, fix params.
...
I can't seem to reproduce a way to change its return value, though...
Significant performance improvement for Star Ocean, especially in intro.
2013-06-08 18:03:28 -07:00
Henrik Rydgard
533541615f
Merge branch 'master' of github.com:hrydgard/ppsspp
...
Conflicts:
UI/GameInfoCache.h
2013-06-08 23:01:49 +02:00
Henrik Rydgard
51daa1f878
Delete the "Use Media Engine" option.
2013-06-08 22:53:36 +02:00
Henrik Rydgård
928ef3782e
Merge pull request #2152 from oioitff/atrac-fix
...
Scale volume in sceP3daBridgeCore and avoid overflow.
2013-06-08 13:43:34 -07:00
Unknown W. Brackets
f0cdc230d0
Savestate the context thing properly.
...
Just to make sure we don't leak kernel memory on load state.
2013-06-08 12:30:40 -07:00
oioitff
bfb66cc2ab
Scale volume in sceP3daBridgeCore and avoid overflow.
2013-06-09 02:27:30 +08:00
Henrik Rydgård
00d589e1af
Merge pull request #2150 from oioitff/atrac-fix
...
Partly implement _sceAtracGetContextAddress and __sceSasSetVoiceATRAC3.
2013-06-08 11:00:11 -07:00
oioitff
3c13b574e3
Partly implement __sceSasSetVoiceATRAC3.
...
Fix Sol Trigger hang up issue.
2013-06-09 01:34:38 +08:00
oioitff
cac9b89823
Basically implement _sceAtracGetContextAddress.
2013-06-09 01:31:45 +08:00
oioitff
6fb2abd0fb
Add sceAudiocodec stuff
2013-06-09 01:28:58 +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
dbb2dfdcff
Invalidate FBOs when it's obvious they should be.
...
This fixes videos not being visible in for example Star Ocean.
Most likely any games doing a copy directly from the mpeg decode.
2013-06-08 04:51:57 -07:00
Unknown W. Brackets
f628b4319f
Invalidate GPU cache in sceDmacMemcpy().
2013-06-08 04:51:57 -07:00
Unknown W. Brackets
4de27773d2
Detect audio end separately from video end.
...
Fixes Crisis Core, broken by Wipeout Pure fix.
2013-06-08 03:00:50 -07:00
Unknown W. Brackets
1a987dda26
Fix crash in sceKernelGetThreadmanIdType().
2013-06-08 03:00:50 -07:00
Unknown W. Brackets
0852d8734a
Try to handle video end more correctly.
2013-06-08 03:00:49 -07:00
Unknown W. Brackets
6844c7cab6
Don't read more than total packets per mpeg put.
...
And add notes on how it's supposed to really work.
2013-06-08 03:00:47 -07:00
Unknown W. Brackets
51d0f73008
Apparently, return 1 is not needed now. Hurray.
2013-06-08 03:00:47 -07:00
Unknown W. Brackets
8544cf2359
Delay sceMpegCreate() a bit to match PSP firmware.
2013-06-08 03:00:47 -07:00
Unknown W. Brackets
8b25545849
Don't allow sceMpegInit() twice.
2013-06-08 03:00:46 -07:00
Henrik Rydgård
c2dcebf36d
Merge pull request #2136 from oioitff/mpeg-fix
...
PsmfPlayer seems to step video and sync in scePsmfPlayerGetVideoData.
2013-06-07 12:41:09 -07:00
oioitff
a51291e69c
Add Info logs for low level decode.
2013-06-08 01:43:39 +08:00
oioitff
3e0e1f6f35
A tiny mistake in low level atrac3 decode.
2013-06-08 01:38:08 +08:00
oioitff
5be3a6e748
PsmfPlayer seems to step video and sync
...
in scePsmfPlayerGetVideoData.
2013-06-08 00:27:31 +08:00
oioitff
4385362369
Max sample number for atrac3plus should be 0x800.
...
Fix bgm and voice for Black Rock Shooter.
2013-06-07 20:38:31 +08:00
oioitff
a2f9fc9540
Fix sceAtracGetBufferInfoForReseting.
2013-06-07 20:21:25 +08:00
oioitff
1000562e90
Partly implement sceP3daBridgeCore.
...
Fix the missing voice in Saigo no Yakusoku no Monogatari.
2013-06-07 16:18:07 +08:00
Unknown W. Brackets
61b46e30a0
Return valid stuff in scePsmfQueryStream*().
2013-06-06 23:07:25 -07:00
Henrik Rydgård
7d566b9ec5
Merge pull request #2106 from unknownbrackets/thread-funcs
...
Correct sceKernelChangeThreadPriority() and sched fixes
2013-06-06 01:36:03 -07:00
oioitff
5fb92f6fd8
Bug fix for _AtracSetData.
2013-06-06 15:51:21 +08:00
Unknown W. Brackets
32a557803b
Reporting in sceKernelChangeCurrentThreadAttr().
2013-06-06 00:08:24 -07:00
Unknown W. Brackets
e4dc030b83
Reset restarted thread priorities properly.
2013-06-05 23:57:27 -07:00