Commit graph

1984 commits

Author SHA1 Message Date
Henrik Rydgard
dfb91d4532 Track number of GPU commands executed per call level.
This is to get an idea if it would be beneficial to compile and cache display lists. Looks like it would be for some games, for example in GTA it's often 20k/80k/20k commands per frame - that is 100k executed commands per frame that could potentially just be executed instead of interpreted. Likewise in Wipeout. Of course, this means yet another cache with invalidation issues etc..
2013-08-23 11:29:55 +02:00
Unknown W. Brackets
1ed8edb0d3 Avoid some dangerous hex constant widths. 2013-08-22 23:23:48 -07:00
Unknown W. Brackets
2ef650aa2d Add a bunch of HLE functions for better reporting. 2013-08-22 23:04:55 -07:00
Unknown W. Brackets
fca0af8e70 Add some kernel-related HLE stubs for reporting. 2013-08-22 23:04:16 -07:00
CPkmn
b0d203454f Update sceNet.cpp 2013-08-22 15:55:03 -07:00
Henrik Rydgard
c46b7fbe1b Let's try doing all I/O on the thread if threading is enabled, no matter how short. 2013-08-21 20:50:45 +02:00
Unknown W. Brackets
19016ac7c4 Cut down on some kernel HLE reporting.
Not sure where these are coming from, hacked games?
2013-08-21 08:40:31 -07:00
Unknown W. Brackets
a217cefa11 Tone down some less needed reporting. 2013-08-21 08:40:29 -07:00
Unknown W. Brackets
72ce41f41c Report a couple unhandled blocks. 2013-08-21 01:20:06 -07:00
Henrik Rydgard
25ab9edd8a Revert "Revert "Stop lying about free memory in HLE.""
This reverts commit f13d6e4109.
2013-08-20 01:17:52 +02:00
Henrik Rydgard
f13d6e4109 Revert "Stop lying about free memory in HLE."
This reverts commit 8191ea4d76.
2013-08-20 00:58:02 +02:00
Henrik Rydgard
b186294132 UI tweaks. Change to cleaner background image. 2013-08-20 00:49:25 +02:00
Henrik Rydgard
6ca3b43b9a Measure actual fps (frameskip+unthrottle included), show all three on one line if you choose "both" (which I probably should rename)
Also prevent annoying scrolls in key mapping dialog
2013-08-19 22:06:49 +02:00
Unknown W. Brackets
4f7f963274 Correct sceKernelReferMsgPipeStatus(). 2013-08-18 18:45:43 -07:00
Unknown W. Brackets
a53c5d291c Update result on non-buffer receive empty too. 2013-08-18 18:45:43 -07:00
Unknown W. Brackets
2d1b2bc769 Writing 0s on delete/cancel wasn't right after all. 2013-08-18 18:45:43 -07:00
Unknown W. Brackets
642e7b255e Drain as much as possible before waiting. 2013-08-18 18:45:42 -07:00
Unknown W. Brackets
e6236a1d31 Fix sceKernelReceiveMsgPipe() with no buffer.
And simplify, reschedule correctly.
2013-08-18 18:45:42 -07:00
Unknown W. Brackets
b7ea35b71d Add some error checking to msgpipe receives. 2013-08-18 18:38:14 -07:00
Unknown W. Brackets
e2f0dfe243 Wrap sceKernelReceiveMsgPipe() and friends. 2013-08-18 18:38:14 -07:00
Unknown W. Brackets
6750794c8a Fix a weird sceKernelTrySendMsgPipe() edge case. 2013-08-18 18:38:12 -07:00
Unknown W. Brackets
769bac3acf Fix send of 0 bytes, more error handling. 2013-08-18 18:38:12 -07:00
Unknown W. Brackets
29067edf52 When sorting, also clear not waiting threads. 2013-08-18 18:38:11 -07:00
Unknown W. Brackets
23625eec30 Simplify and fix msgpipe send queuing logic.
Should reschedule, should wait in line, couple error messages.
2013-08-18 18:38:11 -07:00
Unknown W. Brackets
27268967f9 Sort msgpipe waits while waking (like others.) 2013-08-18 18:38:10 -07:00
Unknown W. Brackets
4be06d2432 Wrap the msgpipe send functions. 2013-08-18 18:38:10 -07:00
Unknown W. Brackets
653e0f9629 Don't wait on a msgpipe when timeout <= 2. 2013-08-18 18:38:09 -07:00
Unknown W. Brackets
8a5dadcf53 Start out with 0 written msgpipe bytes. 2013-08-18 18:38:09 -07:00
Unknown W. Brackets
b06de35536 Verify msgpipe threads are waiting before waking. 2013-08-18 18:38:08 -07:00
Unknown W. Brackets
b9a71640eb Implement basic timeouts for msg pipes. 2013-08-18 18:38:08 -07:00
Unknown W. Brackets
88b333bd16 Don't even try to allocate a 0 sized buffer. 2013-08-18 18:38:07 -07:00
Unknown W. Brackets
fa73875c98 Clean up cancel and delete for msgpipes. 2013-08-18 18:38:07 -07:00
Unknown W. Brackets
23a48ba799 Return better results from msgpipe waits.
Not fully tested, but it's clearer to specify.  Delete and cancel are sure
to have been wrong.
2013-08-18 18:38:06 -07:00
Unknown W. Brackets
6577a7f920 Cleanup some minor usage in msgpipes. 2013-08-18 18:38:06 -07:00
Unknown W. Brackets
666cee4f6a Fix sceKernelCreateMsgPipe() and alloc psp memory.
Might not matter, but I'm not sure yet if it's expoesd somewhere.
2013-08-18 18:38:05 -07:00
Unknown W. Brackets
1ee99f88e1 Stop warning on invalid sempahores.
They've been helpful, but it's finally been a while since it's mattered.
2013-08-18 18:38:04 -07:00
Unknown W. Brackets
217eaa9cb4 Remove bad param from sceKernelPollEventFlag().
Not that it was necessarily hurting anything...
2013-08-18 18:38:04 -07:00
Henrik Rydgard
00d56e6bcf Setting unlimited as an alternate speed is possible again. 2013-08-18 22:48:53 +02:00
Henrik Rydgard
a48e1de2d4 Fix slow-motion alternate speeds 2013-08-18 22:40:42 +02:00
Henrik Rydgard
0265ab874f Change FPS limit to "alternate speed", expressed in a percentage.
Fix it so it works correctly for 30fps games.

