Commit Graph

899 Commits

Author SHA1 Message Date
Henrik Rydgard
e32721c72a Merge branch 'master' into armjit-fpu
Conflicts:
	Core/MIPS/MIPSVFPUUtils.cpp
	Core/MIPS/x86/CompVFPU.cpp
	GPU/GLES/VertexDecoder.cpp
2013-02-19 00:50:33 +01:00
Henrik Rydgard
1aa3a657c0 Very rough and basic implementation of frameskipping. 2013-02-19 00:45:26 +01:00
Henrik Rydgard
7c91802e3c Add some infrastructure to be used for frameskipping 2013-02-19 00:45:26 +01:00
Henrik Rydgard
cbb786c7f0 Restructure Windows "gameloop" to be more similar to others. 2013-02-19 00:45:25 +01:00
Unknown W. Brackets
51d5b84108 Fix some misc HLE warnings. 2013-02-18 09:04:43 -08:00
Unknown W. Brackets
363d1dbe19 Fix some misc. warnings. 2013-02-18 08:44:59 -08:00
Xele02
6339c2fc9a Correct crash when texture too small loaded in memory tex viewer
Correct current thread PC in the list.
2013-02-17 21:43:44 +01:00
raven02
f41b3f7cf1 sceSAS style & simplification 2013-02-17 09:45:20 +08:00
Henrik Rydgard
686c083b6f sceSas: initialize some stuff 2013-02-16 14:07:04 +01:00
Henrik Rydgard
909b768f47 Don't need separate variables for writemask. Some optimizations. 2013-02-16 09:28:55 +01:00
Henrik Rydgard
b8abb77eee More armjit-fpu work - dot product working for example. Add some non working DISABLEd stuff too. 2013-02-16 09:27:48 +01:00
Henrik Rydgard
d22e258943 Don't need separate variables for writemask. Some optimizations. 2013-02-15 22:56:38 +01:00
Henrik Rydgard
ca23c076a1 Minor sceFont fixes 2013-02-13 00:50:26 +01:00
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