Commit graph

185 commits

Author SHA1 Message Date
Unknown W. Brackets
a947c95829 Clean up sceKernelReferFplStatus(). 2013-08-25 16:38:47 -07:00
Unknown W. Brackets
fb95f07c5d Implement cancel and delete for fpls. 2013-08-25 16:38:47 -07:00
Unknown W. Brackets
f48b730828 Wrap sceKernelCreateFpl and fix refer status.
Just initial changes to make it test properly.
2013-08-25 15:14:20 -07:00
sum2012
8679fb4748 ThreadManForKernel_ceadeb47 should equal to sceKernelDelayThread 2013-08-25 14:45:44 +08:00
sum2012
d017011882 Add ThreadManForKernel and ModuleForKernel
Sample log:https://gist.github.com/sum2012/3bb5deb1a806ef18f5f3
2013-08-25 10:48:32 +08:00
Unknown W. Brackets
fca0af8e70 Add some kernel-related HLE stubs for reporting. 2013-08-22 23:04:16 -07:00
Unknown W. Brackets
19016ac7c4 Cut down on some kernel HLE reporting.
Not sure where these are coming from, hacked games?
2013-08-21 08:40:31 -07:00
Unknown W. Brackets
4f7f963274 Correct sceKernelReferMsgPipeStatus(). 2013-08-18 18:45:43 -07:00
Unknown W. Brackets
e2f0dfe243 Wrap sceKernelReceiveMsgPipe() and friends. 2013-08-18 18:38:14 -07:00
Unknown W. Brackets
4be06d2432 Wrap the msgpipe send functions. 2013-08-18 18:38:10 -07:00
Unknown W. Brackets
b9a71640eb Implement basic timeouts for msg pipes. 2013-08-18 18:38:08 -07:00
Unknown W. Brackets
fa73875c98 Clean up cancel and delete for msgpipes. 2013-08-18 18:38:07 -07:00
Unknown W. Brackets
666cee4f6a Fix sceKernelCreateMsgPipe() and alloc psp memory.
Might not matter, but I'm not sure yet if it's expoesd somewhere.
2013-08-18 18:38:05 -07:00
Unknown W. Brackets
217eaa9cb4 Remove bad param from sceKernelPollEventFlag().
Not that it was necessarily hurting anything...
2013-08-18 18:38:04 -07:00
Henrik Rydgard
6ed4e348db Some logging tweaks, fix running cpu tests on ARM 2013-07-30 01:09:10 +02:00
Unknown W. Brackets
26523603c3 Listen to sceCccSetErrorChar*(), not used yet. 2013-07-20 21:51:22 -07:00
papel
9b6f1abed8 Version to savestate and open other game in other screens. 2013-07-17 02:33:26 -03:00
Henrik Rydgard
1bf4239e97 State save support for sceJpeg. 2013-07-05 10:56:55 +02:00
Henrik Rydgard
51daa1f878 Delete the "Use Media Engine" option. 2013-06-08 22:53:36 +02:00
Unknown W. Brackets
32a557803b Reporting in sceKernelChangeCurrentThreadAttr(). 2013-06-06 00:08:24 -07:00
Unknown W. Brackets
e16cd7d9d9 Validate params in sceKernelChangeThreadPriority(). 2013-06-05 23:04:42 -07:00
Unknown W. Brackets
ee751d6fdd Buildfix for Linux, fixes #1994. 2013-05-30 22:42:27 -07:00
Henrik Rydgard
572eb26305 Merge branch 'master' into makotech222-cwcheat
Conflicts:
	Core/Core.vcxproj.filters
	Core/HLE/__sceAudio.cpp
	Core/HLE/sceKernel.cpp
2013-05-30 19:11:20 +02:00
Unknown W. Brackets
a779645152 Wrap sceKernelGetThreadExitStatus().
So it's usable internally too.
2013-05-26 10:17:59 -07:00
Unknown W. Brackets
e6795b1a41 Initial attempt at a suspend/resume thread impl. 2013-05-26 01:01:29 -07:00
Unknown W. Brackets
084ad5aa53 Wrap the sleep/wakeup HLE funcs. 2013-05-25 20:43:19 -07:00
Unknown W. Brackets
8d71f33aae Keep track of imported/exported vars.
Not yet actually linked up, though.
2013-05-24 00:03:39 -07:00
Henrik Rydgard
08e0881c94 Merge branch 'cwcheat' of https://github.com/makotech222/ppsspp into makotech222-cwcheat
Conflicts:
	Core/Config.cpp
	Core/Config.h
	Core/Core.vcxproj.filters
	Core/HLE/sceKernel.cpp
