Commit graph

54 commits

Author SHA1 Message Date
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
0918ec8598 Return negative for UnscheduleEvent().
It usually won't be, but it could be negative.

Also some other minor warnings.
2013-04-05 20:44:17 -07:00
Unknown W. Brackets
e4223dbcb0 Simplify adding report messages, add a bunch more. 2013-03-26 00:54:00 -07:00
Unknown W. Brackets
e133d33167 Don't re-wake a thread already woken by delete.
Arg, I thought I'd changed this already.
2013-03-24 22:54:09 -07:00
Henrik Rydgard
de469e77a4 Fix silly typo breaking alpha test in many cases. Make some log VERBOSE. 2013-03-11 19:40:47 +01:00
Unknown W. Brackets
f2bdea74be Don't align size to grain for PMB. 2013-03-03 20:26:57 -08:00
Unknown W. Brackets
62ab4b7f51 More signed compare warnings. 2013-03-02 15:34:16 -08:00
Unknown W. Brackets
2104ebeaae Fix typo in sceKernelAllocPartitionMemory().
It sets it in the consturctor and terminates it properly there.
2013-02-28 02:14:06 -08:00
Unknown W. Brackets
1e3f5477c3 Don't leak block on allocation failure. 2013-02-28 00:19:48 -08:00
Unknown W. Brackets
eab7777ec3 Clean up some magic numbers, oops. 2013-02-27 23:01:44 -08:00
Unknown W. Brackets
4631fd7c6f Keep track of the PMB name like other objects. 2013-02-27 22:35:53 -08:00
Unknown W. Brackets
d02879dbaf Fix PMB alignment and cleanup free/get. 2013-02-27 22:35:08 -08:00
Unknown W. Brackets
9eeb3d6ffd Support the other allocation types. 2013-02-27 22:32:29 -08:00
Unknown W. Brackets
b4891fb7a7 Error checking in sceKernelAllocPartitionMemory().
Before, it was still returning a uid on fail, oops.
2013-02-27 22:32:29 -08:00
Unknown W. Brackets
82a8450758 Fix some more non-pod structs in savestates. 2013-02-04 08:27:02 -08:00
Florent Castelli
0d54048efd setCompiledSdkVersion accepts any version as in the CFW version 2013-02-04 00:27:29 +01:00
raven02
9870de2600 Implement sceKernelDevkitVersion 2013-01-31 14:59:45 +08:00
Unknown W. Brackets
1cb7a88137 Don't use a dynamic string for wait debugging.
Happens in release, and shows up on the profiler.
Not huge, but should save ~0.5% of cpu time.
2013-01-26 11:29:19 -08:00
Unknown W. Brackets
76e693f674 Cleanup the other vpl functions. 2013-01-18 01:38:15 -08:00
Unknown W. Brackets
43c8726554 Oops, 0 is a valid timer id. 2013-01-18 01:38:14 -08:00
Unknown W. Brackets
0db19f8c8e Actually wake up threads on vpl free. 2013-01-18 01:38:14 -08:00
Unknown W. Brackets
4c510b5649 Clean up sceKernelFreeVpl(), not waking yet. 2013-01-18 01:38:13 -08:00
Unknown W. Brackets
c8bb837996 Implement basic waiting for VPL allocation.
Always times out so far, though.
2013-01-18 01:38:13 -08:00
Unknown W. Brackets
373f1f8655 Cleanup sceKernelCreateVpl() and add warns/errors. 2013-01-18 01:38:11 -08:00
Henrik Rydgard
5ba5ceff19 Merge branch 'master' into mediaengine 2013-01-05 16:22:08 +01:00
raven02
8cb87924b3 Add sceKernelSetCompiledSdkVersion401_402 (suggested by Xele02) and wrapped two unload moudles 2013-01-01 09:20:01 +08:00
raven02
4a00bbbc33 Add sceKernelSetCompiledSdkVersion500_505/507 2012-12-31 17:12:14 +08:00
Unknown W. Brackets
0edbcdc955 Fix some missing things / bugs in save states. 2012-12-29 02:56:56 -08:00
Unknown W. Brackets
e03044b241 Fix a crash with FPL objects in save states. 2012-12-28 23:30:43 -08:00
Unknown W. Brackets
6f9f9e1c98 Merge branch 'master' into mediaengine.
Note: doesn't compile, just fixes conflicts.

