Commit graph

1703 commits

Author SHA1 Message Date
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
Unknown W. Brackets
5fe537cac6 sceKernelChangeThreadPriority() can't do dormant. 2013-06-05 23:52:24 -07:00
Unknown W. Brackets
12005267ac Reschedule in sceKernelChangeThreadPriority().
Seems like this is another way to yield, makes sense.
2013-06-05 23:42:42 -07:00
Henrik Rydgård
85d075db53 Merge pull request #2102 from oioitff/atrac-fix
The correct fix for choppy cg audios and bgm.
2013-06-05 23:14:40 -07:00
Unknown W. Brackets
e16cd7d9d9 Validate params in sceKernelChangeThreadPriority(). 2013-06-05 23:04:42 -07:00
The Dax
cc60b892a4 Fix logging typos in sceMp3InitResource and sceMp3TermResource. 2013-06-05 20:50:04 -04:00
The Dax
29942b2228 Fix logging copy/paste error in sceNetAdhocPdpCreate. 2013-06-05 20:16:42 -04:00
oioitff
4d18a0a9b5 The correct fix for choppy cg audios and bgm.
And fix missing bgm and voice issue for 7th Dragon 2020.
2013-06-06 06:10:31 +08:00
oioitff
67154f69eb Revert fix in #2092 2013-06-06 06:10:26 +08:00
Henrik Rydgård
ff6129dda3 Merge pull request #2096 from unknownbrackets/audio-minor
Resume threads when releasing a channel
2013-06-05 12:36:46 -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
Unknown W. Brackets
61f2fc4d3b Return error to blocked audio threads on release. 2013-06-05 12:20:07 -07:00
Unknown W. Brackets
a0b333865c Wake waiting threads on channel release. 2013-06-05 12:13:52 -07: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
Henrik Rydgård
1c1104538b Merge pull request #2092 from oioitff/audio-fix
Finally fix choppy cg audio, bgm, and even some missing bgm, voice, se.
2013-06-05 08:25:36 -07:00
oioitff
c9845054e8 Fix choppy cg audio, bgm and even some
missing bgm, voice, se.
2013-06-05 22:52:05 +08:00
Henrik Rydgard
a7f7410668 Merge branch 'master' into plugindownload 2013-06-05 16:13:55 +02:00
Henrik Rydgård
86c20e90d0 Merge pull request #2090 from oioitff/audio-fix
Channel volume should be done in __AudioEnqueue.
2013-06-05 02:51:24 -07:00
oioitff
489126fa3a Channel volume should be done in __AudioEnqueue.
Fix noise in 7th Dragon 2020.
2013-06-05 16:16:53 +08:00
oioitff
156c4ca78a Fix crash for invalid mpeg header. 2013-06-05 15:46:04 +08:00
Henrik Rydgard
394a6a0f5c Merge branch 'master' into plugindownload 2013-06-04 23:54:50 +02:00
Henrik Rydgard
5e28df26b2 Fixes and cleanup 2013-06-04 23:54:37 +02:00
oioitff
c913f92427 More improvement for mpeg pts.
The mpeglastTimeStamp is probably wrong in some videos. So a video is
end only if there is no more data for decoding.
2013-06-04 23:03:09 +08:00
Henrik Rydgård
e1fe08dc25 Merge pull request #2070 from thedax/sceNetStubs
Implement multiple stubs for sceNet*
2013-06-04 03:01:35 -07:00
The Dax
fadea64ebf Fix sceNetEtherNtostr. 2013-06-04 01:53:32 -04:00
The Dax
50dc015d44 Remove useless dependency in FunctionWrappers.h. 2013-06-04 00:41:50 -04:00
The Dax
b02dbe3f5f Add a multitude of sceNet* stubs.
I tried this in an attempt to fix the Peace Walker hangs, but it didn't seem to help, so it must be related to something else.
2013-06-04 00:39:03 -04:00
raven02
8efff9ab90 Re-enable atrac3+ mono audio 2013-06-04 11:16:55 +08:00
oioitff
c9d07575f5 Implement sceAtracGetBufferInfoForReseting 2013-06-03 21:33:34 +08:00
oioitff
f9a6c95d93 fix a tiny bug for atrac crash 2013-06-03 20:02:44 +08:00
oioitff
a9ba797ce5 Improve mpeg pts.
A real PSP return a value start from 0.
2013-06-03 17:00:58 +08:00
Unknown W. Brackets
e0f05ec382 Oops, lost these two lines editing.
They were important, darn.
2013-06-03 00:23:56 -07:00
Henrik Rydgård
eca3b147a3 Merge pull request #2045 from unknownbrackets/memcpy
Fix crash on ARM in sceKernelMemcpy().
2013-06-03 00:21:05 -07:00