Commit Graph
2663 Commits
Author SHA1 Message Date
Unknown W. Brackets fdbc36fb20 Fix semaphores not waking on fifo timeout. 2014-02-02 14:18:28 -08:00
Unknown W. Brackets 06bd06d030 In FIFO, wake the next waiting thread on timeout.
It may have been blocking the queue waiting for a larger size.
2014-02-02 13:32:50 -08:00
Unknown W. Brackets c9652bab46 Block vpl fifo allocations to, not just wakes. 2014-02-02 10:17:26 -08:00
Unknown W. Brackets 7e565a5838 For FIFO vpls, block threads in order.
Even for a smaller size later in the fifo queue.
2014-02-02 10:15:11 -08:00
Unknown W. Brackets ecdffabf26 Correct some vpl allocation logic.
Tricky.  This makes more tests pass, seems right.
2014-02-02 08:13:41 -08:00
Unknown W. Brackets 4cec22823f Implement the PSP's VPL allocation method.
May help some games which hit allocation / free errors.  VPLs are not
common.

May improve performance in games using VPLs heavily, like Pangya.
2014-02-02 07:46:22 -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
Henrik Rydgård 0424bb10d0 Merge pull request #5301 from raven02/patch-17
Code clean-up sceMpeg()
2014-02-02 02:27:26 -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
raven02 0b4c7d3d1d Add ERROR_MPEG_AVC_DECODE_FATAL in sceMpeg.h 2014-02-01 23:53:48 +08:00
sum2012 6f5d3eeab0 Fix sceUtilityScreenshotUpdate
Sorry ,typo in #5293
2014-02-01 22:45:51 +08:00
Henrik Rydgård ef3ccbec4b Merge pull request #5293 from sum2012/patch-5
Add more log information in sceUtlity
2014-02-01 02:24:53 -08:00
Henrik Rydgård ff0be37c97 Merge pull request #5297 from unknownbrackets/atrac-minor
Try to ignore unimplemented ATRAC features
2014-02-01 02:20:22 -08:00
Unknown W. Brackets 55c59164f7 Try to ignore unimplemented ATRAC features.
Even if it causes the audio to blip, it should continue.  May fix Class of
Heroes and zero no Kiseki (see #5286.)
2014-01-31 21:40:15 -08:00
sum2012 ef8d996803 Add more log information in sceUtlity 2014-02-01 07:25:41 +08:00
Unknown W. Brackets 48fd33b201 Remove callback return injection and related.
With paused waits, this is no longer correct.  Callbacks still don't allow
waits inside callbacks yet (they should.)
2014-01-31 12:22:39 -08:00
Unknown W. Brackets 5e4a076798 Typo. 2014-01-31 09:41:29 -08:00
Henrik Rydgård eb92987ea3 Merge pull request #5283 from unknownbrackets/sdkver
Correct return values, validation in sdkver funcs
2014-01-31 04:12:27 -08:00
Henrik Rydgård 4fddb71261 Merge pull request #5285 from unknownbrackets/umd-minor
Match test in sceUmdUnRegisterUMDCallBack()
2014-01-31 04:11:53 -08:00
Unknown W. Brackets d15e52cfdf Match test in sceUmdUnRegisterUMDCallBack().
Seems that 0 is the unregistered value based on how it reacts to that
param, and it should return 0 for success in newer sdk versions.
2014-01-30 23:10:26 -08:00
Unknown W. Brackets fb689b45f1 Spelling fix. 2014-01-30 22:49:30 -08:00
Unknown W. Brackets 850d640f42 Correct return values, validation in sdkver funcs.
I am unable to reproduce any validation, so these changes make it match
tests on a PSP.  But then, maybe it's my custom firmware getting in the
way?  Added reporting to see the effect better.
2014-01-30 22:13:59 -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
Unknown W. Brackets c9b037815f Reschedule instead of switching to delayed threads.
This will hopefully take care of #5263, and might fix other issues too.
If a thread goes into a wait, it may reschedule right into an interrupt.

In this case, it would've been switched back to, and woken up early.
2014-01-28 22:10:28 -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
sum2012 d37100b30a Correct scePsmfPlayerBreak psmfplayer status
Fix everybody stress buster
2014-01-28 19:13:59 +08:00
Henrik Rydgård 2c4ca13671 Merge pull request #5253 from unknownbrackets/struct-align
Clean up alarm struct alignment, don't set pad to anything
2014-01-28 01:39:20 -08:00
Henrik Rydgård 4811d7796a Merge pull request #5252 from sum2012/PATCH-1
Reduce sceKernelGetSystemTime log level
2014-01-28 01:39:09 -08:00
sum2012 3af056f459 Update scePsmfPlayerGetAudioOutSize log 2014-01-28 17:02:38 +08:00
Unknown W. Brackets ba55315670 Add manual padding to NativeAlarm for alarm status.
Seems to matter on iOS.
2014-01-28 00:37:59 -08:00
sum2012 40fffd7d49 Reduce sceKernelGetSystemTime log level
spam in Pacman World 3
2014-01-28 12:38:14 +08:00
Henrik Rydgård 1268bbd489 Merge pull request #5247 from unknownbrackets/callbacks
Work around a callback issue and a strange debug-only crash
2014-01-27 08:03:25 -08:00
Unknown W. Brackets 21cdcb5c0d Force rescheduling within a callback.
Seems to fix #4914.  We already have a larger bug for callbacks.
2014-01-27 07:38:53 -08:00
Henrik Rydgård 269a8d413a Make a few of the Aac functions reporting. 2014-01-27 16:35:47 +01:00
Henrik Rydgård 4d6be60d93 Merge pull request #5244 from raven02/patch-7
Wrap sceAac()
2014-01-27 05:08:43 -08:00
Henrik Rydgård 169844cc8c MediaEngine/atrac: Initialize some variables, remove use of some deprecated functions 2014-01-27 14:08:05 +01:00
raven02 8fa51c19d1 Wrap sceAac() 2014-01-27 21:02:15 +08:00
Henrik Rydgård a8eb92f395 Merge pull request #5237 from raven02/patch-6
Return without delay if voicesPlayingCount is zero
2014-01-27 04:16:48 -08:00
raven02 f381bfd0b4 Update comment 2014-01-27 17:22:01 +08:00
Henrik Rydgård f7f9b3b8f7 Merge pull request #5239 from unknownbrackets/io-thread-fix
Fix glitch when a file is closed while its io thread operation is pending
2014-01-27 01:04:51 -08:00
Unknown W. Brackets 10f52fa2b0 Just in case, also clear results on shutdown. 2014-01-26 19:10:20 -08:00
Unknown W. Brackets c03326eed4 Discard any pending result when closing a file. 2014-01-26 18:49:34 -08:00
Unknown W. Brackets cb4e72058a Report usage if callback "injection."
These are generally giving incorrect results, but it will help to know
what games are triggering it.
2014-01-26 18:41:42 -08:00
raven02 75a49129a6 Return without delay if voicesPlayingCount is zero 2014-01-27 10:07:56 +08:00
Unknown W. Brackets efa6640807 Report any missing wait type handling funcs. 2014-01-26 17:14:11 -08:00