Some menu tweaks.
2013-08-18 18:55:42 +02:00
Unknown W. Brackets
8191ea4d76 Stop lying about free memory in HLE. 2013-08-17 09:28:44 -07:00
Henrik Rydgard
cb076d1e6f Update some log levels in sceFont 2013-08-16 16:49:52 +02:00
Henrik Rydgard
5f11ac4142 Calculate FPS in sceDisplaySetFramebuf like before. 2013-08-16 12:53:35 +02:00
Ced2911
e5166a5970 endian fro sceMpeg 2013-08-16 09:18:18 +02:00
Ced2911
c1ffaa9e1f endian for sceChnnlsv 2013-08-16 09:18:04 +02:00
Ced2911
aa1787411e endian for scempeg 2013-08-16 09:17:51 +02:00
Henrik Rydgard
d97b09a88d Revert "Break fix title CG missing in Midlight club 3"
This reverts commit 94ded4c00c.
2013-08-16 09:00:40 +02:00
Henrik Rydgard
664d74a9b7 Another frameskipping attempt. Now: 0=no frameskip, 1=auto frameskipt, 2-9=fixed frameskip.
There is still some flicker remaining in non-buffered rendering that I can't seem to get rid off.
2013-08-16 01:00:26 +02:00
Unknown W. Brackets
83bc12ea08 Reschedule in sceKernelReferThreadStatus().
It's often called in loops waiting for a thread to wake up.

Fixes .hack//Link's sluggish performance.
2013-08-15 07:56:35 -07:00
raven02
94ded4c00c Break fix title CG missing in Midlight club 3 2013-08-15 21:58:18 +08:00