Conflicts:
	Core/HLE/sceKernel.cpp
	Core/HLE/sceKernelThread.cpp
	Core/HLE/sceKernelThread.h
2012-12-28 22:32:56 -08:00
Unknown W. Brackets
3ed2045f6b Add state saving to tertiary kernel modules. 2012-12-28 13:55:25 -08:00
Unknown W. Brackets
595759ef78 Implement a factory for kernel objects.
Couldn't think of a better way to do this, maybe there's some fancy
one I don't know about.

Also finished up a couple left over kernel objects.

Maybe a quarter the way there?
2012-12-28 13:55:22 -08:00
Unknown W. Brackets
d9efdf548b Add basic state for the memory kernel objects.
Not the actual memory partitions quite yet.
2012-12-28 13:52:52 -08:00
Xele02
05a3574315 Add missing break 2012-12-28 12:00:43 +01:00
Xele02
020e4e7f13 Add code for sdk version info
Modify Encrypt file data
2012-12-28 11:42:41 +01:00
Henrik Rydgård
35f60501c1 Update a function name 2012-12-26 19:30:46 +01:00
Unknown W. Brackets
ddfa56e0f2 Fix GetMemoryBlockPtr() to take both arguments. 2012-12-26 04:02:33 -08:00
Henrik Rydgård
b2f29992a3 Wrap some functions, clean some stuff 2012-12-26 08:52:40 +01:00
Henrik Rydgard
bc214dcf37 Merge branch 'master' into mediaengine
Conflicts:
	Common/LogManager.cpp
	Core/CMakeLists.txt
	Core/Core.vcxproj
	Core/Core.vcxproj.filters
	Core/CoreParameter.h
	Core/HLE/sceAudio.cpp
	Core/HLE/sceKernel.cpp
	Core/HLE/sceKernelThread.cpp
	Core/HLE/sceMpeg.cpp
	android/jni/Android.mk
2012-12-17 18:48:32 +01:00
Ced2911
6db4ea2ad1 less Memory::GetPointer 2012-11-27 10:18:36 +01:00
kev :)
435c69196a This is used by a couple of games.
stubbed out to make them shutup.
2012-11-14 18:16:13 +00:00
Henrik Rydgard
681ac65d5d More mpeg 2012-11-12 23:32:46 +01:00
Henrik Rydgard
387552f564 Misc fixes (accept .prx, work on power callbacks, bugs) 2012-11-10 10:15:11 +01:00
Henrik Rydgard
b24511ac41 Hackery to free up RAM (sceKernelMaxFreeMemSize lies a bit more, kill root stack) 2012-11-09 00:03:46 +01:00
Arthur Blot
b96d86ab7f Implemented MBXes 2012-11-08 14:24:51 +01:00
Henrik Rydgard
117256e07b Implement various hle stuff.. 2012-11-07 19:10:52 +01:00
Henrik Rydgard
a6a6453c60 Add custom "grain" for block allocator. Set the big block allocs to grain 256. 2012-11-07 17:35:22 +01:00
Henrik Rydgard
aea0580297 More reworking of Callbacks, plus some other little fixes. 2012-11-07 15:44:48 +01:00
Henrik Rydgard
28879934d6 Add some missing HLE functions, fix loading unencrypted EBOOT.BIN 2012-11-06 16:20:13 +01:00
Henrik Rydgard
c61d10363a Rewrite callback handling, part 1. All sorts of other fixes too. 2012-11-06 15:46:46 +01:00