Unknown W. Brackets
4803dfdce1
Use CoreTiming::GetGlobalTimeUs() for vtimers.
2013-10-24 01:10:46 -07:00
Unknown W. Brackets
05f2f53358
The vtimer return value is treated as u32.
2013-10-22 22:50:52 -07:00
Unknown W. Brackets
580d4436a3
Fix vtimer uid param type, add algorithm include.
2013-10-22 07:46:33 -07:00
Unknown W. Brackets
47714d4b82
Don't change the vtimer schedule with no handler.
2013-10-22 07:45:53 -07:00
Unknown W. Brackets
0a373b08b7
Return better vtimer errors within interrupts.
2013-10-22 07:45:53 -07:00
Unknown W. Brackets
b7fd768ecc
Correct vtimer scheduling.
2013-10-22 07:45:52 -07:00
Unknown W. Brackets
a47c88d658
Run missed handlers when setting vtimer time.
2013-10-22 07:45:52 -07:00
Unknown W. Brackets
856e3b7071
Fix error code on start vtimer with current.
2013-10-22 07:45:51 -07:00
Unknown W. Brackets
002aed1080
Update current and limit bytes in vtimer refer.
2013-10-22 07:45:50 -07:00
Unknown W. Brackets
ea507388ea
Return a special error for the running vtimer.
...
Also, ues 0 when none is running. This explains the different error code.
2013-10-22 07:45:50 -07:00
Unknown W. Brackets
9bd988e376
Fix doubling of current on vtimer stop.
2013-10-22 07:45:49 -07:00
Unknown W. Brackets
167699ac9e
Correct sceKernelGetVTimer*Wide() error value.
2013-10-22 07:45:49 -07:00
Unknown W. Brackets
67cd13702e
Correct sceKernelSetVTimerTime*().
2013-10-22 07:45:48 -07:00
Unknown W. Brackets
29d7d00b08
sceKernelCancelVTimerHandler() resets handler only.
2013-10-22 07:45:48 -07:00
Unknown W. Brackets
c9755d7886
Correct errors from sceKernelCancelVTimerHandler().
2013-10-22 07:45:47 -07:00
Unknown W. Brackets
7edebd1c2f
Put vtimer args on the stack, skip allocation.
...
This is roughly where they are on the PSP based on tests, and it avoids
having to manage memory or etc.
2013-10-22 07:45:47 -07:00
Unknown W. Brackets
50e9e45d65
Check version in each DoState() func.
...
They bail on PointerWrap error or bad version.
2013-09-14 20:23:03 -07:00
Henrik Rydgard
8c88dff5a4
More log categories, use them (and existing ones). Improve log config.
2013-09-07 22:02:55 +02: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
Henrik Rydgård
87b5f72932
Merge pull request #2698 from unknownbrackets/warnings
...
Warning fixes
2013-07-08 00:32:11 -07:00
Unknown W. Brackets
2ba976bffb
Fix rescheduling of vtimers based on return value.
2013-07-07 21:36:01 -07:00
Unknown W. Brackets
b42cb0581c
Remove fixed delay, this is just other syscalls.
2013-07-07 21:16:48 -07:00
Unknown W. Brackets
96bb532abb
Ignore vtimer handler arg changes w/ NULL handler.
...
Per tests, this is what the PSP does. Could matter in edge cases.
2013-07-07 21:16:48 -07:00
Unknown W. Brackets
bf652e4f46
Don't report for <= 4 sized option parameters.
...
Also don't crash in sceKernelCreateVTimer(NULL, NULL).
2013-07-07 21:16:28 -07:00
Unknown W. Brackets
88ce95470c
This one is worth reporting.
2013-07-07 18:10:32 -07:00
Henrik Rydgard
b78276fcca
Apply JPCSP's fix that allows some audio to play in Monster Hunter. Far from perfect though.
2013-07-06 23:56:19 +02: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
raven02
d77e0054d5
Improve few functions in sceKernelVtimer
2013-04-09 08:32:13 +08: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
a3f93ed203
Fix some printf size warnings, signed warnings.
2013-03-02 15:34:15 -08:00
Unknown W. Brackets
d2020372d1
Fix small warning.
2013-03-02 11:27:31 -08:00
Marcin Mikołajczyk
faa837ad15
Implement DoState in VTimer
2013-03-02 17:23:28 +01:00
Marcin Mikołajczyk
0a3bf01a9b
VTimer implementation
2013-03-02 14:06:45 +01: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
Henrik Rydgård
cff6d155f1
Add a null check. Make vtimer log ERROR until it works.
2012-12-31 12:18:53 +01:00
Henrik Rydgård
1ea34bb6e8
Stub out all of VTimer.
2012-12-30 21:30:33 +01:00
Unknown W. Brackets
0edbcdc955
Fix some missing things / bugs in save states.
2012-12-29 02:56:56 -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
Henrik Rydgard
aea0580297
More reworking of Callbacks, plus some other little fixes.
2012-11-07 15:44:48 +01:00
Henrik Rydgard
85d5cfd8c4
Add more proper "Null" GPU
2012-11-06 17:05:27 +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 Rydgard
4f7ad15758
Add snapshot of the whole source code.
2012-11-01 16:19:01 +01:00