Commit Graph

57 Commits

Author SHA1 Message Date
Unknown W. Brackets
e7b968be73 Debugger: Notate Memcpys directly as well. 2021-02-15 15:01:23 -08:00
Unknown W. Brackets
b8342fb8ec SaveState: Rename ChunkFile files to Serialize.
Makes more sense and less weird than ChunkFileDoMap, etc.
2020-08-10 08:04:05 +00:00
Unknown W. Brackets
1dc5ee424b SaveState: Split out Do types to reduce headers. 2020-08-10 08:03:44 +00:00
Unknown W. Brackets
4b4e3432cd SaveState: Split Do() into a separate header. 2020-08-10 08:03:41 +00:00
Henrik Rydgård
df6d0a8ae7 PSP kernel: Improve logging when accessing bad kernel object handles. 2020-07-20 11:57:11 +02:00
Unknown W. Brackets
2450724be2 Make Memory::Memcpy() execute memchecks directly.
This makes it easier to handle breakpoints in HLE.
2015-04-05 18:09:20 -07:00
Lioncash
cac632424c Core: Add missing override specifiers 2014-12-08 15:20:31 -05:00
Lioncash
4ccb838306 Core: Mark some module functions as static 2014-12-08 04:40:08 -05:00
Unknown W. Brackets
a42a2864a6 Protect against vtimers scheduled in past. 2014-09-01 20:03:57 -07:00
Unknown W. Brackets
2cad35ad59 Put a 250us minimum on all vtimer scheduling. 2014-09-01 20:03:56 -07:00
Unknown W. Brackets
4e9f54a400 Require 250us lead time to start a vtimer.
Matches tests, improves the threads/vtimers/delete test.
2014-09-01 20:03:56 -07:00
Unknown W. Brackets
05ab192c9c Reduce includes in Core/HLE/.
Especially templates.
2014-03-15 11:22:19 -07:00
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