Commit Graph

2220 Commits

Author SHA1 Message Date
cottonvibes 05ce8afd6a Comment by ramapcsx2:
In ExecuteBlockJIT(), set the running time lower for a big speedup in Ratchet and Clank :p


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2650 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-27 01:21:29 +00:00
ramapcsx2 5da01c90b9 GSdx:
- Some corrections to dx9 hw mode, by Feal87.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2649 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-26 19:24:01 +00:00
ramapcsx2 ef313a579d GSdx:
- Scene menu and pause screen transitions in FFX, FFX-2 and Grandia3 get invalidated (fixed) again.
No idea why Gabest ever turned that fix off. Coded by Feal87.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2648 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-26 17:03:58 +00:00
ramapcsx2 a9578e53dc GSdx:
- Feal87 found and fixed a problem with shadows in Silent Hill Origins. Might help other games as well.
- Bit better fix for GoW's "wall of fog" problem. Patch originally from ZeroGravity.

Thanks guys :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2647 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-26 14:38:13 +00:00
arcum42 e6bb0125ec spu2-x: In Linux, add a Debug dialog. Add frames to the other dialogs.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2646 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-26 11:48:15 +00:00
arcum42 8fef9fc0c3 spu2-x: Start working on the debug settings a bit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2645 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-26 09:07:26 +00:00
arcum42 d3311db6df spu2-x: Advanced dialog box implemented in Linux.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2644 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-26 07:39:08 +00:00
arcum42 1b21deafcd Add VUmicro.cpp to the Linux build systems.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2643 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-26 07:04:17 +00:00
cottonvibes 340eb72bcd Enabled some code that lets VU0 run more in sync with the EE.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2642 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-26 06:49:49 +00:00
arcum42 7a254b5308 spu2-x: It'd help if we actually check the value of OutputModules.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2641 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-26 06:04:16 +00:00
arcum42 59459a5df5 spu2-x: Implement most of the configuration dialog in Linux (minus logging and advanced).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2640 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-26 05:45:52 +00:00
cottonvibes 3308fa513f Minor VU changes... (get interpreter and sVU0 to be able to break execution after X cycles, instead of by hardcoded cycles...)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2639 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-26 03:52:53 +00:00
sudonim1 ea766db4ce I guess I should've tried this from the beginning. Actually, I did, but it wasn't quite the same code and rama benchmarked it instead of me. Other optimisations are irrelevant, speed is now within measuring error of r2634, I feel like an idiot.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2638 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-25 07:32:55 +00:00
sudonim1 a564d4bbae Runaway voices should be faster with this. My previous ideas for optimising this were based on the principles that there's no way a game could rely on this feature other than requiring interrupts to fire when the muted voice hits the interrupt address. Well... Fatal Frame 2 proved me wrong. SPU2 interrupts aren't even enabled. I have no idea what it's doing.
Rougher granularity than this probably doesn't break anything, this is the finest that should have observable effects.

