Commit Graph

2545 Commits

Author SHA1 Message Date
ramapcsx2 bd8cdfd802 Fixed the GoW IPU hang again.
Thanks for helping out once more, ksi3zyc :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2830 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-11 00:05:28 +00:00
refraction 223617a99e IPU: Fix for Xenosaga 1 videos. Apparently the DMA chain modes can be manipulated on suspend!
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2829 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-10 22:56:44 +00:00
ramapcsx2 04eb79093d Revision 2822 contains a bug somewhere that we need to figure out.
So this reverts all VIF and GIF related code of that revision, 
leaving only the changes that were made to IPU.

Compatibility should be fixed again, with the added bonus of lots more videos working. 

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2828 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-09 15:15:43 +00:00
arcum42 3546591de5 zzogl: Rework things in Mem.cpp & Mem_Transfer.h some more.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2827 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-09 04:23:27 +00:00
cottonvibes f5cc2cf97d microVU:
- Added a macro option to turn off all of mVU's flag optimizations for debugging purposes.
- Minor fix for program logging (was indexing starting at -1 instead of 0)
- Commented in detail a lot of the macro options in microVU_Misc.h

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2826 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-09 01:35:51 +00:00
ramapcsx2 a57761c934 Crashfix for ZZogl / ZeroGSogl. Thanks "jur".
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2825 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-08 21:58:14 +00:00
refraction e28aeacf56 revert of small change on VIF (which i thought id already done), should resolve most the libdma timeout issues and other non-fmv freezes that have occurred since r2822
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2824 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-08 17:26:19 +00:00
ramapcsx2 c504e3f118 Quick fix for the IPU issue.
Should allow people to test the important changes in r2822.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2823 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-08 16:45:19 +00:00
refraction 774411e3a4 Pleanty O' Changes:
- IPU 1 DMA rewritten - now much more readable, less hacky. A couple of games are still slightly picky, but overall compatability is similar (if not better in some cases)
- Reverse VIF transfers figured out and implemented (mostly)! - There are still some problems with this, will work on it.
- Improved GS PATH transfer control, now PATH2 and 3 cant transfer when PATH1 is, PATH3 cant when PATH2 is and so on.
- IPU now waits for ended GS transfers, for some reason this was screwing videos (mainly from PATH2) and causing them to be torn, which the original voodoo cycles addition fixed.

Note: You may see a lot of "Double IRQ on DMA 4" messages.  At the moment these are unavoidable but aren't actually causing any issues. I do know about them :P

