Commit graph

3818 commits

Author SHA1 Message Date
Ced2911
d613c44303 fix bgez 2013-08-16 14:47:54 +02:00
Ced2911
5f05b0b112 fix blt 2013-08-16 14:46:57 +02:00
Ced2911
b0815b84e8 more 2013-08-16 14:46:57 +02:00
Ced2911
3a82881bf2 almost working !
hang when downcount is under 0
2013-08-16 14:45:19 +02:00
Ced2911
1a5c6b59c5 add ppc jit 2013-08-16 14:40:29 +02:00
Ced2911
9431c811a7 broken ppc jit 2013-08-16 14:39:54 +02:00
Ced2911
c24c5c88d9 empty jit 2013-08-16 14:37:36 +02:00
Ced2911
c332a4af58 Endian and PPC support 2013-08-16 14:34:15 +02:00
Henrik Rydgard
73990bcc32 UI updates
Touch&hold now goes to game menu and single click goes directly to the game, so I removed bDirectLoad.

There's now a linear game list view for the game browser.

Assorted fixes.
2013-08-16 12:53:35 +02:00
Henrik Rydgard
5f11ac4142 Calculate FPS in sceDisplaySetFramebuf like before. 2013-08-16 12:53:35 +02:00
Henrik Rydgård
e36444c1c2 Merge pull request #3189 from unknownbrackets/jit-branch
Attempts at continuing jit blocks (disabled)
2013-08-16 02:11:06 -07:00
Unknown W. Brackets
8327cd0f8e Clean up some inconsistency in jit branches on arm. 2013-08-16 02:02:56 -07:00
Unknown W. Brackets
df32c99be6 Attempt to follow branches to a max # of ops.
Seems to make it slower also.  Maybe taking the branch would be better...
hmmph.
2013-08-16 01:07:11 -07:00
Unknown W. Brackets
defd2b6383 Attempt at doing branches with imm args. 2013-08-16 01:05:52 -07:00
Unknown W. Brackets
6b0b5145e5 Clean up some inconsistency in jit branches. 2013-08-16 00:44:23 -07:00
Ced2911
7f6dd0d58b endian for media engine 2013-08-16 09:18:45 +02:00
Ced2911
0bae3f8bf9 fix endian in image 2013-08-16 09:18:30 +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
Ced2911
78b219b1fd endian on vfpu 2013-08-16 09:17:34 +02:00
Unknown W. Brackets
14b719a7ac Make it possible to have more block exits. 2013-08-16 00:12:49 -07:00
Unknown W. Brackets
64c2ea86c0 Add a method to save the gpr/fpr state in jit. 2013-08-16 00:12:49 -07: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
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