Commit Graph

3480 Commits

Author SHA1 Message Date
Jake.Stine e63314f545 * Bugfix for Issue 850 - memorycards being deleted when swapping slots.
* Preliminary work done for Issue 735 : allowing specified custom memorycard filenames.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3869 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-04 17:12:28 +00:00
gregory.hainaut@gmail.com c7a929a530 zzogl-pg: Merge back GregMiscellaneous branch (3867)
* Various clean
* Replace ASM by intrinsics (much more portable)
* Various performance tuning (expect 10%-20% speedup ^_^ )


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3868 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-03 12:35:57 +00:00
arcum42 0d4e02995d GregMiscellaneous: zzogl-pg: Work around a windows crash by temporarily disabling DO_8_PIX in Windows.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3867 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-03 11:43:38 +00:00
gregory.hainaut@gmail.com fc2bedad66 GregMiscellaneous: zzogl-pg:
* Add an emms because msvc is not happy.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3866 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-03 10:46:04 +00:00
gregory.hainaut@gmail.com c875caec15 debian:
* update copyrigh info
* create a stable "branch" of the package 


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3865 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-02 21:35:30 +00:00
gregory.hainaut@gmail.com ace7ddb1aa GregMiscellaneous: zzogl-pg:
* Windows compilation fix
* Fix alpha value & mask value


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3864 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-02 12:13:25 +00:00
gregory.hainaut@gmail.com 9c1618b2d0 GregMiscellaneous: zzogl-pg:
* Fix a long copy/past error in hostmemory


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3863 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-30 18:51:00 +00:00
gregory.hainaut@gmail.com 7fabbcf065 GregMiscellaneous: zzogl-pg:
* Properly update the different part of the pixels.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3862 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-30 17:34:21 +00:00
gregory.hainaut@gmail.com 523f063f3c GregMiscellaneous: zzogl-pg:
* Really add the new resolve function (the good things is I fix severals issues)
* Fix an issue in 32b to 16b conversions


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3861 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-30 13:03:31 +00:00
gregory.hainaut@gmail.com 28d04d4fbb GregMiscellaneous: zzogl-pg:
* Redo update_4pixels_sse2. Do 128 bits transfer instead of 32bits.
* fix regression on target code. The address was bad in 16bits


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3860 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-29 18:44:53 +00:00
Jake.Stine 8f95d0626f ... simplified code for the last bugfix. :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3858 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-29 13:51:17 +00:00
Jake.Stine 21a147563e UI bugfix for speedhacks being improperly applied even when speedhacks were disabled.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3857 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-29 13:48:36 +00:00
Jake.Stine a02057292b w32pthreads: remove some unnecessary cleanup code being run on critical errors, which was only causing confusion when debugging thread crashes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3856 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-29 11:29:21 +00:00
ramapcsx2 fd0647cc02 Made the installer create a cheats directory as per request.
Remove the sVU is broken warning, since it's been functionally restored.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3855 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-28 22:02:42 +00:00
Jake.Stine 7ad0ef4fb4 * Disable Ok/Apply/Cancel buttons on dialogs while settings are being applied, prevents potential deadlock when accidentally double-clicking the buttons.
* Add preliminary code for selectively disabling spam-heavy hardware registers


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3853 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-28 20:00:17 +00:00
Jake.Stine c48ae28247 wxWidgets/MSW: minor fix for debug assertions under WinXP OSes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3852 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-28 19:42:36 +00:00
gregory.hainaut@gmail.com 8d7edf440d GregMiscellaneous: zzogl-pg: Nice comment to decipher asm code.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3851 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-28 19:36:23 +00:00
sudonim1 0bb42e1331 Fix the VU interpreter (and occasionally sVU) addressing change from r3697.
Fix an sVU regression from way back in r3549 (God of War, Tales of the Abyss).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3850 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-28 19:07:17 +00:00
ramapcsx2 24df80f5e0 Even more database updates from Lana :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3849 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-28 19:06:57 +00:00
arcum42 c48a820cd5 GregMiscellaneous: zzogl-pg: Disable the Resolve messages by default.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3848 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-28 10:40:08 +00:00
gregory.hainaut@gmail.com 175afa91b1 GregMiscellaneous: zzogl-pg: restore the reverse order loop
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3847 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-28 09:09:18 +00:00
ramapcsx2 51eb329b63 Lots of updates and fixes to the game database file.
Thanks to Lana for much of this ;)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3844 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-26 23:45:13 +00:00
Jake.Stine f6a7c33559 Bugfix for rounding/clamping mode patches not being applied (and possibly some other obscure cpu settings bugs as well).
Cause: there were accidentally 2 instances of 'Recompiler' in the Pcsx2 emulator settings structure.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3843 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-26 19:51:54 +00:00
ramapcsx2 c7257797a1 Made some more mVU messages tied to verbose flag.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3842 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-26 19:02:13 +00:00
Jake.Stine c396684e07 * Fix a bug that prevented devel/verbose console logs from being logged in Release builds.
* Switch microVU's cache logs to DevCon (verbose only).  TODO: Make a vuPerfLog for them someday.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3841 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-26 17:41:57 +00:00
ramapcsx2 666d800d83 - Enable patches is now on by default.
- Changed some configuration text, warning now that sVU is broken.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3840 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-26 17:31:23 +00:00
gregory.hainaut@gmail.com 703927056e GregMiscellaneous: zzogl-pg:
* use a fence after non temporal move
* fix a crash in write clut


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3839 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-26 09:25:43 +00:00
gregory.hainaut@gmail.com 8435ad3f01 GregMiscellaneous: zzogl-pg:
* Finish GAS removal. I use SSE2 instead of mmx because it was easier to write (faster anyway).
Code seems equivalent between GAS & intrinsics but control flow will need a good testing (and some explanation)

