Commit Graph
1085 Commits
Author SHA1 Message Date
Henrik Rydgard 58d6859cf4 Eat some cpu cycles in sceRtcGetCurrentTick 2013-03-24 12:33:43 +01:00
Henrik Rydgard 84d292010a Oops, sceKernelCheckThreadStack was already implemented. Let's hope both copies are the same. 2013-03-23 14:41:13 +01:00
Henrik Rydgard 6a4ae5bb51 Implement sceKernelCheckThreadStack 2013-03-23 14:26:54 +01:00
Unknown W. Brackets ed599375bf Handle fragmented atrac IDs better.
This avoids conflicts when ids are deleted.
2013-03-22 08:25:14 -07:00
Henrik Rydgard bd40f0e13c Adjust hcount a little 2013-03-21 22:59:46 +01:00
Henrik Rydgard f355137156 Update native. some stubs and a buildfix. 2013-03-21 20:24:47 +01:00
Unknown W. Brackets 339b2839b3 Finish implementing savestates for fonts.
Oops, missed this before.  Was crashing FF3 and games using custom fonts.
2013-03-20 23:37:57 -07:00
Unknown W. Brackets 2500910d72 Fix dumb typo in sceKernelRotateThreadReadyQueue(). 2013-03-20 14:11:13 -07:00
Unknown W. Brackets 96f2d860e4 Revert thread optimization, appears to have broken things.
Fixes #1033.

This reverts commit ea91632ff5 and
commit 543dfcd4d8.
2013-03-20 14:10:20 -07:00
Unknown W. Brackets ea91632ff5 Allow the thread ready queue to shrink, simplify. 2013-03-20 08:11:24 -07:00
Unknown W. Brackets cd8e0e675c Small optimization to sceKernelRotateThreadReadyQueue(). 2013-03-20 00:06:19 -07:00
Unknown W. Brackets 543dfcd4d8 Optimize thread ready queue pop_front(). 2013-03-19 23:51:40 -07:00
Unknown W. Brackets 75c5afa147 Add delays in some timing funcs that games tightloop.
Greatly improves performance in Legend of Heroes 1.
2013-03-19 07:48:41 -07:00
raven02 9f6837a096 Turn log level to ERROR 2013-03-19 20:54:26 +08:00
raven02 9f165768c8 Add sceGameUpdate 2013-03-19 08:00:29 +08:00
raven02 a64f4839be Add ERROR_PGD_INVALID_HEADER , 0x80510204 2013-03-19 07:53:21 +08:00
raven02 327f111d32 make default to PSP_MODEL_FAT 2013-03-19 06:32:43 +08:00
raven02 67e18f6e66 Add MODEL_PSP_FAT and MODEL_PSP_SLIM 2013-03-19 06:09:37 +08:00
Unknown W. Brackets 4b48ec212b Add a resched delay to sceUtilitySavedataUpdate().
Looks like this really happens.  Most games don't seem to care.
2013-03-17 17:49:37 -07:00
Unknown W. Brackets aca5e8e42f iOS: fix significant audio stutter. 2013-03-17 11:32:57 -07:00
raven02 232aa69eb0 Fix sound distortion 2013-03-17 19:55:15 +08:00
Henrik Rydgård d2fbf990b9 Merge pull request #1006 from unknownbrackets/ios
iOS: Audio + iPhone 5 support (from rock88)
2013-03-17 03:12:04 -07:00
Unknown W. Brackets e8ac8d49b6 iOS: Reduce CPU consumption for audio, adjust sync.
Still is clicking...
2013-03-16 14:00:41 -07:00
Unknown W. Brackets b1e9924075 Shave a tiny bit of time out of CallSyscall(). 2013-03-16 11:22:47 -07:00
Unknown W. Brackets 14e065cbb2 Avoid dynamic_cast() for threads where possible.
It's reasonable to trust currentThread and threadReadyQueue, and these eat
a few percentage points of time.
2013-03-16 11:17:44 -07:00
Henrik Rydgard e20e5f49b9 Stub sceIoChstat and an icache invalidate function 2013-03-16 09:39:22 +01:00
Henrik Rydgard 8021e49c7f Apply tpunix' PGD fix from #998 2013-03-16 09:15:11 +01:00
Henrik Rydgard 1f5b6b7f59 Logging changes and cleanup 2013-03-15 21:01:57 +01:00
Unknown W. Brackets d8dd889bfd Couple more minor warning fixes. 2013-03-15 08:19:02 -07:00
raven02 a9ff724e93 Add sceP3da 2013-03-15 20:16:45 +08:00
Henrik Rydgård e69615a679 Merge pull request #993 from unknownbrackets/warnings
Fix some minor warnings
2013-03-15 01:05:35 -07:00
Unknown W. Brackets 6e54ce5551 Fix some minor warnings. 2013-03-15 00:45:47 -07:00
Henrik Rydgård c89786441a Merge pull request #978 from sum2012/mpeg-fix1
sceMpegRingbufferPut fix (Handle  numPackets <= 0)
2013-03-14 07:26:14 -07:00
sum2012 9b63e457c8 better mpeg fix 2013-03-14 22:03:26 +08:00
Henrik Rydgård a698e23667 Merge pull request #983 from unknownbrackets/scheduling
Handle dispatch suspend/resume slightly better
2013-03-13 23:57:53 -07:00
Unknown W. Brackets acd7e1b6af Handle dispatch suspend/resume slightly better. 2013-03-13 23:49:39 -07:00
Unknown W. Brackets 9dddd0d90d Validate addresses when analyzing atrac. 2013-03-13 22:59:07 -07:00
sum2012 024a61e058 sceMpegRingbufferPut fix (Handle numPackets <= 0) 2013-03-14 00:32:09 +08:00
raven02 a974c65ad1 Set Log level to ERROR when invalid PGD file found 2013-03-13 17:04:13 +08:00
raven02 1b5dce5c93 Remove volume shift 2013-03-12 21:19:48 +08:00
Henrik Rydgård b438c45659 Merge pull request #955 from raven02/patch-1
Make UseMediaEngine check for couples of sceMpeg functions
2013-03-12 02:15:27 -07:00
Darth1701 88def44e24 Buildfix
A typo and a forgotten old Wrap
2013-03-12 09:51:50 +01:00
Henrik Rydgård b40cf2b0f8 Merge pull request #957 from raven02/patch-3
Add two parameters for scePsmfPlayerSetTempBuf()
2013-03-12 01:16:05 -07:00
Henrik Rydgård d73cdcb1ce Merge pull request #956 from raven02/patch-2
Fake VOICETYPE_PCM code
2013-03-12 01:15:51 -07:00
Unknown W. Brackets 34865fee34 Remove io debugging code accidentally left in. 2013-03-12 01:00:15 -07:00
raven02 b07fe9da46 Should be good enough to remove now as we already identifed games use sceSasSetVoicePCM() 2013-03-12 12:17:19 +08:00
raven02 65589bf371 Add two parameters for scePsmfPlayerSetTempBuf 2013-03-12 11:54:52 +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 1cbc0deef6 Add stub for scePsmfSpecifyStream. 2013-03-12 00:17:24 +01:00