Unknown W. Brackets
1bf974aff6
Implement VPL/FPL callback handlers.
...
Smells like time to refactor, there are less differences than I expected.
2013-09-03 01:21:51 -07:00
Unknown W. Brackets
3903f27dfd
Add handlers for callbacks during mbx waits.
2013-09-03 01:21:51 -07:00
Unknown W. Brackets
354dbfec6c
Improve some reporting of options structs.
2013-08-25 16:43:47 -07:00
Unknown W. Brackets
690c11e590
Oops, quick warning fix.
2013-08-24 11:33:32 -07:00
Unknown W. Brackets
1ee99f88e1
Stop warning on invalid sempahores.
...
They've been helpful, but it's finally been a while since it's mattered.
2013-08-18 18:38:04 -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
Unknown W. Brackets
008052e6d6
Fix some variable hiding warnings.
2013-08-12 23:32:38 -07:00
Unknown W. Brackets
0b5bdeb1d3
Fix some compile failures under big endian.
2013-07-28 21:04:17 -07:00
Unknown W. Brackets
81f7103e0b
Use *_le for the sceKernel* funcs.
2013-07-25 08:04:34 -07:00
Unknown W. Brackets
933c8abb55
Check kernel object types when looking up ids.
...
Some games misuse it, need to return an error.
2013-06-18 23:54:29 -07:00
Unknown W. Brackets
77b0688d92
Recalculate numWaitThreads all the time.
...
Before, it could go negative by having a thread woken a second time
(e.g. because of a delete) before it actually scheduled and woke up.
2013-05-27 22:44:10 -07:00
Unknown W. Brackets
ac9e936ba8
Fix sema and event flag refer to check size.
...
If it's zero, write nothing, just like the others.
2013-05-18 13:46:50 -07:00
Unknown W. Brackets
9ce8c07530
Reschedule the timeout event on callback end.
...
Darn, missed that 3 times before I caught it.
2013-04-14 21:34:33 -07:00
Unknown W. Brackets
200ec55c61
sceKernelWaitEventFlagCB() calls callbacks first.
2013-04-14 21:31:41 -07:00
Unknown W. Brackets
9b80ae2ee0
Make event flags wait / do callbacks correctly.
2013-04-14 21:18:00 -07:00
Unknown W. Brackets
0595e5099e
Don't allow wait in event flags without dispatch.
...
But this happens after other param checks.
2013-04-06 17:04:17 -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
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
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
43c8726554
Oops, 0 is a valid timer id.
2013-01-18 01:38:14 -08:00
Henrik Rydgård
95c4e0b9c4
Quick build fix for gcc
2012-12-28 23:33:00 +01:00
Unknown W. Brackets
bcecd881b1
Savestate cleanup + be more careful with vectors.
...
For some reason I debugged it going into std::string so I just made
them all more explicit which fixed everything.
2012-12-28 13:55:31 -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