Commit Graph

7109 Commits

Author SHA1 Message Date
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
Henrik Rydgård
97cc16cd6d Merge pull request #3180 from raven02/patch-2
Break fix title CG missing in Midlight club 3
2013-08-15 07:07:44 -07:00
raven02
94ded4c00c Break fix title CG missing in Midlight club 3 2013-08-15 21:58:18 +08:00
Henrik Rydgård
2ab05e234d Merge pull request #3178 from unknownbrackets/perf
Thread switching performance improvements
2013-08-15 01:56:48 -07:00
Unknown W. Brackets
2758634a0f Avoid overhead calling __KernelIdle().
~1.8% improvement in Zettai Hero Project.
2013-08-15 01:35:17 -07:00
Unknown W. Brackets
51e5cfab40 Small warning fix. 2013-08-15 01:35:06 -07:00
Unknown W. Brackets
846178a588 Optimize thread switching a bit.
~2.5% improvement in Zettai Hero Project (while multithreading.)
2013-08-15 01:26:16 -07:00
Unknown W. Brackets
5387e5c717 Oops, typo. 2013-08-15 00:38:53 -07:00
Henrik Rydgård
6b114e8cac Merge pull request #3175 from unknownbrackets/vfpu-minor
Handle branches in VFPU delay slots better
2013-08-15 00:24:50 -07:00
Henrik Rydgård
5493de16e4 Merge pull request #3177 from unknownbrackets/thread-funcs
Correct result of sceKernelGetThreadExitStatus(0)
2013-08-15 00:19:26 -07:00
Unknown W. Brackets
0d5c66676d Correct result of sceKernelGetThreadExitStatus(0).
Fixes Zettai Hero Project's options menu.
2013-08-14 23:58:23 -07:00
Unknown W. Brackets
df50e03146 Add a safety log for cases we don't handle right. 2013-08-14 23:14:25 -07:00
Unknown W. Brackets
e639f8d15f Handle branches in VFPU delay slots better.
Based on tests on a PSP, all branches are attempted.  The behavior is
technically undefined.

It seems to take the delay slot's target if they differ and both pass.
This is the behavior the interpreter has, but it's more work in jit.

