Commit Graph

2307 Commits

Author SHA1 Message Date
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
ramapcsx2 8d7971466d SPU2-X:
- Added an interrupt call on a special register write, which mimics peops spu2 behavior.
This lets Silent Hill Origins get further when booting up.
Note that it's not complete and hackish, need someone with spu2 experience to make it right :p
- Also added various logging stuff

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2600 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-17 17:35:06 +00:00
arcum42 839d5b37f4 Fix back up CMake.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2599 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-17 13:40:45 +00:00
ramapcsx2 2edc495520 Added a check for NOPs in the eerec. Seems like "SLL" and "NOP" share the same opcode table entry :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2598 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-17 09:27:35 +00:00
arcum42 4b4cdf595f Linux compilation fix.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2597 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-15 22:43:31 +00:00
ramapcsx2 50f48c01e6 The "highload" version of ps2link seems to work fine for our purposes.
So this commit enables the new pcsx2hostfs driver :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2596 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-15 19:22:40 +00:00
gigaherz 82739f9b60 Commit for backup/history purposes. Tried to make "Run ELF file" load the elf through pcsx2hostfs_ldr.elf so that elfs would have host: readily available, but it does not appear to work.
The code is disabled by default.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2595 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-15 17:18:13 +00:00
ramapcsx2 9960c24af7 GSdx:
- Added a hack that changes how alpha is handled.
This can be used to fix stuff like too bright blending, bad effect leftovers or "ghost layers".
Enable via ini > UserHacks_AlphaHack = 1

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2594 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-14 15:19:35 +00:00
cottonvibes 16750e9289 Committing some God Of War patches by Prafull that skip certain parts of FMVs allowing you to get past certain hangs in the game, making the game playable afaik.
Note: best to play the game with patches OFF until you reach the FMV's that cause the hangings since most FMV's work fine.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2593 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-13 20:48:33 +00:00
arcum42 3b4ccf8a31 Fix for my last commit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2592 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-13 01:06:10 +00:00
MattMenke@gmail.com 32c7e80634 LilyPad: Yet another minor change to window hook cleanup that probably isn't really needed. "LilyHaxxor" property wasn't always being removed.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2591 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-12 23:28:42 +00:00
MattMenke@gmail.com cd5c262e7f LilyPad: Oops...Forgot to copy two lines. Don't think they're really needed, but can't hurt.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2590 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-12 23:09:27 +00:00
MattMenke@gmail.com 3a725ee6f6 LilyPad: Fix for testing rumble breaking test button. Jake was the one who broke it, not me. Honest. Should fix issue 531.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2589 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-12 23:07:07 +00:00
arcum42 7f46f80015 ZeroSPU2: Various cleanups, refactors, and general mucking about with code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2588 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-12 11:42:29 +00:00