Feel free to negative is I've seriously broke something lol

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2822 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-08 01:22:30 +00:00
Jake.Stine 8d57ed3eeb LinuzCDVDiso: quick svn:props fixes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2821 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-07 13:08:02 +00:00
arcum42 6b37b43e96 zzogl-pg: Fix an issue I noticed in the new Mem Transfer code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2820 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-07 11:59:03 +00:00
cottonvibes 9c398f3d91 - Turn off USE_HOSTFS by default for now (was crashing all elf files for me allocating 4gb for some reason...)
- Port the flag-fix to Super VU recs.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2819 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-07 00:33:13 +00:00
sudonim1 fa8d5b1d79 microVU: FIX FINAL FANTASY X HAIR!!!111!!!1!! (Enthusiasm at rama's request. Thank him for being noisy enough about this to get it seriously looked at.)
Negative zeroes were being treated as positive for the purpose of setting flags, which the documentation was ambiguous about.  Testing with real hardware confirmed that negative zeroes are still negative.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2818 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-07 00:12:35 +00:00
sudonim1 81c2318fea GSDx: made some nonsense code more obviously nonsense so that it might get fixed some day
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2817 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-06 21:14:15 +00:00
Jake.Stine 6ae7408b8c zzogl-pg: Remove obsolete PS2E*.h files; fix a compilation error in Win32/Debug targets; set a bunch of eol-style:native props.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2816 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-06 02:43:22 +00:00
ramapcsx2 2cba5ebd33 GSdx:
- Disabling all post processing removal hacks for Shadow of the Colossus. Can't see what they fix(ed).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2815 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-05 22:39:16 +00:00
sudonim1 8da2dc7df9 R5900: Replaced 0x81FC0 address check with constant loop detection logic and renamed the hack appropriately. This is what I originally intended back before INTC_STAT and 81FC0 hacks, but it seems to have pretty minimal gains over them. I don't think I've broken anything though, it might help some game and could perhaps be extended to handle more complicated loops later, with inlining or multiple branch logic.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2814 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-05 22:24:25 +00:00
arcum42 ea04f34136 zzogl-pg: Reduce the # of compiler warnings.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2813 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-03 12:48:27 +00:00
arcum42 564f443644 zzogl-pg: Get Windows working again.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2812 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-03 11:17:40 +00:00
arcum42 176c451008 zzogl-pg: Use path->StepReg in the transfer code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2811 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-03 10:53:42 +00:00
arcum42 1254cd22a5 zzogl-pg: Borrowed enough of the old transfer function in the new one to get it to work properly. Needs more testing.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2810 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-03 09:47:20 +00:00
sudonim1 7c817d97e7 Extended "BIFCO" speed hack to the typical IOP idle loop. It was never intended to just be for the EE kernel loop at 0x81fc0 and the name I originally gave the hack reflected this, but the name was changed at some point. Small speed increase in all games.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2809 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-03 02:28:58 +00:00
arcum42 9b6a27bbb9 zzogl-pg: Committing a start of a GifTransfer rewrite so I can go back to it easily. (Unless you like seeing what games look like with missing graphics, I'd leave the define for it disabled for the moment.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2808 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-02 10:23:49 +00:00
arcum42 58bed4713d zzogl-pg: Still working on the tag transfer code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2807 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-02 06:49:30 +00:00
arcum42 a34a783f6d zzogl-pg: Update the c::b project as well...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2806 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-02 05:53:53 +00:00
arcum42 5f032dad64 zzogl-pg: Split off some of GS.h. Keep working on the tranfer code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2805 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-02 05:53:14 +00:00
arcum42 a8841d6e77 zzogl-pg: Work on the transfer code a bit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2804 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-02 02:44:14 +00:00
arcum42 9ea97041fb zzogl-pg: Move WriteCLUT_T32_I4_CSM1_sse2 to inline assembly.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2803 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-01 22:52:59 +00:00
ramapcsx2 c604bf89d3 Changed how IPU1DMA works by making some odd code optionally via gamefix (replacing the outdated DMA exec hack).
This fixes many games with FMV errors / crashes / hangs.
A select few games need that code though, mainly Tri-Ace ones, so for those there is a new gamefix now.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2802 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-01 09:46:56 +00:00
ramapcsx2 9cc5dfa7a3 Disable throwing exceptions on a vtlb miss.
In some rare cases this makes games continue when they'd crash otherwise.
We'll have to see if proper exception handling fixes it in a better way.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2801 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-31 21:36:06 +00:00
arcum42 19536e2864 zzogl-pg: Use the same version of some of the SSE2 WriteClut functions in both Linux and Windows.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2800 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-31 12:27:36 +00:00
arcum42 fe8250967a zzogl-pg: Get rid of some old 64 bit code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2799 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-31 12:17:05 +00:00
arcum42 9cd47bf995 Update code::blocks project with the new version of zlib.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2797 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-30 21:48:47 +00:00
Jake.Stine 05ccea99ce Fix compilation errors in zlib and linuz-cdvdiso (plugin)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2796 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-30 19:22:42 +00:00
ramapcsx2 f2c11e23ad Tweaks to the savestate system that fix some heavy file fragmentation on NTFS in windows (of course :p ), but are also a small speedup.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2795 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-30 18:32:05 +00:00
ramapcsx2 74087b86b0 Updating zlib to the recently released version 1.2.4.
Linux will need the new files added to it's project file thing, sorry about that :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2794 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-30 16:26:44 +00:00
Jake.Stine 03ea6e04d6 zzogl-pg: part two of fixing CreateWindow conflict; should compile in Windows without error now.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2793 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-29 21:15:49 +00:00
Jake.Stine dc95fc1d6c zzogl-pg: compilation error fix, caused by windows.h gratuitous namespace pollution (it's a common problem, CreateWindow being a macro and all)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2792 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-29 20:45:48 +00:00
ramapcsx2 6ffb25cb83 This should be the proper fix for Eternal Poison dieing on reboots.
Bit ugly code though..

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2791 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-29 18:56:40 +00:00
gigaherz 294705aea6 Build on the preivous dsp fix so that it can work with dsp plugins that return partial blocks. It's not tested properly since I don't know of any plugin which does that.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2789 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-28 21:27:53 +00:00
ramapcsx2 db63162c0d SPU2-X:
- Various small changes and a fix by gigaherz for dsp plugins when timestretching is disabled.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2788 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-28 20:48:52 +00:00
arcum42 07045d1f4a zzogl-pg: 8x AA != 16x AA.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2784 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-27 05:40:58 +00:00
arcum42 3cfa865057 zzogl-pg: Rewrote the configuration dialog in Linux. It is now entirely in the source code. (No relying on an obsolete version of Glade to generate the dialog code for us any more.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2783 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-27 04:28:12 +00:00
arcum42 fb5e68d7ee zzogl-pg: Simplify a bit of the option code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2782 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-27 02:21:09 +00:00
arcum42 6712765616 zzogl-pg: Misc things that caught my eye.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2781 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-27 01:01:31 +00:00
sudonim1 1d93365724 CDVD: At least pay attention to the plugin when it says there's no disc present.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2780 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-26 23:37:54 +00:00
sudonim1 6dd23f3c8d SPU2-X: Re-enable resets, the games that were buggy with them enabled now seem to be fixed. This fixes music in Fatal Frame, FMVs in Devil May Cry PAL, and may fix music looping in God of War when run without the BIOS skip hack (or that might work without this change).
SPU2-X: Disable IRQs on reset.  This is a guess, but it fixes the BIOS with resets re-enabled.
SPU2-X: More detailed IRQ logging.
CDVD: Ignore the disc type reported by the plugin, we have our own test and it's working more reliably.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2779 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-26 22:31:34 +00:00
ramapcsx2 b9afcac346 Change the qwc overflow into pad area handling to only include IPU.
This fixes a few games that had their GS or VIF transfer chopped of otherwise.
(Check games with previously missing graphics, or just plain crashes.)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2778 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-26 14:22:04 +00:00
Jake.Stine 6346c8f061 zzogl-pg: remove the localcopy of static libjpeg.lib files in favor of the 3rdparty ones. Fix sln errors.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2777 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-26 12:32:50 +00:00
Jake.Stine 60671384e3 zzogl-pg: made the project conform to PCSX2's VC2008 buildsystem mess; added GL/wglext.h to the repository.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2776 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-26 12:14:49 +00:00