Commit Graph

4633 Commits

Author SHA1 Message Date
refraction e9e9a2c273 Seems my last commit change didnt quite do what i expected and broke FFXII. Reverted it.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@539 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-20 00:31:29 +00:00
Jake.Stine 243e4fba9f Added several important variables to the VIFdma savestate, relating to it's SSE unpacker; which should make the gifdone savestate hack obsolete (it broke savestates for most FMVs and some games). Seeing how important the unpacker tables are, it's a miracle VIFdma ever recovered from a savestate without them ;)
Fixed a bug in the memorycard hotswapper.  It wasn't reloading the cards correctly after changes.

Improved the new INTC hack slightly, and changed its description since it's not quite as universally awesome as Pseudonym and I had hoped when we worked on it last night. -_-

Added __fastcall and __forceinline to some of the VIF's unpack functions, where appropriate (very small speedup).

Removed some code I added to the MULT/DIV instructions, since it wasn't needed afterall, and fixed some typos in vtlb's API.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@538 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-19 22:48:05 +00:00
refraction 23336fe987 Fixed a small bug in FCOR under the VUrecs, also put a hack in there for ICO to cure the SPS, this can be selected in the gamefixes dialog.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@537 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-19 22:17:58 +00:00
ramapcsx2 68aaf91b5d Tmkk managed to fix a huge hack in the superVU delay slot handling.
This new code properly handles these situations now, removing the need 
for the magna carta gamefix, and also fixing problems in dragon quest 8(jp).
Thanks again, tmkk :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@536 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-19 15:56:07 +00:00
gabest11 4907dbda42 GSdx: upgraded the ps1 renderer to use runtime generated code, too.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@535 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-19 13:13:20 +00:00
Jake.Stine 29ea3c8ebc Moved an MTGS log to help troubleshoot some kind of rare system hard-crash problem in MTGS, and removed an errant playground reference. :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@534 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-19 10:50:18 +00:00
Jake.Stine 3532ebada0 Added Nneeve's fix for recMADDU (it was using the IMUL instruction which would have produced potentially incorrect results in rare cases).
Cleaned up some of the signed/unsigned ambiguity surrounding MULT/MULTU instructions.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@533 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-19 09:59:02 +00:00
Jake.Stine 4bd685485d New Speed Hack! And a good one! This is an idea I had a while back, as implemented by Pseudonym, and is intended as an eventual replacement for all EE speed hacks (x2, x3, etc). Expect huge speedups in most games way beyond even X3, and it shouldn't break FMVs or cause graphical artifacts either like the old hacks do.
Memorycard Fixups:
 * Replaced the old disfunctional memcard manager with a neat and practical one, with options!
 * Improved memcard hotswapping support.
 * Added memcard CRC checks to savestates, so that memory cards are only ejected when needed (should fix Guitar Hero problems from Issue 32)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@532 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-19 09:51:21 +00:00
cottonvibes 443ef97f1f fpu interpreter bugfix thanks to nneeve.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@531 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-18 20:21:44 +00:00
Jake.Stine 2a389da932 Counters fix from tmkk -- a rarely used gate mode of the EE counters was being handled incorrectly.
Added FreezeMMXRegs to SPU2async in IopDma, which is callable directly from the recompilers.