Not running voices when they're in a special sentinel block may also help games... but not Fatal Frame 2.  It resets the loop register constantly.  I really have no idea what it's playing at and it's driving me crazy.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2637 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-25 07:04:28 +00:00
ramapcsx2 155c96c0aa SPU2-X:
- Pseudonym made the voice free-run system a bit faster. Also fixes some odd sound skips introduced with the first version of this fix.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2636 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-25 05:32:51 +00:00
ramapcsx2 b13e917eb2 SPU2-X:
- Continue voice processing even if the voice is off, as per SPU2 specs.
This fixes Fatal Frame 2 (and likely 3 as well). A really long standing bug we had :) 

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2635 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-25 01:18:27 +00:00
ramapcsx2 f298f3dd33 Fix "Mademan", which triggers an Assert in it's code on bootup.
Handling this via our exception handler crashed the game.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2634 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-24 21:58:49 +00:00
arcum42 343ccfd3c4 Remove iCOP2 from the Linux build files.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2633 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-24 13:04:27 +00:00
cottonvibes fc6bfb58f1 microVU: minor changes...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2632 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-24 07:35:44 +00:00
cottonvibes 3afa45d34b Delete sVU macro mode code (was obsolete and got broken somewhere along the way...)
Some more vu changes (no functional changes yet)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2631 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-24 07:20:33 +00:00
arcum42 f86876f9fe Spu2-x: Hack in some ini file support for Linux.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2630 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-23 13:45:36 +00:00
ramapcsx2 f8e9c20664 SIF does status communication as well, which we detected as null transfers.
Not interrupting on that seems to be bad for a couple games.
This commit should fix Persona3 again. 
(The Eternal Poison problem is something else, will have to look at it more.)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2629 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-23 13:42:58 +00:00
cottonvibes 227a651c17 VU interpreters/recompilers: Started working on a way where we can run the VU's based on how much time has actually passed, instead of constant fixed cycles.
Currently still using the fixed-cycle method... so should behave the same as before.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2628 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-23 09:22:40 +00:00
cottonvibes 50a93750e7 microVU: Finally added proper pipeline state saving/resuming on early exits. Might fix some picky vu0 games...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2627 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-23 04:59:28 +00:00
cottonvibes 8e18083dbf microVU: removed some macros making the code more readable...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2626 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-23 03:02:20 +00:00
ramapcsx2 52327bf37f Adjust last commit a bit, and made sVU do the same thing.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2625 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-23 02:18:12 +00:00
ramapcsx2 1e4895d3cb Increasing mVU0 maximum running time. Fixes most SPS in Silver Surfer.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2624 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-23 00:35:29 +00:00
arcum42 763c8037a3 Update Linux project files.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2623 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-22 12:33:27 +00:00
cottonvibes c144913ede Vif:
- Deleted old vif transfer code.
- Deleted Vif_Commands.cpp
- Added Vif_Transfer.cpp


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2622 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-22 02:04:55 +00:00
ramapcsx2 a7507d6e4a Mimic old GSdx behavior (skipping all depth textures with a skip value of 1), to avoid floods of bug reports that games are broken, when the user hasn't found the skiphack yet. (God of War, sigh..)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2621 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-21 19:50:21 +00:00
ramapcsx2 5dba50645b SPU2-X:
- Added a configurable reverb volume boost, sounds nice in some games :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2620 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-21 17:44:48 +00:00
ramapcsx2 1b00ce0803 GSdx:
- Fixed the resource issue I had, so the new options are now also available in the old config dialog.
- Added some code that hides the hack options completely when they're disabled. By Bositman :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2619 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-21 12:56:25 +00:00
arcum42 df39878a9e Spu2-X: And we have sound in Linux! (Uses PortAudio; Absolutely no configuration right now. Not even in an ini file.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2618 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-21 08:33:49 +00:00
arcum42 5a564ab7b6 Clean up the last commit a bit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2617 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-21 08:18:25 +00:00
arcum42 dcb76739c8 Hack at spu2-x until it compiles in Linux, and is usable as a null plugin. (No, no sound yet, or configuration dialogs. It's a step in the right direction, though.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2616 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-21 08:04:45 +00:00
ramapcsx2 d36fca730b Committing an IPU fix by ksi3zyc.
This takes care of an IPU hang in Suikoden5! Oh, and God of War. :p

Thanks for this one, ksi3zyc!

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2615 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-20 20:32:30 +00:00
arcum42 b98e4b9b12 Add an enable game fixes checkbox that behaves the same as the enable speed hacks checkbox, for ui consistancy. (Defaults to off, so if you are currently using game fixes, you'll need to go in and check it.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2614 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-20 10:45:49 +00:00
arcum42 b6b6a1d881 Filenames are case sensitive in Linux.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2613 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-20 04:30:42 +00:00
cottonvibes 19b65d52c1 Set vif0 to use the new vif transfer code...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2612 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-20 04:23:28 +00:00
ramapcsx2 c509869535 GSdx:
- Disabling the "pitch conversion" again. Don't ask. :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2611 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-20 02:50:58 +00:00
cottonvibes 2b4bb88526 Fixed a bug in my vif transfer rewrite that was causing problems in gt4, so re-enabling the code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2610 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-20 02:05:00 +00:00
ramapcsx2 eff9506cd8 GSdx:
- Hide the hacks from users, unless "allowHacks" is written to the GSdx.ini first.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2609 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-19 22:01:28 +00:00
ramapcsx2 ef8fe6639e GSdx:
- Found out that the blur detection filter was busted for some time now.
It worked by chance, due to the pixel crop hack.
Disabled that hack now and made PCSX2's GS frame handle that functionality instead.
This is a somewhat nicer method, although users of 4:3 and 16:9 aspect ratios might get flickering pixels on the borders again.
I'll see if I can think of something for those cases, should there be demand for it.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2608 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-19 19:05:35 +00:00
ramapcsx2 f874d0d1a3 GSdx:
- Added multi sample anti aliasing options to the gui. Remember those aren't tested much, and we have reports of memory leaking with it enabled. Those could be outdated by now though.
- Removed the "enable output merger blur effect option", since I can't imagine anyone wanting to enable it anyway. :p
- Cropped one more pixel on the final output image, should fix some issues with msaa enabled.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2607 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-19 15:45:23 +00:00
ramapcsx2 e50fb6ec9f GSdx:
- Finally made some user hacks available in the configuration dialog.
There are no warnings yet, and I don't like the placement either, but that'll have to wait.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2606 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-19 10:37:31 +00:00
cottonvibes b6d0e4968f disabled my last commit's code for now since i'm not going to have time to fix the bugs for a while...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2605 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-18 22:53:04 +00:00
arcum42 e17bf47470 Fix up last commit for Linux.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2604 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-18 10:07:15 +00:00
cottonvibes d379a1b010 Vif1: Rewrote a lot of stuff, lets see if this fixes or breaks anything.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2603 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-18 08:37:02 +00:00
ramapcsx2 42cb1c4bb1 SPU2-X:
- Ok, that interrupt commit in r2600 was silly. The "special register write" is a simple set audio to max volume. We don't interrupt those :p
NEW IOP DMAC:
- Make the adma interrupts happen early, as in the previous commit for old dmac.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2602 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-17 22:37:13 +00:00
ramapcsx2 f6119e02f0 SPU2-X:
- Don't delay the adma irq callbacks, call them directly.
Should finally fix all those sound dropouts that only happened with this plugin :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2601 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-17 21:12:02 +00:00