2013-05-22 21:04:12 +02:00
Unknown W. Brackets
86ce95a658 Add some syscall entries from reporting. 2013-05-19 22:12:38 -07:00
Henrik Rydgard
5877929fe5 Add Mersenne Twister random number generator. 2013-05-20 00:57:45 +02:00
Unknown W. Brackets
71b72b5eaf Correct some error codes and init in Vaudio.
This makes Velocity at least play sound, hurray.
2013-05-19 15:50:52 -07:00
Steven Cherry
446d2930ac Some progress, I think?
Program crashes when trying to run a game. If you comment out
member.Run(); it will run fine, but cwcheat doesnt work.
2013-05-18 16:11:10 -05:00
Unknown W. Brackets
3c0ed69fd2 Improve GPU invalidation interface, check fonts.
When a font is rendered, tell the GPU about it, but don't rehash.

This not only improves perf (less hashing) but makes font changes more
immediate (no deferred hashing.)  But only if they use sceFont.
2013-05-05 22:52:01 -07:00
Unknown W. Brackets
db54bffe14 Use a base time throughout rtc and kernel time.
This way, time doesn't move abnormally as far as the game can tell,
even when savestates and fast forward and pause are used.
2013-05-05 10:12:29 -07:00
nachume
2181b76c42 ISO that replaced EBOOT.BIN is playable.
implement LoadExecForUer_362A956B() and sceKernelRegisterExitCallback.
Add some ERROR define on kernel.h. I was referring to the jpcsp.
2013-05-04 20:34:33 +09:00
nachume
55b94900a0 UNIMPL functions replace DEBUG_LOG -> ERROR_LOG 2013-04-29 14:16:55 +09:00
nachume
c2c6adb7c9 Add new sceNp/scePauth and some stubs for unknown functions on THE IDOLM@STER SP. 2013-04-29 12:40:09 +09:00
Unknown W. Brackets
d131588a6d Validate sceKernelStartThread() args better. 2013-04-28 00:34:49 -07:00
JimLee168
3ce26e03df Add part sceKernelExtendThreadStack content
Fixes NPJH50624
2013-04-19 22:22:35 +08:00
Henrik Rydgård
16fa7bf494 Merge pull request #1288 from unknownbrackets/callbacks2
Make sceKernelNotifyCallback() error if invalid cb passed
2013-04-15 01:23:20 -07:00
Unknown W. Brackets
efd71e2444 Make sceKernelNotifyCallback() error if invalid cb.
Which makes Numblast clearly happy.
2013-04-14 23:45:46 -07:00
Unknown W. Brackets
e77647a394 Basically working implementation of TLS funcs.
But doesn't wait at all, which it should.
2013-04-14 16:36:02 -07:00
Unknown W. Brackets
a68798225a Give ThreadManForUser_8DAFF657 and friends a name.
Calling allocate on the same thread gives the same ptr, but on a different
one it waits or returns a new ptr.

Let's call it thread local storage for now.
2013-04-14 13:02:01 -07:00
Unknown W. Brackets
88b8df7b7b Add some missing stubs to threadman. 2013-04-14 12:52:10 -07:00
Unknown W. Brackets
fe97fd6fc5 Add better savestate error handling.
Aborts when it can't load.
2013-04-13 01:39:17 -07:00
Unknown W. Brackets
117ffaeb60 Include the git version in savestates.
This way we can provide better warnings when it fails to load.
2013-04-13 01:13:28 -07:00
Unknown W. Brackets
1f1560a9d6 Don't mark sceKernelExitThread() as an error.
Also, add some reporting and make the sceKernelCreateThread log message
shorter.
2013-04-09 23:23:10 -07:00
Unknown W. Brackets
6cbd1b5205 Fix typo, add back state to savestate. 2013-04-09 02:18:09 -07:00
Unknown W. Brackets
42b925a440 Initial stab at implementing some new memory funcs.
Borrowed from JPCSP, kept simple.  Need to do tests.
2013-04-07 20:57:53 -07:00
Unknown W. Brackets
0547d291e3 Avoid reusing uids for kernel objects.
This makes logs easier to read: a uid is an X is an X.  Usually.
Still sequential, and if it runs out, falls back.
2013-03-31 22:29:44 -07:00