1545 Commits

Author SHA1 Message Date
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
Henrik Rydgård
b40aca67fd Merge pull request #625 from unknownbrackets/buildfix
Use RemoveFile instead of DeleteFile in fs
2013-02-09 00:16:59 -08:00
Unknown W. Brackets
db18eba388 Fix a crash in CSO reading (probably a bad rip.)
This could happen if sce_lbn is used out of bounds, maybe?
2013-02-08 23:52:22 -08:00
Unknown W. Brackets
2ea113369b Fix memory leak in CSO reading. 2013-02-08 19:27:42 -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
Henrik Rydgard
6d3c851d03 armjit: Fix and enable sltiu, correct this time I think... 2013-02-06 23:35:24 +01:00
Henrik Rydgard
377c94b125 JIT x86: cvt.s.w 2013-02-06 20:29:49 +01:00
Henrik Rydgard
8749ad0cb9 Warning fixes, very minor updates to shader generators. 2013-02-06 19:04:28 +01:00
Lewis Robbins
442e64cd84 compiler warning and const top-level const 2013-02-05 17:54:29 +00: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
Henrik Rydgard
349f1bd56b Windows build fix :P 2013-02-04 20:20:50 +01:00
Henrik Rydgard
7a36619174 Android buildfix + cleanup 2013-02-04 20:19:24 +01: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
7a0c1f822d Don't allocate a 0 array in savedata savestates. 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
lioncash
025a1351b4 Get rid of unused iterators.
Also fix the formatting in 3 sprintf calls.
2013-02-04 08:49:58 -05: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