SPU2-X: Fixed another reverb bug, this one put too much reverb on voices and sndfx.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@530 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-18 18:05:58 +00:00
Jake.Stine dc306bf64c SPU2-X: more fixes to reverb. Digital Devil Saga sounds a lot nicer now. Updated savestate revision so that loading states from before my latest cleanup/optimization won't crash.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@529 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-18 16:47:06 +00:00
ramapcsx2 460a2b4edf Small change - removed 2 console logs from release builds
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@528 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-18 16:11:30 +00:00
Jake.Stine d97cde6583 SPU2-X: Some bugfixes to reverb that were introduced in my last commit. Still some minor problems in this build. I'll fix them soon.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@527 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-18 14:20:06 +00:00
ramapcsx2 058ec7db30 A few fixes for MMI stuff by tmkk, and disabled a logging printf in release builds.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@526 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-18 14:03:35 +00:00
Jake.Stine 0ca2f4d2be SPU-X: Major code cleanups across the board, and optimizations to the reverb effects generator (possibly buggy yet)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@525 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-18 13:36:20 +00:00
ramapcsx2 bee40a2948 Re-enabled the superVU optimization (It had problems with FFX on non SSE4 cpus, likely a bug in AssignVFRegs).
To make up for the speed loss in Tekken5 and Persona4 the vu cache size is now bigger.
This means another 10% more speed for Tekken, and a whooping 30% for Persona :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@524 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-18 13:35:55 +00:00
arcum42 ec3a17d9cc A few minor changes to the Linux port, and a minor ZeroGS bugfix.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@523 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-18 12:51:36 +00:00
ramapcsx2 33d5c66ac7 Lots of work from tmkk. This update adds recompiling for several MMI opcodes, fixes bugs and adds SSSE3 detection.
Thanks again, tmkk! :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@522 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-17 23:29:47 +00:00
ramapcsx2 af89808f8f Disabled a superVU optimization that slowed down VU intense games lots.
Big speedup for Persona4 and Tekken5 :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@521 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-17 23:20:10 +00:00
mattmenke 77d57a78c7 VC 2008 release build no longer depends on ntdll.lib. VC 2005 still uses it to shrink dll size, as it comes with VC 2005 Pro. "GS Thread updates" disabled and grayed out for PSX emulators.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@520 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-17 22:45:29 +00:00
ramapcsx2 26f33da0b6 - Disabled all broken memory card manager options
- Set DaZ to on for the VUs as default

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@519 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-17 18:45:45 +00:00
Jake.Stine 5219075e3c SPU2-X: Savestates work now. :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@518 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-17 12:05:23 +00:00
Jake.Stine 09bb31aaa4 Missed an important bit of last night's build script update. >_<
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@517 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-17 10:52:18 +00:00
mattmenke d01a6ba874 Left axis bug with last commit fixed.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@516 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-17 05:02:26 +00:00
mattmenke 87a230f550 Fixed a pair of bugs with flipped controls and sensitivity > 1. "Ignore keyboard" removed from device list. Removed some unnecessary mouse capture code for mouse raw input. Renamed some options to be more user friendly.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@515 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-17 04:54:46 +00:00
Jake.Stine 68ceb3b8fb Fixed a bug that caused MTGS to throw "pure virtual function called" errors on rare occasions, and cause crashes in Linux. (Issue 31)
Improved the Win32 build scripts to solve some end case scenarios on some systems/configs, where they would fail due to missing path separators.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@514 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-17 01:38:02 +00:00
Jake.Stine 965c8e4b48 SPU2-X: Better ADSR fix this time, by fixing some bad math on my part during the ADSR Decay stage.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@513 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-17 00:15:31 +00:00
Jake.Stine 18566548f6 SPU2-X: Switched over to what appears to be a much better ADSR table (we'll be testing it to see what impact it has across all games).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@512 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-16 22:14:17 +00:00
Jake.Stine 54baa99158 SPU2-X: Fixed a screwup from the previous commit. A bit of code cleanup got lost in translation. ;)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@511 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-16 20:30:54 +00:00
Jake.Stine 24ed5ac12e SPU2-X: Forgot a file (again).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@510 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-16 20:03:19 +00:00
Jake.Stine 340db13caa SPU2-X: Added a lowpass filter to the reverb output, which should produce more correct audio (still experimental). Plus many code cleanups.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@509 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-16 20:00:31 +00:00
Jake.Stine d5b0ff7fa3 xpad: gah, forgot to add in the build scripts. >_<
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@508 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-16 16:18:44 +00:00
Jake.Stine b63edf85f4 xpad: fixed dependency on obsolete /common folder. :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@507 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-16 16:15:41 +00:00
Jake.Stine e34173b07a ZeroGS/OpenGL: Moved zlib to 3rdparty folder.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@506 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-16 16:15:08 +00:00
Jake.Stine a1ff955426 Removing linux-specific svn property. Will replace it with a hard copy in the next commit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@505 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-16 16:12:21 +00:00
Jake.Stine c76133f88a GSdx: Added a GSdx_vs2008.sln file in /plugins (convenience item), and fixed the prebuild command to drop svnrev.h into the right location (oops).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@504 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-16 13:42:48 +00:00
Jake.Stine 84099c097f Added GSdx to the pcsx2_suite_2008.sln. It defaults to SSE2, you'll have to manually configure the build targets to use SSSE3 or SSE4 (hopefully we'll find a better solution to that in the near future).
Upgraded GSdx's use of svnrev to match other plugins in the pcsx2 repository; so that it no longer requires TortoiseSVN, and will also compile correctly from folders with spaces (ala '/program files/username/my documents/projects').

