Commit Graph

3255 Commits

Author SHA1 Message Date
Jake.Stine 53ebbc0242 Lilypad: fix ini file support on non-english systems (unicode compliance issue).
Details: The "%S" directive in sprintf() only does a shallow wide char conversion from ASCII, it does not actually convert UTF8 to UTF16.  Replaced it with a call to MultiByteToWideChar.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3878 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-05 14:31:17 +00:00
Jake.Stine dbf1a1c7aa wxWidgets/MSW: Likely fix for "cannot commit changes to pcsx2.ini" type errors.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3877 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-05 14:11:22 +00:00
Jake.Stine c7850c2fad Likely fix for Issue 825: converted NVM/MEC file routines to unicode (fixes "file cannot be created" errors for users who's names are not english)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3876 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-05 13:19:53 +00:00
gregory.hainaut@gmail.com b93d9617cd zeropad: Properly setup the path of the ini file.
+ metadata of my previous zz merge


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3875 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-04 22:09:46 +00:00
Jake.Stine 46b526976f Linux: Compilation fix.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3874 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-04 22:03:25 +00:00
Jake.Stine 573b741d7f zzogl-pg: oops.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3873 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-04 21:52:22 +00:00
Jake.Stine 1dd9f8d0d4 Fix for some general slowness in Release builds, accidentally introduced in r3724
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3872 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-04 18:18:10 +00:00
Jake.Stine 115b431af5 zzogl-pg: fix the crash problem in msvc/sse intrinsics, and avoid compiler use of MMX by using the SSE version of 64-bit loads.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3871 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-04 18:03:44 +00:00
Jake.Stine 02d5ed7f45 * Implemented GIF PATH/TAG logging option.
* Some other EE/Core logging additions and formatting tweaks.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3870 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-04 17:22:54 +00:00
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
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
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
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
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
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
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
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
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
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
arcum42 d06838c4a5 Compilation fix.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3795 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-18 05:29:05 +00:00
arcum42 8c552f4f2e zzogl-pg: Add some includes in ZZoglShaders for Windows.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3794 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-17 20:41:17 +00:00
Jake.Stine 47cf781130 IPU : Removed the MPEG internal 32 bit buffer and all associated logic for "rewinding" bits out of the buffer and back into the IPU's internal 2QWC buffer. Simplifies IPU's bitstreaming code quite a bit, but isn't really much faster (yet).
(savestate version upgraded)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3788 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-17 13:10:54 +00:00
arcum42 da49cce435 zzogl-pg: More sync changes. (See r3768 & r3786)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3787 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-17 08:43:43 +00:00
arcum42 cc5414f49e zzogl-pg: Renamed Vector to float4 & renamed zerogsmath.h to ZZoglMath.h. (Continuing to work on bringing zzogl-pg in sync with recent revisions of zzogl.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3786 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-17 07:31:55 +00:00
arcum42 6656819a33 zzogl-pg: Mess around with the Windows code a bit more.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3785 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-17 05:26:50 +00:00
arcum42 0c151275eb zzogl-pg: Majorly revise the Windows config dialog box. (May still need more work.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3784 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-17 04:39:18 +00:00
arcum42 c728bf2ddf zzogl-pg: Bring a few of the changes in the GregMiscellaneous branch into the trunk.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3783 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-17 00:40:07 +00:00
arcum42 38aecf4ae0 Minor compilation fix.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3782 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-17 00:12:15 +00:00
Jake.Stine d4310e0b86 IPU fix for GUST games
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3777 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-16 11:04:35 +00:00
Jake.Stine 1c75440a6c IPU optimizations -- use SSE for FIFO reads/writes, and streamlined IPUdma0 /IPUdma1 feeds a bit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3771 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-15 17:11:24 +00:00
arcum42 01afac40f6 zzogl-pg: Work on getting the ZZoglShaders header a bit closer to what is in the current zzogl trunk.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3768 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-15 11:04:31 +00:00
gregory.hainaut@gmail.com 997db8ef05 zzogl-pg: fix a potential issue when logging is disabled
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3767 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-14 11:53:53 +00:00
gregory.hainaut@gmail.com 40fa31a64e zzogl-pg:
* Allow to load the plugin without log (better but not mandatory)
* Only reload the log file when it was open in the first place


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3766 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-14 11:51:26 +00:00
Jake.Stine 752034c519 Bugfix for Tri-ace games and possibly others (bug introduced in r3762, caused by missing 'vifRegs.num is actually 256' checks)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3765 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-14 00:39:40 +00:00
Jake.Stine 4671428593 ... and update the savestate version, since I changed all the vif containers around.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3764 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-13 23:05:14 +00:00
Jake.Stine 59ebdf3e60 GCC compilation fixes.
(note to devs: a sure-fire fix for GCC's templated function problems is to typecast the templated function to itself explicitly -- works nicely for all versions of GCC and the ?: operator as well).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3763 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-13 22:52:04 +00:00
Jake.Stine 2f8f86a3eb Significant VIFunpack retooling. Interpreters are considerably more efficient, and Recompilers are slightly more efficient. Details:
* All remaining code for handling partial/fragmented unpacks removed.
 * vifRegs.NUM is now accurately simulated when queuing data from fragmented unpacks.
 * Reduced the VIFunpack fragment buffer from 1MB to 4KB (max size of an unpack due to NUM being limited to 8 bits).
 * Removed vif/vifRegs globals formally used by VIF interpreters (everything relies on the templated vifIdx now -- simpler and faster!)
 * g_vifMask vars are integrated into vifStruct.
 * All VIF mask register stuff uses the SSE-friendly vifStruct.MaskRow/Col vars now.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3762 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-13 21:13:10 +00:00
gregory.hainaut@gmail.com e2cb52becf cmake:
* Link zz with libjpeg. Well it seems to get the library from another place, but better be safe for the future.
* Use -pthread as a default option (again to be safer)
* Warn about breaking of strict aliasing rule 


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3761 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-13 15:26:04 +00:00
arcum42 b15dd516c2 zzogl-pg: Having two functions with the same name, one of which is in a namespace, and one of which isn't, strikes me as a bad idea.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3760 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-13 09:33:09 +00:00