Commit Graph

192 Commits

Author SHA1 Message Date
cottonvibes 08e4bab2c4 fixed something from the last revision.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@92 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes c8e1ec9651 some more optimization
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@91 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
ramapcsx2 bffda0b646 This is still faster, please do some benches before recklessly reverting, k? :)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@90 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes bf2a2c132a minor fix, thanks again to intellq
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@89 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes 3393e1ee03 okay this took me a while, but i managed to make stuff a bit more organized. -New "Advanced" dialog handles all CPU/VU roundmodes, denormals are zero, and flush to zero options. -Moved GT4 and GoW hacks to the "GameFixes" dialog. -"Disable Underflow Checks" no longer controls DaZ, since the "Advanced" dialog handles that.
if you guys don't know what to do in the Advanced dialog, just leave it at the defaults (its called advanced for a reason :p)
Note: if you use Patches to change the roundmode, it will override the roundmode set in the Advanced dialog.

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@88 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes dae102b8a3 i accidentally deleted this line; thanks intellq!
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@87 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes 3b7414d9a2 some roundmode fixes
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@86 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes e78cf6c9b6 reverted some stuff for now, this should fix what r79 broke. plz comment if it doesn't fix the problems.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@85 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes a490bdb7cf optimized vumicro a bit.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@84 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes 38d3773aa7 minor update to the game fixes dialog
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@83 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
ramapcsx2 77381da985 New "GameFixes" dialogue. Its intended to remove the need for patches. This is my first dialogue, so please bear with me, k? :p
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@82 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
ramapcsx2 1e363e9b33 vufloat2 is slower then vufloat. Since both do the same this here helps speed ;)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@81 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
ramapcsx2 787513a327 A few optimizations to ivumicro stuff
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@80 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes f1ac20f12a modified the Check Overflow speedhacks. now we have "disable VU Overflow checks" and "disable FPU Overflow checks".
they both do the same thing, but one is for the VU recs, and the other is for the FPU recs.
heres how they work:
when Unchecked, pcsx2 performs overflow checks normally.
when Checked, pcsx2 doesn't perform overflow checks, and thus gains a speed boost.
when Greyed, pcsx2 performs additional checks which helps stop SPS (spikey polygon syndrome; i.e. messed up polygons on screen)

Note: FPU recs need some work, they're not setting correct flags. I'll probably implement this by the end of the week. Hopefully it will fix some games that use those flags.

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@79 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:21 +02:00
cottonvibes 48fffbba41 minor change, shouldn't affect anything.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@78 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes c278f5385f my mistake; this should really fix it :p
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@77 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes 17ffea9814 this should fix the roundmode patches crash introduced in r75... hopefully :p
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@76 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes 31fc6fd4bf fixed a bug when using the "roundmode hacks" by patch files.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@75 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes 3bd19c5c7b modified the Denormals speed hack; now its "disable underflow checks". -leaving it unchecked makes PCSX2 handle underflow like the real PS2 does. -checking it disables underflow checks and is a bit faster. -making it "grey" sets the DaZ flag, which is what causes the big speedup for intel CPU's.
the funny thing is that leaving it checked (black) sometimes fixes games (fixes minor graphic corruption in Initial D: Special Stage)
so try experimenting with it on/off/greyed to see if it fixes graphics for your game.

also, you no longer have to restart PCSX2 for the DaZ hack to work :p

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@74 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes 90a9260c26 changing this back, since it wasn't what caused GTA:VCS to break.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@73 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes 22a2acba33 okay GT4 should work fine now (for real :p) there was a bug in my RSQRT opcode that messed up the game, i just reverted it for now.
anyways, remember you need to check the Extra Overflow + FPU Clamp Hacks to run GT4

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@72 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes d18a21ad37 okay changed what the GT4 speedhack does. use the Check Extra Overflow + FPU Clamp Hack when running GT4!
i might be able to fix the code to not need the hack in the future; but its going to take some major changes :p

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@71 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes 49459b16bd forgot to revert this.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@70 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes 8ba4bdbec3 this might fix a GTA:VCS crash
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@69 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes 1b3e2f6f04 reverted some minor changes;
note: SVN r4 is what breaks 64bit Linux builds, not entirely sure what the main problem is.
when reverting some files in the x86 folder, games semi-work on x64 linux, but then crash at one point.
they also crash on x86 windows when reverting those files, so this needs some debugging.

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@68 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes 88ba4e0b4a fpu's RSQRT now has pre-opcode clamping if you enable Extra Overflow Speedhack; and fixed some stuff for linux GCC compiler, thanks Shanoah!
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@67 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes 12d63f137a Rockstar games shouldn't have SPS anymore; also added 2 game-specific hacks, one for God of War, and one for Grand Turismo 4 the God of War hack brings back the SPS in the Rockstar games; so only turn it on for God of War.
hopefully we won't need these hacks in the future, once stuff is handled properly :p

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@66 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
ramapcsx2 09bb4dd533 Changed small logging code to something a little nicer :p
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@65 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
ramapcsx2 79bdfb72f8 -Added some checks to logs in various files so it can now be disabled in release to public builds. -Disabled logging per default in those.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@64 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
ramapcsx2 851f176c8e Changed the "align" parameter from 0 to 1, since the docs say it has to be aligned.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@63 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes 10b54e80a9 changed another opcode that might've had an allocation conflict...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@62 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes d4d0450145 fixed the mgs3 missing texture bug! i think Dawn of Mana's minor-texture problems are gone now as well :) i'm still not entirely sure why the old code didn't work, most-likely conflicting reg-allocations... i might have to check some more opcodes in case they also have the allocation problems :x
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@61 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes 32f6acdc8b minor change
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@60 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes fc82da1f14 reverted and changed some stuff that was causing compiling problems for linux; thanks again to Shanoah
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@59 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes eba88009df fixed some syntax errors that were causing Linux compiling problems; thanks shanoah! i think theres still some more syntax bugs though...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@58 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes 8f61f59eba minor change, commented out some SysPrintf()'s on some VU Opcodes.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@57 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes b6e7ff33fd optimization for the clamping methods in the FPU recs. ClampValues2() was using a hack to make infinities always become positive; the new code doesn't do this since the real ps2 doesn't do it.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@56 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes d307bd6275 minor fixes
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@55 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
ramapcsx2 8e9c52a688 some odd code on ir5900-32, and small cleanup
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@54 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
ramapcsx2 6e6026e71e Whops, this wasn't supposed to be on the svn :p
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@53 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
ramapcsx2 a4bbf35e6e Added an optional "Enable / Disable timestretching" plugin interface. If used correctly on a SPU2 plugin, helps to improve audio quality. (At fullspeed the game shouldn't require timestretching)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@52 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes f70e12c662 dawn of mana didn't like the clip optimization for some reason :x
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@51 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes e7c805635b fixed a problem with VU CLIP, and optimized it a bit as well.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@50 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
ramapcsx2 1407170be7 Oh well, the new cdvd timing code breaks Shadow Hearts videos ><
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@49 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes 974730dd08 fixed a typo
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@48 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes 3ba98392b3 flush to zero will now only be enabled with the Denormals speed hack
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@47 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes 923ea25f0e fixed some extra-overflow checks
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@46 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes 35e2a241dc used vuFloat2() instead of vuFloat() where i could; should get a speed boost
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@45 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes 8dc6a97e58 optimized vuFloat() a little bit...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@44 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00
cottonvibes 81c4d1d095 a few changes, some stuff is more optimized.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@43 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:20 +02:00