Commit Graph

5424 Commits

Author SHA1 Message Date
Henrik Rydgård
615a370d73 Merge pull request #361 from unknownbrackets/thread-funcs
sceKernelWaitThreadEnd(), ...ReleaseFromWait(), and warnings
2013-01-08 00:15:22 -08:00
raven02
ec190a8487 Add stubs for sceMp3 & sceMpeg 2013-01-08 14:02:58 +08:00
Unknown W. Brackets
1f21ea4236 Implement sceKernelReleaseWaitThread(). 2013-01-07 19:44:39 -08:00
Unknown W. Brackets
0eb13142aa Avoid calling thread->getName() in release builds.
Profile shows this will save a couple percentage points.
2013-01-07 18:09:26 -08:00
Unknown W. Brackets
138b3a0823 Add warnings to sceKernelCreateThread().
Trying to check when it's being misused.
2013-01-07 18:09:23 -08:00
Unknown W. Brackets
ea9e87b355 Correct error codes for sceKernelWaitThreadEnd(). 2013-01-07 15:43:37 -08:00
Mathias Tillman
a6f49c58ca Changed psmf to psmfStruct 2013-01-07 21:04:27 +01:00
Unknown W. Brackets
3b5d1efd56 Implement timeouts for sceKernelWaitThreadEnd(). 2013-01-07 11:11:23 -08:00
Unknown W. Brackets
666ba6ecc3 Properly set thread status on create/term/start. 2013-01-07 10:45:56 -08:00
Unknown W. Brackets
c88ae1e34c Make sceKernelWaitThreadEnd return the exit status.
Also fix the exit status not being recorded properly.
2013-01-07 10:31:19 -08:00
Unknown W. Brackets
5ac7f6a211 Clean up sceKernelWaitThreadEnd() wrappers. 2013-01-07 10:02:11 -08:00
Mathias Tillman
b780e39397 Fixed various potential bugs and compiler warnings 2013-01-07 15:57:19 +01:00
Henrik Rydgard
2f69250fc0 Store fcr0 and fcr31 in context (why was this commented out?) 2013-01-07 13:42:05 +01:00
Unknown W. Brackets
9beb68e9d4 Stub some scePsmfPlayer funcs to make games work.
Intentionally left out of DoState to avoid breaking save states for
such a little stubbing.
2013-01-06 22:41:07 -08:00
Henrik Rydgård
8e91de7501 Merge pull request #348 from unknownbrackets/mpeg-fix
Fix games broken by the mpeg merge
2013-01-06 22:32:38 -08:00
Unknown W. Brackets
4bc987708b Fake the audio timestamp, games check it. 2013-01-06 20:25:31 -08:00
Unknown W. Brackets
b5b196ade4 Notice the end of video and error appropriately. 2013-01-06 19:54:42 -08:00
Unknown W. Brackets
39b91e906c Mpeg timestamps are in the wrong dword order. 2013-01-06 19:22:52 -08:00
Darth1701
d8d0893c41 Update Core/HLE/sceAtrac.cpp 2013-01-07 03:04:10 +01:00
Unknown W. Brackets
21cfd087e1 Move Action out of Common, don't use savedV0.
Compiler error was annoying me anyway.
2013-01-06 15:56:13 -08:00
Unknown W. Brackets
0d8bdfe989 Allow mipscalls to change the return value.
At least, seems like mpeg needs this.
2013-01-06 14:58:04 -08:00
Henrik Rydgard
e95cb992dc Until we implement more of sceAtrac, it's better if it pretends to be successful always apparently... 2013-01-06 16:27:50 +01:00
raven02
9f0e34a668 Fix game break for MotoGP and FF Crisis Core 2013-01-06 20:20:51 +08:00
Henrik Rydgard
88e921b074 Use invalidatecachehint in dcachewritebackinvalidateall too. Count invalidations. 2013-01-06 12:27:01 +01:00
Henrik Rydgard
b8eab42add Add support for a couple of sceIoIoctl commands. Init some vars. 2013-01-06 09:54:43 +01:00