Commit Graph

1619 Commits

Author SHA1 Message Date
refraction d4d4d78c39 Fix for Eternal Poison video (really this time :P)
There is a current issue with IPU causing videos to cut short, going to need to spend some time checking this

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2863 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-16 01:27:03 +00:00
refraction 6382f6811b - Improved Path3 Masking, Should fix Sega Superstars Tennis and hopefully improve Star Wars Episode 3 some.
- Fixed bug in the GIF_Tag decoding which caused huge QWC values on GIF if the FIFO was "read" beforehand.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2862 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-15 22:26:39 +00:00
gigaherz a79f87439f Fix the resources' build steps not being run (thanks ltc.inv).
sorta-hack-fix zzogl into linking with libjpeg7 and zlib (having the projects as dependencies is supposed to link to the .libs automatically, isn't it?).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2859 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-15 21:19:51 +00:00
refraction 0d1d4d97f2 Further fixes for arc the lad, ar tonelico, eternal poison. (I presume so, i ran out of blockdump, thats good, right? :P)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2858 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-15 12:17:57 +00:00
refraction 887a05fa4d Missed hwwrite.cpp in my last commit, whoops ;p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2857 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-15 10:50:40 +00:00
refraction 40bdbf9748 Fixes for r2853.
- BIOS works again, Issue involving GIF Tag looping from the VU (which must have never worked!)
- Fixed KH freeze issue, possibly fixes Onimusha 2 as well. Thx Arcum for spotting it, thanks Rama for trying to bring fast resolution to the issue (however it wasnt quite right)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2856 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-15 10:48:44 +00:00
ramapcsx2 e0bbb8f59d Fix typo that broke a few games in r2853. Thanks for spotting it, arcum :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2855 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-15 10:14:42 +00:00
arcum42 43530ff703 vif.h -> Vif.h.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2854 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-15 03:18:23 +00:00
refraction b1954edc3d - Better implementation of Reverse FIFO (Fatal Frame QWC Warning and more!)
- Improved handling of suspended DMA's, Also some traps in case DMA values are changed during suspend (please report if they don't start with 5 or 6)
- Better handling of GS Path priorities, this improves many Path3 Masked games such as Star Wars Episode 3, Gran Turismo 4 (slightly) and Videos like Digital Devil Saga/FFX
- Removed Voodoo Cycles
- Doesn't kill everything this time :P

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2853 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-15 00:32:58 +00:00
gigaherz b622a3c9a3 Okay this HAS to be the last missing .props ... there's absolutely no more .props files that aren't in the svn now >_<
Add some stuff to the ignore lists for svn.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2850 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-14 20:56:24 +00:00
gigaherz 4917361197 Some more missing .props, sneaky bastards. (when you select a bunch of files in search results and use svn > add, it ONLY ADDS A FEW! the rest remain ignored, silently)
Some more wxCore fixes.
Fixed also inter-project dependency warnings.
Also some other fixed to get devel/release compiling.
Oh and apparently my VCproject folder got messed up and detached itself from svn, so it wasn't commiting with the rest...


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2849 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-14 20:46:24 +00:00
ramapcsx2 22c9bddde0 Fix for last commit :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2842 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-13 13:35:02 +00:00
Jake.Stine c1cc812a7b This should force the GS frame focus properly when doing a system execute.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2841 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-13 13:27:34 +00:00
ramapcsx2 a1706ed9f4 Tweaking the GS frame a bit, and reverse the meaning of that SPU2-X timestretch enable boolean. Hate double negations! :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2840 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-13 11:07:18 +00:00
ramapcsx2 1361a872fd Small change to savestates when IPU is busy.
Dunno what this random IPU work/interrupt was supposed to fix.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2832 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-11 04:14:31 +00:00
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
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
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
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 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
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
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
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 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
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
refraction b4b61faa70 Fixed a couple of issues with GIF stalls, also quite a nasty bug which could have completely screwed Normal GIF transfers
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2769 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-26 01:35:17 +00:00
sudonim1 d4bc1a6275 R5900: track the program counter correctly for exception handling and debugging on instructions in delay slots and set the BD bit of the Cause register appropriately.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2768 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-26 01:08:15 +00:00
sudonim1 5a6a1d5a01 R5900: Flush complete machine state before all loads and stores, primarily because they can raise exceptions. This is slower, but not significantly in any game tested provided that the two recommended speedhacks are enabled, and it allows us to make another optimisation later that should more than make up for the small drop. We have an alternative implementation in mind should it prove too costly in any game even with both recommended speedhacks enabled.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2767 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-26 00:33:41 +00:00
refraction 928816732b -Fixed a small bug in the unpack dynarec causing it to drop back to the interpreter (MGS3 - now about 10fps faster!)
-Rewrote VIF0 DMA to work like VIF1, report any breakage from it.
-Tweaked a couple of cycle bits when stalling VIF

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2766 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-26 00:06:29 +00:00
refraction c697f6e6da Fixed for Looney Tunes menu. Commented some Forcebreak stuff for future reference, removed offending code from Vif0 till i can be bothered to rewrite the DMA to be like Vif1.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2760 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-21 00:34:54 +00:00
refraction a0398f0b30 Small nasty loop my recent changes got me in to, fixed now :P
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2746 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-19 02:36:14 +00:00
refraction c475b36daa Updated cotton's MARK test, the last one completely killed Max Payne, explained why in the file.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2743 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-19 01:30:35 +00:00
refraction 46c39081c7 Fix for some freaky corruption caused by more than 1 GS transfer happening at once (mostly PATH 2/3 due to data types) - Example fixed Tekken 5 Devil Mode HUD
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2738 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-19 00:21:46 +00:00
cottonvibes 6212789a96 Vif:
- A small optimization from my r2732 fix.
- Enabled some code for some questionable vifcode MARK behavior. Prints to console if the case happens since unsure if its correct.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2736 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-18 23:17:42 +00:00
refraction ef20c1a93f Implemented freaky VIF Unpack operation for V2 and V3 unpacks, games such as Lemmings and And1 Streetball require this to be determinate! Tested on the PS2 and it certainly is determinate.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2735 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-18 22:15:58 +00:00
cottonvibes c53ecee572 Fixed a bug in the newVif unpack dynarec with filling writes...
(was some optimization i had, but only was working correctly for skipping writes...)

Fixes half-life...

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2732 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-18 04:52:57 +00:00
ramapcsx2 5087099871 Default VSync to off, change default Turbo to 200% and Slowmo to 50%.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2721 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-16 09:53:17 +00:00
cottonvibes 236d40b2e1 Minor change...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2720 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-16 03:02:41 +00:00
gigaherz 80fa74532a Removed idct_mmx.obj from the svn and updated the project to reflect the change.
The file was only available as a compiled .obj, with no sourcecode, and wasn't used in any platform or configuration, so me & pseudonym decided it was best not to even have it.
Left a comment in the idct.cpp file explaining it.



git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2719 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-16 02:53:56 +00:00
sudonim1 3657bebe9e Fixed trap instructions by using the old implementation for now.
Added INT and INTO to the emitter.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2716 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-15 14:15:40 +00:00
refraction 95af4c133e Fixed small VIF Stalling bug which caused Max Payne to crash
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2711 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-14 01:11:08 +00:00
refraction 30c0b0f923 Only a small commit i know, but highly frustrating for Tekken Tag players (slows it down a bit). Im back! sort of, just getting familiar with the code again :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2710 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-14 00:55:36 +00:00