Note: I also add a basic C version for reference/debug (not tested yet)


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3837 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-25 14:01:36 +00:00
arcum42 8036106b07 GregMiscellaneous: zzogl-pg: Move a few functions into CMemoryTargetMngr.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3836 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-25 13:33:58 +00:00
arcum42 0f38318fab GregMiscellaneous: zzogl-pg: Fix for a bug in the new intrinsic code.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3835 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-25 12:23:33 +00:00
arcum42 cd4692a327 GregMiscellaneous: zzogl-pg: Split out some code into a separate function.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3834 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-25 08:57:44 +00:00
Jake.Stine e24ceba0e1 IPU:
* Fix a potentially obscure bug in ipuCSC (color space conversion) which would have caused PCSX2 to hang on certain types of rare partial transfers.
 * Remove some more dead code and structure data from the mpeg library.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3833 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-25 05:36:30 +00:00
arcum42 7578b6c51e GregMiscellaneous: zzogl-pg: Let's use _mm_setzero_si128 to zero the register.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3832 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-25 01:24:29 +00:00
Jake.Stine 9ebace0a8d IPU: Cleanups and simplifications, and removed a whole lot of code that was force-setting ipu0dma's STR to 0 and/or flushing the FIFO for no reason. Tested tons of games, couldn't find any regressions.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3831 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-24 23:48:33 +00:00
gregory.hainaut@gmail.com 9895bb6b45 GregMiscellaneous: zzogl-pg:
* ASM port round 3 + add some comment to understand the algorithm.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3829 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-24 15:38:47 +00:00
Jake.Stine 36d1503581 Converted IOP to use a static/global hardware register allocation. (same as I did for the EE a few weeks ago).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3826 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-23 19:44:55 +00:00
gregory.hainaut@gmail.com 3a1ef55cb1 GregMiscellaneous: zzogl-pg:
* Port more ASM to intrinsics. Note use non-cacheable store instead to reduce cache pollution


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3825 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-23 18:00:38 +00:00
Jake.Stine cfca4ccdd0 IPU Fix for Haunting Grounds (in-game cinemas skipped after 1 second). Bug was caused by the internal buffer of the IPU (2 QWC) not being refilled properly in rare circumstances.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3824 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-23 15:24:45 +00:00
gregory.hainaut@gmail.com 79c4b1825d GregMiscellaneous: zzogl-pg:
* Fix wrong integer size.
* Enable sse2 version on windows too.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3822 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-23 11:24:02 +00:00
gregory.hainaut@gmail.com 6e1b11c2b5 GregMiscellaneous: zzogl-pg:
* port ASM GAS to intrinsic.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3820 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-22 19:48:50 +00:00
gregory.hainaut@gmail.com 709a79f513 GregMiscellaneous: zzogl-pg:
* init completely the mask array...
* fix the offset (count is byte not double word)


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3819 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-22 17:30:01 +00:00
arcum42 f850b72e36 GregMiscellaneous: zzogl-pg: Try out using modifications of some of GSdx's code for ZZoglMath.h.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3818 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-22 12:39:39 +00:00
gregory.hainaut@gmail.com 5e97756e83 GregMiscellaneous: zzogl-pg:
* GAS seem only support standard C type


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3817 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-22 11:52:03 +00:00
gregory.hainaut@gmail.com 5e4afde9c1 GregMiscellaneous: zzogl-pg:
* remove convfn parameter template. Use instead a boolean (easier & fix windows)
* Protect asm statement with __LINUX__ for the moment
* apply the fbm mask in SSE2 also for 32bits texture. Reduce stack activity.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3816 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-21 19:10:19 +00:00
gregory.hainaut@gmail.com b6a224c4f9 GregMiscellaneous: zzogl-pg:
* fix shift direction in sse2.
* Reduce memory transfter to load pixel.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3815 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-21 11:29:03 +00:00
gregory.hainaut@gmail.com eb10a257cb GregMiscellaneous: zzogl-pg:
* Rework sse2 with somethings easier ans smaler ;)
* do fbm mask with sse2


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3814 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-20 16:16:31 +00:00
arcum42 ac04a4ec3e GregMiscellaneous: zzogl-pg: Rewrote ZZoglMath.h.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3813 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-20 13:03:40 +00:00
Jake.Stine 5fd2cf97d3 Made some minor tweaks to SIF to test some theories and fix some broken-looking code -- please report any regressions. Also commented some of SIF and IPU stuff. :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3812 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-20 12:47:17 +00:00
gregory.hainaut@gmail.com 189d92b34d GregMiscellaneous: zzogl-pg:
* Use sse2 instruction to convert pixel from 32bits to 16bits.
Note: Seem slower than basic C. I need to opmitize some memory access...


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3811 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-20 12:20:04 +00:00
arcum42 cfb4ba8b2b GregMiscellaneous: zzogl-pg: Apply Zeydlitz's changes from r237 of zzogl. Improves code readability, and gives a slight speedup.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3810 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-20 10:09:46 +00:00