Commit Graph

45 Commits

Author SHA1 Message Date
Unknown W. Brackets
1a987dda26 Fix crash in sceKernelGetThreadmanIdType(). 2013-06-08 03:00:50 -07:00
Sacha
b39a572043 Buildfixes.
Fix C++11 usage.
Remove redundancy.
Fix st_*time re-usage.
2013-06-02 13:26:39 +10:00
Unknown W. Brackets
084ad5aa53 Wrap the sleep/wakeup HLE funcs. 2013-05-25 20:43:19 -07:00
Unknown W. Brackets
ded3fb5e12 Add reporting to a bunch of unimpl functions.
Also some comment/logging fixes along the way.
2013-05-19 22:12:37 -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
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
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
acac847af2 Cleanup sceKernelGetModuleIdByAddress().
Actual firmware seems to accept any address in the range, and also
correct the error result.

Now people won't think this is broken anymore.
2013-04-10 21:03:43 -07:00
Unknown W. Brackets
ec009bc299 Cleanup a few GPU error codes. 2013-03-31 23:57:03 -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
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
Unknown W. Brackets
d02879dbaf Fix PMB alignment and cleanup free/get. 2013-02-27 22:35:08 -08:00
Unknown W. Brackets
07a5dca98e Expand out some savestate code saving non-pod. 2013-02-04 08:26:59 -08:00
Unknown W. Brackets
2a6457b6ab Cut down on h files including PointerWrap.
This makes changes to it a bit faster to build.
2013-02-04 08:26:59 -08:00
raven02
9870de2600 Implement sceKernelDevkitVersion 2013-01-31 14:59:45 +08:00
YaPeL
9cde301f4d Wrap functions on HLETables 2013-01-12 15:17:35 -03:00
Unknown W. Brackets
6ec8fe6bf3 Track summed totals of syscalls.
Just so we can easily see if some func is being called a ton.
2013-01-11 08:59:15 -08:00
Henrik Rydgard
ebcb7af7cc Typo fix 2013-01-11 17:57:20 +01:00
Henrik Rydgard
f3749d8abe Add kernelstats
Useful for finding out if some syscall takes unexpectedly much CPU.
2013-01-11 00:13:38 +01:00
Unknown W. Brackets
17c1d3ce68 Return errors for Dcache funcs, correctly. 2013-01-05 17:07:19 -08:00
Unknown W. Brackets
5bd059a128 Do more cache invalidation, fix return values. 2013-01-02 00:54:23 -08:00
Unknown W. Brackets
97bdaf5dd2 Add support for selecting the GE callback per list.
Not sure if interrupts are right, but this should be more right.
2012-12-29 15:55:05 -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
991243fffd Add basic DoState() to tertiary kernel objects. 2012-12-28 13:52:52 -08:00
Unknown W. Brackets
a2f4c83c90 Initial state saving for kernelObjects. 2012-12-28 13:52:51 -08:00
Henrik Rydgard
4d4370232c Assorted minor cleanup and fixes. 2012-12-21 10:20:22 +01:00
TMaul
ff69c53710 sceKernelGetModuleIdByAddress update
sceKernelGetModuleIdByAddress will now look in the loaded modules and
find the one with the correct entry address. Makes no difference to any
games i've noticed so left marked as hack just in case it's wrong.
2012-12-09 18:48:28 +00:00
Unknown W. Brackets
ad116632bf Implement sceRtcGetTick().
Unfortunately, this fixes things so that rtc/rtc is correctly failing.
2012-11-22 23:49:23 -08:00
Unknown W. Brackets
965eeaf9da Add error handling to sceRtcGetDaysInMonth(). 2012-11-22 23:48:12 -08:00
Henrik Rydgård
f002fe8db3 Merge branch 'master' of github.com:hrydgard/ppsspp
Conflicts:
	Core/HLE/HLE.h
	Core/HLE/sceKernel.h
	Core/HLE/sceKernelInterrupt.cpp
2012-11-17 20:11:54 +01:00
Diogo Franco (Kovensky)
d2a0fcc38e Wrappers for LoadExecForUser 2012-11-12 00:43:48 +00:00
Henrik Rydgard
387552f564 Misc fixes (accept .prx, work on power callbacks, bugs) 2012-11-10 10:15:11 +01:00
Henrik Rydgard
b43dfebb10 Fixes to lighting, display list base pointer, misc 2012-11-09 17:51:45 +01:00
Henrik Rydgard
00fc7754c6 CMakeLists fix, rebooting fix 2012-11-06 22:04:00 +01:00
Henrik Rydgard
c61d10363a Rewrite callback handling, part 1. All sorts of other fixes too. 2012-11-06 15:46:46 +01:00
Henrik Rydgard
b214a1a1da Revert "Better wrapper system, and fixed warnings"
This reverts commit a00b1855cb.

Conflicts:

	Core/HLE/FunctionWrappers.h
	Core/HLE/sceCtrl.cpp
	Core/HLE/sceKernelModule.cpp
2012-11-05 10:05:09 +01:00
Henrik Rydgard
6bed1afb72 Merge branch 'master' of https://github.com/artart78/ppsspp into artart78-master 2012-11-04 23:59:26 +01:00
Henrik Rydgard
64cc573703 Switch to "GPL 2.0 or later" for various reasons. I wrote most of the code I imported from Dolphin (which is GPL2-but-not-later), so it should be OK. 2012-11-04 23:24:00 +01:00
Henrik Rydgård
1ea930e8c8 code style fixing, remove unused field 2012-11-04 15:44:53 +01:00
Arthur Blot
a00b1855cb Better wrapper system, and fixed warnings 2012-11-04 15:08:23 +01:00
Henrik Rydgård
b6b7ac51b3 Allow specifying a range when allocating UIDs, default to [16, inf] 2012-11-04 13:28:52 +01:00
Henrik Rydgård
4ac0f63c42 Reindent sceKernel 2012-11-04 12:24:10 +01:00
MrOrdinaire
1ab9943643 fix missing #include's and missing CMake linking directives 2012-11-03 10:33:24 +08:00
Henrik Rydgard
4f7ad15758 Add snapshot of the whole source code. 2012-11-01 16:19:01 +01:00