Commit Graph
3693 Commits
Author SHA1 Message Date
Henrik Rydgard 0348403f61 Turn vcmp back on again, let's not trust the one-operand arm vcmp for now 2013-08-15 22:57:04 +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
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
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 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 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 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
shenweip 1527934d25 Fixed wrong log message 2013-08-14 07:22:22 +08:00
shenweip 75fe4296b7 Update 2013-08-14 01:58:32 +08:00
shenweip d17e6064de Update 2013-08-14 01:33:02 +08:00
shenweip f0fc6178da Implemented support for export module entry size 5 2013-08-14 01:03:40 +08:00
CPkmn 2a5b20a5a0 Update PGF.h 2013-08-13 05:59:10 -07:00
CPkmn 2428d3f5c5 Update PGF.cpp 2013-08-13 05:56:26 -07:00
Unknown W. Brackets 49c7b9628a Fix some correctness warnings. 2013-08-12 23:40:22 -07:00
Unknown W. Brackets 8830d3603e Fix some overflow/null deref warnings. 2013-08-12 23:33:52 -07:00
Unknown W. Brackets 83373b8d87 Fix a pointer ARRAY_SIZE() compare (eek.) 2013-08-12 23:33:40 -07:00
Unknown W. Brackets c6c821a0f7 Fix some unitinialized values. 2013-08-12 23:33:11 -07:00
Unknown W. Brackets 008052e6d6 Fix some variable hiding warnings. 2013-08-12 23:32:38 -07:00
Unknown W. Brackets c8716d9a02 Fix a few minor typos + small reporting change. 2013-08-12 23:02:39 -07:00
Henrik Rydgard 43978f0ed6 Auto-create .nomedia file on Android to hide savedata icons from Gallery 2013-08-12 21:49:02 +02:00
Henrik Rydgard b01cb8a6d0 Default to non-buffered rendering on ARMv6 as there appear to be some devices where it causes serious issues. Bizarre but this might reduce the problem a little. 2013-08-12 21:07:51 +02:00
Unknown W. Brackets c480bbb679 Change default IO thread to false. 2013-08-12 08:54:25 -07:00
Unknown W. Brackets 49ab98c7fd Use atomic operations on Android + warning fixes. 2013-08-12 08:51:49 -07:00
Unknown W. Brackets 24203b1a5d Improve performance on x86 as well using movq. 2013-08-12 08:40:54 -07:00
Unknown W. Brackets 3570ea8dee Fix condition variable misuse. 2013-08-12 02:41:37 -07:00
Unknown W. Brackets 7ac67a8931 Add a function to walk the stack, not yet perfect.
Could use improvements, but with a decent symbol table does very well so
far in the games I tested it in.
2013-08-12 01:54:14 -07:00
Unknown W. Brackets 92482dfcb3 Branch targets are relative to next instr. 2013-08-12 01:52:54 -07:00
Henrik Rydgård 7ba54b5dc0 Merge pull request #3127 from unknownbrackets/gpu-thread
Use a timer to keep gpu/cpu in sync periodically
2013-08-12 00:36:51 -07:00
Henrik Rydgård d87e1d5ec2 Merge pull request #3129 from unknownbrackets/mips-minor
MIPS table cleanup
2013-08-12 00:35:22 -07:00
Unknown W. Brackets 4d250954e4 Use the flags in MIPSCodeUtils. 2013-08-11 23:03:25 -07:00
The Dax 27f0f9bc65 Add an error message specifically for PS1 eboots. 2013-08-12 01:49:37 -04:00
Unknown W. Brackets c7360f1555 Consider these as taking a IMM16 as well. 2013-08-11 21:30:19 -07:00
Unknown W. Brackets aac6712974 Get rid of IsDelaySlotInfoSafe since flags are ok. 2013-08-11 20:49:34 -07:00
Unknown W. Brackets 3c4a6e13e4 Cleanup the remaining MIPS tables, reporting. 2013-08-11 20:40:21 -07:00