Commit Graph

13005 Commits

Author SHA1 Message Date
Jake.Stine 377830b3a9 IOP Fixes/Optimizations:
* Fixed the IOP's recExecute so that it correctly preserves X86 registers (EDI and EBX were not preserved!)
 * Optimized the recExecute procedure, seems like a nice speedup in FMVs and some games that are IOP intensive.
 * Renamed psxMemRead to iopMemRead, added new Virt/Phys functions, and fixed several instances of DMAs using translated addresses (DMAs are always physical maps).  Our IOP doesn't really emulate the tlb so it won't fix anything, but it's more correct in cas stuff is better supported in the future.
 * Removed unneeded FreezeMMXRegs, since the IOPrec doesn't use any mmx/xmm regs anyway.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@628 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-27 18:12:59 +00:00
Jake.Stine e205999744 Minor Optimization: Added Const support to Vtlb's Load and Store implementations.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@627 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-27 06:40:05 +00:00
arcum42 a5ab9ad28f Linuz CDVD Iso: Fix a major Linux bug that was preventing certain titles from loading in this plugin. Dark Cloud 2, Atelier Iris 3, and Xenosaga I for example. No more switching back and forth between Linuz and EFP. :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@626 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-27 06:27:23 +00:00
arcum42 ed97a291dd Linux: Remove the ICO Gamefix, since refraction took it out on Windows.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@625 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-27 05:26:40 +00:00
arcum42 b528ef29b2 Remove forceinlining on a few functions that won't inline, a few minor tweaks, and add a warning in the build file for Linux x64 people trying to compile.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@624 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-27 04:54:07 +00:00
arcum42 1504b88a75 ZeroSPU2: Change the ini file to be more easily editable by hand in Linux, and assorted cleanup.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@622 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-27 03:30:25 +00:00
arcum42 b7d3c6316a Plugins: Add a check for libjpeg-dev to ZeroGS(Issue 60), and a few minor tweaks.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@620 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-27 01:55:11 +00:00
Jake.Stine 1feb143b2b SPU2-X: Trying a new (experimental) DMA option which may fix problems in DMC1, but might break more than it fixes? (we'll find out!)
Also - Added some options to DSound driver.  Enabling Hardware mode on dsound might improve dsound compat on some soundcard drivers, for those who can't use XA2 or have problems with XA2 stability.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@619 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-27 01:46:01 +00:00
Jake.Stine 5b09d81f36 Fixed a bug in the savestate system that caused memcards to eject when they shouldn't have (had uint instead of u64 >_<).
Developers: Changed the way PCSX2_ALIGNED16 macros work, so that they're more friendly to MSVC and Visual Assist X intellisense (more more red squigglies on vars like cpuRegs!)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@618 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-27 01:43:43 +00:00
arcum42 dd48940319 Linux: Missed a plugin or two. Now it should compile.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@617 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-27 00:24:05 +00:00
arcum42 3a8bfabd2e Linux: Get ZeroSPU2 compiling. May be modified later, because I'm not sure I'm happy about manually copying libSoundTouch.a in build.sh.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@616 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-27 00:07:07 +00:00
arcum42 7111fb2105 ZeroGS: Resolve issue 71.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@615 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-27 00:00:24 +00:00
refraction 7dc9138d04 Fix for my earlier mistake causing green blocks on videos, remind me its never good to alter memory that you arent suppose to alter ^_^
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@612 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-26 11:39:55 +00:00
Jake.Stine edc418d0e4 SPU2-X: Another sync regression fix. My earlier experiments didn't fly, so I reverted the TimeUpdate call in spu2_read also (negative impact on some dma-related things, but fixes lots of other weird stuff).
Changed several instances of afxres.rc in plugins to be afxresmw.rc (for VS Express)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@611 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-26 11:09:04 +00:00
Jake.Stine fe78c668de RC: Reverted SPR "fix" from r506 for now, since it turned many game FMVs into green screens, followed by hard locks. >_<
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@609 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-26 04:05:14 +00:00
refraction b372f359b5 Small fix for a regression i caused in r604 with Ridge Racer V, also fixed a bug in MAXbc on the VUrecs and added an optimization for MINIbc
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@605 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-26 02:13:51 +00:00
refraction 441b70239a Modified the GIF and SPR in my wierd backward dma way :P should resolve problems with the Avatar games, 24 videos and hopefully anything else which has broken due to recent changes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@604 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-25 19:31:26 +00:00
Jake.Stine 8d86297533 Damnit. LWR() is a pita.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@603 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-25 19:29:32 +00:00
Jake.Stine d200ab382d Fixed a foopah in the LWL fix from earlier. >_<
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@602 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-25 18:34:25 +00:00
Jake.Stine 8f0bacec20 Completely botched my last commit. Left the IPU's cleanup only half finished. >_<
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@601 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-25 16:57:34 +00:00
Jake.Stine c46ef87c89 Fixed bugs in LDL/LDR instructions; fixing various TLB Miss errors in assorted games (namely ones that worked in the old VM builds). The instructions were not sign-extending values into the upper 32 bits of the target register. (LDR in particular has odd rules for sign extension)
Some minor cleanups / correctness fixes to the IPU's register Read/Write functions.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@600 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-25 16:51:05 +00:00
krakatos@gmail.com 795152e7e1 More work on patches removals and cleanups
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@599 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-25 15:34:30 +00:00
ramapcsx2 bf31172d07 Ico gamefix not needed anymore.
(It's still there for Linux, I better don't touch that :p )

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@598 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-25 15:07:09 +00:00
arcum42 47bda29d23 Linux: Get most of the plugins to build. ZeroSPU2 is being stubborn...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@597 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-25 12:30:10 +00:00
tmkkmac b50b9df3cf Applied SUPERVU_VIBRANCHDELAY fix to IBGEZ/IBGTZ/IBLEZ/IBLTZ opcodes. ICO SPS will be gone without gamefix now :)
WinGUI: Added SSSE3 detection message into a CPU config dialog.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@596 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-25 09:22:36 +00:00
Jake.Stine 2110018e58 New Feature: Press TAB to toggle the framelimiter on/off (as a substitute for hitting F4 several times). Usable as a "turbo" feature, similar to other emus.
Many minor code cleanups to logging and constants.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@595 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-25 01:36:06 +00:00
gabest11 070f38c136 git-svn-id: http://pcsx2.googlecode.com/svn/trunk@594 96395faa-99c1-11dd-bbfe-3dabce05a288 2009-02-24 20:12:46 +00:00
Jake.Stine 021c7b28a3 Added some better support for 8 bit VIFdma writes, cleaned up some logging stuff, and added version resources to SPU2-X and ZeroSPU2.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@593 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-24 19:58:17 +00:00
ramapcsx2 8d87a3660d Revert a cdvd timing change from playground. Fixes some games that depend on longer seek times.
Also removed one more console log from release builds.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@592 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-24 17:00:25 +00:00
tmkkmac 1f01b45833 Now calmping code added in r579 is enabled only in "extra" setting or above, because it slows down some games
WinGUI: Disabled arguments menu in release build, for sure :p
Buildsystem: Made pcsx2 dependent on zlib, and changed post-build script a bit

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@591 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-24 15:35:10 +00:00
arcum42 53bfe7cab1 Linux: Get the main program compiling again. I'll work on the plugins later.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@590 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-24 13:10:59 +00:00
Jake.Stine f4d1e632a0 Oops, hit OK instead of cancel on my last commit. Here's the second part I missed.
Removed Commandline dialog from Release builds (it's meant for giving debug-style commands to homebrew diagnostic ELFs used for testing Pcsx2/Ps2 compatibility). Removed the compatibility list, which was just a local copy of the online resource.  Replaced it with a link to Pcsx2 website. :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@589 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-24 13:10:54 +00:00
Jake.Stine 73cf4cd361 git-svn-id: http://pcsx2.googlecode.com/svn/trunk@588 96395faa-99c1-11dd-bbfe-3dabce05a288 2009-02-24 12:56:51 +00:00
Jake.Stine ba803d575e Forgot a set of quotes. Build system should be able to cope with spaces in project folders now.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@586 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-24 09:59:50 +00:00
Jake.Stine 055504f512 Fixed some small errors in the new solution file settings, and added gnu_gettext to bin, since it's a dll dependency of Pcsx2.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@583 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-24 06:29:51 +00:00
Jake.Stine 7ffd3d3aea Restructured the build system from the ground up. 3rdparty libs have been moved back into a /3rdparty folder, and are compiled as libraries. Most relevant plugins are part of the pcsx2_suite_2008.sln. Revision tagging of filenames is still there, but is now disabled by default. Pathnames with spaces shouldn't break the buildscripts anymore. Removed tons and tons of files in an effort to simplify the repository and build system management. So if a solution file you're used to using is missing, it's missing for a good reason (means the project can be built either from the Suite solution, or by double-clicking the project file from explorer, from which MSVC creates a new solution for you).
I'll put up a wiki soon which covers new compilation features and stuff, like how to re-enable revision tagging, and how you can direct compiled exe/dlls to be copied to any destination of your choice (yay!) -- plus many other compiling tips (if I can remember them all! >_<)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@581 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-24 02:08:37 +00:00
refraction a5eab9da86 Implemented a fix for Art of Fighting, MFIFO was clearing our counted size when it shouldn't have been.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@580 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-23 19:59:22 +00:00
tmkkmac 986f2a1a71 Changed a behavior of recUpdateFlags a bit; now it also clamps results when flag updating is skipped.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@579 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-23 19:30:07 +00:00
tmkkmac ad5c6cff48 Fixed a minor issue in MADDiq/MADDAiq VU opcode.
(when _Fs_ == 0)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@578 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-23 17:08:33 +00:00
Jake.Stine cf2919cc5a Assorted code cleanups to WinMain's message handling, and streamlined the language selection 'gui restart' procedure.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@577 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-23 12:03:22 +00:00
tmkkmac 5870bb43e9 Code cleanup of some VU clamp functions for SSE4, and reverted my previous useless commit :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@576 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-23 11:54:24 +00:00
tmkkmac 44d1ff527c Fixed some potential dangerous situations in VU rec
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@575 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-23 10:58:53 +00:00
Jake.Stine 141dd7e21c SPU2-X: Fix for bleepy sounds in FFX / FFXII. Apparently effects processing is much more sensitive to tight SPU2/IOP sync than any other part of the SPU2. (good to know!)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@574 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-23 09:15:59 +00:00
cottonvibes 4cc6662246 some more vu clamping fixes by nneeve (fixes problems with the non-sse4 code)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@573 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-23 05:33:23 +00:00
cottonvibes 09d581217d - nneeve fixed some bugs when VU extra/extra+sign clamp modes were enabled.
- i added paths.h to the vs2008 project file.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@572 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-23 03:42:39 +00:00
arcum42 4744652b5b Clean up r568 a bit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@571 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-22 20:42:27 +00:00
gabest11 e934016121 GSdx: vtune JIT code profiling support (somebody should implement this in pcsx2 too, see iJIT_NotifyEvent(iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED, ...), plzkthx :P) and other minor fixes/optimizations.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@570 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-22 16:28:39 +00:00
arcum42 0f6f310c71 Linux: Show the version number for release builds.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@569 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-22 14:12:21 +00:00
arcum42 85c6db67c2 Linux: Get the locations of ini files for plugins mostly working again (I know about the USB & FW stubs). (Issue 55). This is still somewhat hackish; I'll probably be cleaning up bits later, and this does put LOCAL_PLUGIN_INIS out of commission for the moment. It will come back eventually. This ought to also take care of issue 54. You may need to delete pcsx2.cfg for everything to work properly.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@568 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-22 12:08:05 +00:00
krakatos@gmail.com bff3a20adf Not much to see here, just some patch cleanup and editing...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@567 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-22 11:38:46 +00:00