Removed the /3rdparty and /common folders since they aren't used anymore, and it was potentially confusing or misleading to leave them in since they were out-of-date (they were once referenced by svn:externals, and we opted out of using those here due to slowness).

SPU2-X: Fixed a minor overflow in the reverb that would cause infrequent crackles in a select few games.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@503 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-16 04:32:03 +00:00
Jake.Stine fe6f45e45e Updated the Copyright to reflect the passing of another year. :)
Updated the pcsx2_suite_2008.sln; changed SPU2ghz to SPU2-X.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@502 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-15 23:23:46 +00:00
Jake.Stine 2f62f2273b SPU2-X: Couple more quick fixes to the config dialog box.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@501 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-15 12:55:32 +00:00
Jake.Stine 11abea2d5a Pcsx2 now correctly sends CRC info to the GS plugin when using Run->Execute to boot games through the BIOS. And, Omg! The X button in the about box was broken! Thank goodness I fixed it before someone got hurt! ;)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@500 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-15 12:31:49 +00:00
Jake.Stine c0407f42d7 SPU2-X: Cixed a tyop-ish error in the code that caused reverb static and crackling.
Fixed savestates so that they don't return an error anymore.
Fixed some bugs in the config box.  Some checkboxes weren't being saved and stuff.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@499 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-15 11:03:31 +00:00
cottonvibes c7deaad3c6 coded the microVU opcode tables, this took me all-day to get right lol xD
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@498 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-15 09:10:24 +00:00
Jake.Stine 042e904a65 SPU2-X: Introducing the new SPU2-X! After some talk with Gigaherz, It was decided to branch and rename Playground's mod of SPU2ghz to SPU2-X. This commit isn't just a copy. It includes a series of significant revisions. The most notable features are:
* Working Reverb.  Yes, you heard right.  Fully and completely implemented reverb effects!
* Automatic 5.1 speaker expansion.
* Some more bugfixes to volumes.
* All new configuration panels.
* Improved/Bugfixed XAudio2 drivers.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@497 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-15 05:15:39 +00:00
gabest11 d14d09cab3 xpad: compatible with pcsx
GSdx: minor optimizations, +crcs

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@496 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-15 02:27:51 +00:00
arcum42 c987d23b9f ZeroGS: Commit Zeydlitz's bug fix from Issue 11, which seems to resolve most problems with double images when antialiasing is on in the OpenGL version of ZeroGS.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@495 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-14 23:47:09 +00:00
refraction fe183b91bf Whoops, overdid that a bit (thanks for pointing it out Bositman :P)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@494 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-14 17:08:32 +00:00
refraction c4cc49cda6 Fixed an issue which caused savestates (or escaping) to freeze up the emu if MFIFO was in use
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@493 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-14 16:47:31 +00:00
arcum42 a8ea2caabf ZeroGS: fix up the dev build so it works, fix a typo in configure.ac that could cause compilation issues, and bring in a fix of zedr0n's for newer Cg versions when in dev mode.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@492 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-14 13:48:02 +00:00
arcum42 a8706a94ce Linux: Moved the new memcard work to separate files, and enabled it, as it seems to be about as safe as switching memcards in the Windows port. Cleaned up Linux.h a bit, and started a bit of work on the debugger.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@491 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-14 10:28:25 +00:00
refraction 2cc719d5b0 Slight modification to the MFIFO's to prevent potential situations which could cause bad data to be copied.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@490 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-13 23:57:39 +00:00