Since only a couple games seem to do this, and clearly expect this
behavior, this fixes all known cases of #1926.
2013-08-14 22:56:02 -07:00
Henrik Rydgård
9aafdeafcf Merge pull request #3172 from Kingcom/Debug
Separate accelerator table when the debugger is active
2013-08-14 14:52:50 -07:00
Kingcom
bfbea62ce3 Send messages to the debugger 2013-08-14 23:46:59 +02:00
Kingcom
177b9fa6b1 Separate accelerator table when the debugger is active 2013-08-14 23:30:50 +02:00
Henrik Rydgard
b0c0911dca More UI tweaks (better title font for popups for example) 2013-08-14 23:29:57 +02:00
Henrik Rydgard
8b99d999ed UI tweaks, move a couple old screens to keep out of MenuScreens.cpp 2013-08-14 23:06:14 +02:00
Henrik Rydgård
345b5fd859 Merge pull request #3171 from raven02/patch-1
Temporary fix issue #3167 in non-multithread mode
2013-08-14 13:42:14 -07:00
Henrik Rydgard
a4f5418d9d Complete the name change to ClearBuffer 2013-08-14 22:14:18 +02:00
raven02
e68ddf671c Temporary fix issue #3167 in non-multithread mode #2 2013-08-15 03:44:20 +08:00
raven02
9e40468b9f Temporary fix issue #3167 in non-multithread mode #1 2013-08-15 03:43:40 +08:00
Henrik Rydgård
169cc63f6e Merge pull request #3170 from raven02/patch-17
Few more boolean fix
2013-08-14 12:33:12 -07:00
raven02
2dd75b5b97 ClearBuffer() 2013-08-15 03:32:43 +08:00
raven02
9f0ca16df7 boolean fix 2013-08-15 03:21:42 +08:00
raven02
f49e5535a7 Few more boolean fix 2013-08-15 03:20:06 +08:00
Henrik Rydgård
b2b4c92333 Merge pull request #3169 from thedax/soundInitFix
Overhaul the sound fix.
2013-08-14 12:10:57 -07:00
Henrik Rydgård
67ff572ba8 Merge pull request #3168 from xyzz/linux_qt_build_fixes
Fix Qt build on Linux.
2013-08-14 12:09:10 -07:00
Ilya Zhuravlev
b3a91db87e Fix Qt build on Linux. 2013-08-14 23:02:56 +04:00
The Dax
0ead143013 Overhaul the sound fix. It was rooted deeper than I thought. This should cover all complaints now(except pressing escape which discards any settings changed: is this by design? :\). Also add new menu option to Win32 UI under Emulation to control whether Atrac 3 should be on/off. 2013-08-14 15:00:54 -04:00
Henrik Rydgard
96373132bb Android buildfix 2013-08-14 20:42:13 +02:00
Henrik Rydgard
161556dfda Update lang, native to current versions 2013-08-14 18:58:46 +02:00
Henrik Rydgard
c41540d108 Remove checks the check whether the framebuffer already was set, shouldn't have any effect really 2013-08-14 17:54:58 +02:00
Henrik Rydgard
0a5c942daf Temporarily disable VCMP on ARM. Let's see if this fixes #3071 , if so I have debugging to do. 2013-08-14 17:41:16 +02:00
Henrik Rydgard
df3a1d5e1c Make play button focused on game screen. 2013-08-14 17:38:41 +02:00
Henrik Rydgård
b66bd085ce Merge pull request #3108 from raven02/patch-13
Fix wrong size generated FB which uses for render-to-texture
2013-08-14 08:38:27 -07:00
Henrik Rydgård
ebb2aba2e0 Merge pull request #3164 from unknownbrackets/savestates
Fix savestate difference on 64/32 bit + warnings/minor
2013-08-14 08:12:44 -07:00
Henrik Rydgård
e53d582b5a Merge pull request #3165 from thedax/soundInitFix
Fix an oversight where sound would never be initialised if a game is started with it off, and then is enabled later.
2013-08-14 08:12:13 -07:00
Henrik Rydgård
052778b075 Merge pull request #3166 from thedax/minorLoggingFix
Add SceNpDrmOpen to the table so it can be logged properly.
2013-08-14 08:11:42 -07:00
Henrik Rydgård
f6dfd5f294 Merge pull request #3163 from makotech222/cwcheat
Fix for 0x6 cheats
2013-08-14 08:11:28 -07:00
The Dax
0f59767984 Add SceNpDrmOpen to the table so it can be logged properly. 2013-08-14 09:23:58 -04:00
The Dax
75f03b4d8a NewUI: Don't init audio if sound is disabled. And remove some stray newlines. 2013-08-14 09:05:24 -04:00
The Dax
5b2483ee73 Fix a bug where sound would never be initialised if a game is started with it off, then later enabled. 2013-08-14 08:47:10 -04:00
Unknown W. Brackets
f53426db9d Obviously no reason for this to be virtual. 2013-08-13 21:42:48 -07:00
Unknown W. Brackets
8ab67b1674 Fix some warnings. 2013-08-13 21:05:54 -07:00
Unknown W. Brackets
65d4601140 Fix compat issue between 64/32 bit savestates. 2013-08-13 21:05:40 -07:00
Steven Cherry
c1827698be Fix for 0x6 cheats 2013-08-13 21:24:35 -05:00
Unknown W. Brackets
2463119471 Merge pull request #3162 from shenweip/master
Fixed wrong log message
2013-08-13 18:33:15 -07:00
raven02
fad8b77044 Merge remote-tracking branch 'upstream/master' into patch-13 2013-08-14 07:29:56 +08:00
shenweip
1527934d25 Fixed wrong log message 2013-08-14 07:22:22 +08:00