886 Commits

Author SHA1 Message Date
Unknown W. Brackets
21483f2d4c Cut down on rescheduling in sceGeListEnqueue.
Fixes ClaDun X2.
2013-02-12 07:45:20 -08:00
Unknown W. Brackets
c00bdb6f82 Don't savestate the last frame time. 2013-02-12 01:24:03 -08:00
raven02
a7f46351c8 FPS: 0.7f for mobile and 0.5f for windows platform/rest 2013-02-12 15:07:17 +08:00
Henrik Rydgard
69da33bd29 Add Show FPS to in-game menu on mobile. Make it green and right-adjusted. 2013-02-12 00:34:59 +01:00
raven02
944e803b14 Change appropriate name to calculateFPS 2013-02-11 18:20:12 +08:00
raven02
88d060848b Prevent FPS overlap and add FPS to debug statistics 2013-02-11 18:00:18 +08:00
Unknown W. Brackets
537fbe4d7d Minor perf gain in __KernelNextThread.
Just like .1% but was hoping Mr. Optimizer would do this for me.
2013-02-11 01:27:08 -08:00
Unknown W. Brackets
6ca1cad28c Add a std::vector wrapper to do remove/pop/push.
It showed up in a profile after all.  Cut down more than 1%.
2013-02-11 01:27:07 -08:00
Unknown W. Brackets
f552cb3370 Wake delayed threads directly, rather than looping.
This saves ~1% during fast forward on a release build.
2013-02-11 01:27:07 -08:00
Unknown W. Brackets
9a5589a180 Move running thread resched to __KernelNextThread.
Pretty sure this is needed, but apparently it breaks Sol Trigger.
2013-02-11 01:27:07 -08:00
Unknown W. Brackets
fd1c686edf Move currentThread init to a better place. 2013-02-11 01:27:06 -08:00
Unknown W. Brackets
f8de30b94d Put the fps on the right side.
This way it doesn't overlap the debug text.
2013-02-11 00:39:01 -08:00
Henrik Rydgård
c07370ac3c Merge pull request #650 from KentuckyCompass/fps_counter
Fps counter
2013-02-10 23:04:22 -08:00
KentuckyCompass
f9cafde55c Show record high FPS 2013-02-10 22:50:53 -08:00
Henrik Rydgård
ae5c069be4 Merge pull request #649 from unknownbrackets/display-multi
Implement sceDisplayWaitVblankStartMulti()
2013-02-10 22:34:08 -08:00
KentuckyCompass
475ee2ed71 Show an FPS counter if ini option is true 2013-02-10 22:24:44 -08:00
Unknown W. Brackets
eaaf027035 Implement sceDisplayWaitVblankStartMulti().
Fixes Falcom games running at too-fast framerates.
2013-02-10 19:02:00 -08:00
Unknown W. Brackets
6fda78fb02 Add a few missing sceDisplay syscalls.
Found in Lunar.
2013-02-10 18:39:00 -08:00
Unknown W. Brackets
d8a55756f3 Always return a file descriptor in sceIoOpenAsync.
Fixes #646.
2013-02-10 18:21:25 -08:00
Xele02
69b837f18b Add debug dialogs (DisAsm, Memory, VFPU).
New features : Breakpoint display, thread status, display list status
Update translation and start french translation
2013-02-10 17:33:34 +01:00
Unknown W. Brackets
2e0beb5833 Buildfix for Windows. 2013-02-10 08:10:01 -08:00
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