Unknown W. Brackets
9034cfbfd3
Defer HLE interrupts, vblank only when enabled.
...
Based on tests, vblank doesn't queue up (makes sense) while
interrupts are disabled.
I'm not 100% sure about the GPU stuff but it seems to only come
from HLE via sceGe, so this should fix those return values.
2012-12-20 21:54:40 -08:00
Henrik Rydgard
9c65a7b7f8
Fix issue with calling module imports
2012-12-17 21:27:50 +01:00
Unknown W. Brackets
e150cc5c03
Correct skipped parameter for deferred resched.
...
Forgot to check callbacks, oops.
2012-12-09 15:08:44 -08:00
Unknown W. Brackets
cf9b5744bb
Copy the resched reason in case on stack.
...
Was getting lost and becoming garbage.
2012-12-09 09:13:32 -08:00
Unknown W. Brackets
b6a7b04981
Cleanup deferred rescheduling in case it's tight.
...
Probably doesn't matter anyway. But this reads cleaner I think.
2012-12-09 01:16:19 -08:00
Unknown W. Brackets
5e8aa4c071
Implement deferred rescheduling/callbacks.
...
This way most HLE functions can be wrapped normally. Hurray, sanity.
2012-12-09 01:04:53 -08:00
Henrik Rydgard
117256e07b
Implement various hle stuff..
2012-11-07 19:10:52 +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
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
Arthur Blot
9be8be6b7f
Implemented sceKernelLoadModule()
...
Note that it wasn't tested because all the games I tested had other problems (already implemented modules, encrypted modules, using different functions etc).
But code looks good so it'd probably need few (no?) fixes.
2012-11-04 19:01:20 +01:00
Henrik Rydgard
4f7ad15758
Add snapshot of the whole source code.
2012-11-01 16:19:01 +01:00