Commit Graph
2615 Commits
Author SHA1 Message Date
Lewis Robbins 73ddf8d01f Line spacing 2013-02-10 14:16:29 +00:00
Lewis Robbins 6efad644d3 extra int print 2013-02-10 14:12:48 +00:00
Sacha b817e3bf26 Update max to std::max 2013-02-10 23:01:18 +10:00
Henrik Rydgård 2e65e0ca37 Merge pull request #638 from vakkov/e2a80952936ee82e1d97ed7f54f380be830832fd
Implement some font stuff
2013-02-10 04:23:34 -08:00
Henrik Rydgård 8144715e0b Merge pull request #637 from unknownbrackets/dlist2
Minimal fix to the GE-related interrupt changes
2013-02-10 02:11:36 -08:00
Henrik Rydgård 077e9297c7 Merge pull request #634 from unknownbrackets/thread-funcs
Implement sceKernelRotateThreadQueue() + queue fixes
2013-02-10 02:11:06 -08:00
Unknown W. Brackets 430139b12a Minimal revert of the GE-related interrupt changes.
Keep most of them, just revert using getList() which isn't cutting it
right now.  Fixes #595.
2013-02-10 02:03:02 -08:00
Unknown W. Brackets 5f2ec45203 sceIoDread() should return 1 when there are more.
Before it was returning > 1 if there were many more, which the PSP
did not do.
2013-02-09 20:40:06 -08:00
Unknown W. Brackets a5ba6821b7 Only switch to a started thread if better priority. 2013-02-09 19:02:38 -08:00
Unknown W. Brackets 0ff0b3f57d Return an error for invalid priority. 2013-02-09 19:01:25 -08:00
Unknown W. Brackets 161f2d712e sceKernelRotateThreadReadyQueue(0) means current. 2013-02-09 16:04:35 -08:00
Unknown W. Brackets ddc93df61e Keep running threads at the top of the list.
There we go, this seems more right.  Switched to a std::list too.
2013-02-09 16:04:35 -08:00
Unknown W. Brackets ea112fd9a6 Start the root thread as running, properly. 2013-02-09 16:04:34 -08:00
Unknown W. Brackets b8ca8a44aa Fix completely wrong thread status switching.
Wow, kinda surprised this even worked...
But now things that use sceKernelRotateThreadReadyQueue are broken again.
2013-02-09 16:04:34 -08:00
Unknown W. Brackets 411c711dac Initial sceKernelRotateThreadReadyQueue().
Might not be right but it's closer.
Makes games that call this func much faster.
2013-02-09 16:04:34 -08:00
Unknown W. Brackets dc15c004e9 Don't sleep for vsync in headless.
Makes the tests run faster, timeout less.
2013-02-09 00:49:23 -08:00
Henrik Rydgård dd61552364 Merge pull request #623 from unknownbrackets/savestates
Fix some file-related savestate issues
2013-02-09 00:18:01 -08:00
Unknown W. Brackets 1759bb8051 Use RemoveFile instead of DeleteFile in fs.
Windows defines DeleteFile to DeleteFileA/W, causing confusion.
2013-02-08 10:26:33 -08:00
Unknown W. Brackets 3ad565b4df Keep filehandles open properly when loading state. 2013-02-08 08:16:54 -08:00
Unknown W. Brackets 7806f9835a Correct a missing field from savestates in files. 2013-02-08 07:58:10 -08:00
Unknown W. Brackets f875e3699f Handle the emit screenshot headless command.
But, it doesn't work.  Shouldn't the vram have the graphics?
2013-02-07 22:44:54 -08:00
Sacha e79c8e032a Buildfix for Blackberry, Meego. Optimisations to Qt build. 2013-02-07 14:41:02 +10:00
Xele02 2a424977c0 Fix linux build ^^ 2013-02-04 21:24:01 +01:00
vakko e2a8095293 implement some stuff 2013-02-04 21:22:16 +02:00
Unknown W. Brackets 112c1e9e23 Automatically delete pointers when savestating. 2013-02-04 08:28:22 -08:00
Unknown W. Brackets 82a8450758 Fix some more non-pod structs in savestates. 2013-02-04 08:27:02 -08:00
Unknown W. Brackets a4032c5170 Simplify savestate code so it's all automagical.
If you can't beat 'em, join 'em?
2013-02-04 08:27:01 -08:00
Unknown W. Brackets 4fbfc5406f Don't error when savestating a psmfplayer. 2013-02-04 08:27:00 -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
Unknown W. Brackets 7c3cb9357e Fix crash with GE interrupts. 2013-02-03 23:22:27 -08:00
Henrik Rydgård 4596c6c811 Merge pull request #588 from unknownbrackets/atrac
Attempt to read the atrac size from the file
2013-02-03 22:51:18 -08:00
Henrik Rydgård b9dd8d0277 Merge pull request #589 from Orphis/dlist-rewrite-part1
Dlist rewrite part1
2013-02-03 22:49:16 -08:00
Florent Castelli 8004d360dd Interrupt handler reorganization for easier GE interrupt support 2013-02-04 03:10:01 +01:00
Unknown W. Brackets ee62c807ee Attempt to read the atrac size from the file. 2013-02-03 16:54:52 -08:00
Florent Castelli c37566d3bc Use proper draw sequence in PPGeDraw 2013-02-04 01:28:19 +01:00
Henrik Rydgard 7ea1926aa7 Blacklist the ssl library too 2013-02-04 00:54:50 +01:00
Florent Castelli 0d54048efd setCompiledSdkVersion accepts any version as in the CFW version 2013-02-04 00:27:29 +01:00
Unknown W. Brackets 2fa0cf040d Fix alarm test by not interrupting when disabled.
vblank was interrupting/rescheduling when interrupts were disabled.
That's bad.
2013-02-03 13:48:19 -08:00
Unknown W. Brackets c7204797e7 Don't log idle => idle context switches. 2013-02-03 13:48:19 -08:00
Unknown W. Brackets 996eb7a648 Use the new ready queue for thread switching. 2013-02-03 13:48:18 -08:00
Unknown W. Brackets ce2e62317b Make the new queue only have ready threads. 2013-02-03 13:45:30 -08:00
Unknown W. Brackets 8725bfe411 Add a priority-indexed ready queue (not used yet.)
Also, not actually only ready threads yet.
2013-02-03 13:45:30 -08:00
raven02 8a520faf5d Build fix 2013-02-04 05:25:12 +08:00
Henrik Rydgård 7d6c113a97 Merge pull request #582 from raven02/master
Add few new stubs seen from Dragon Ball Z Tenkaichi Tag Team
2013-02-03 13:15:32 -08:00
Henrik Rydgard 3f0816cd05 Usec2Sysclock fixes 2013-02-03 22:14:19 +01:00
Henrik Rydgard 7fbf914821 Another bites the dust (blacklisted modules) 2013-02-03 22:13:42 +01:00
Henrik Rydgård dcb106743b Merge pull request #583 from unknownbrackets/audio-minor
Atrac finish flag fix
2013-02-03 12:32:45 -08:00
raven02 24c720892c Add few stubs seen from Dragon Ball Z Tenkaichi Tag Team 2013-02-04 03:19:55 +08:00
Unknown W. Brackets 5b9721772a Properly set the finish flag at the end. 2013-02-03 10:58:18 -08:00