Commit Graph

3087 Commits

Author SHA1 Message Date
gregory.hainaut 84d94276e1 [copyright]
* Add missing copyright according issue 792
* Miss few files from the previous commit ^^


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3429 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-08 16:40:44 +00:00
gregory.hainaut 0e9030689c [copyright] * second round of bad FSF postal address.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3428 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-08 16:34:39 +00:00
Jake.Stine 80b92bf529 microVU: minor cleanup using a typedef to eliminate some redundant list.list-> syntax. :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3427 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-08 15:59:52 +00:00
Jake.Stine 8c66bd87ba UI: Saw some other minor mistakes in the console log threading >_<
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3426 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-08 15:55:02 +00:00
Jake.Stine 972cb2b891 UI: Fix a possible deadlock in the console (was introduced sometime after r3119).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3425 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-08 14:02:50 +00:00
cottonvibes 2ffebed9de microVU: Minor cleanups.
Note: Why do I use gprT1 instead of eax, or xmmT1 instead of xmm0 directly.
For three reasons:
1) It allows for easily "finding all references" of the gpr/xmm reg within mVU only, as opposed to pcsx2 entirely.
2) It clearly labels the registers for their purpose in mVU.
3) It makes changing of the registers easier if it ever needs to be done.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3424 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-08 07:54:20 +00:00
refraction 8e38cbb5eb Now Area 51 works :P Ok this probably fixes Tekken 4 properly, id missed some bits when moving some of the code over, which would have caused it not to work right, plus my favourite = instead of == slipped in..
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3423 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-07 23:48:01 +00:00
ramapcsx2 19c03083a2 SPU2-X:
We overshot the final pre-clamp shift by one bit. Should be final now ;)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3422 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-07 20:49:55 +00:00
Jake.Stine f9a56afa15 Re-fix for some GCC packed structure bug. Hopefully this version works. It should according to the bug being tracked.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3421 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-07 20:01:30 +00:00
refraction 7243568e5f GifPath: Fixed Reglist optimization for split transfers, might fix the Tekken 4 hang (if you are experiencing it)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3420 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-07 19:36:05 +00:00
Jake.Stine b62dbc545a SPU2-X: More volume! Expect to have to turn your speakers down a bit. (made possible by proper clamping)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3419 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-07 19:20:53 +00:00
gregory.hainaut a16f8b6bc4 [cmake] * new cmake option to contol flags (allow user to break everythings^^): USER_CMAKE_C_FLAGS and USER_CMAKE_CXX_FLAGS
For example enable more optimization on c++:
    cmake CMakeLists.txt DUSER_CMAKE_CXX_FLAGS="-O3"
Or more warning on c++:
    cmake CMakeLists.txt DUSER_CMAKE_CXX_FLAGS="-Wstrict-aliasing"


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3417 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-07 11:36:54 +00:00
gregory.hainaut 8864c8bbaf [cmake] Move flags clean in the build modules. Next step allow user to control them.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3416 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-07 11:08:05 +00:00
arcum42 83adf0f0d4 zzogl-pg: Add -fno-strict-aliasing to zzogl-pg's compiler flags. (Fixes FF X-2.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3415 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-07 10:41:17 +00:00
sudonim1 9b896dda0d microVU: cosmetic changes to some ptr[] instances for SSE and one less x86 instruction for MFIR.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3414 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-07 10:16:04 +00:00
arcum42 b5d8508989 zzogl-pg: Change a few assertions into warnings. (Makes it possible to run Final Fantasy X-2 with Debug builds. With tons of console spam, mind.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3413 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-07 10:14:42 +00:00
arcum42 6a3f1bdab2 zzogl-pg: Mucking around with the new register code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3412 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-07 09:59:29 +00:00
arcum42 fc3514107d Work around VU0.code & VU1.code being packed in Linux when freezing memory.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3411 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-07 09:14:47 +00:00
Jake.Stine ae92387cea * Fix patches, which were broken in r3398 (they weren't being applied).
* Remove some dangerous uses of pxAssume -- pxAssume should only be used for simple in-place operations, and should never call functions (my fault too, I was the one who was using it wrong).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3410 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-07 07:41:44 +00:00
Jake.Stine 096ec601ad microVU: Missed a couple things from my prev commit, and removed some legacy forceinline stuff (we no longer depend on const-prop to select between VU0 and VU1).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3409 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-07 07:15:45 +00:00
Jake.Stine 641c3b56cf microVU: avoid making unnecessary copies or instances of xRegister classes. Cuts out overhead which admittedly shouldn't even be there except MSVC 2008's C++ optimizer can't optimize constructors to save its life.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3408 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-07 06:42:35 +00:00
cottonvibes 3649a9e226 - Working on getting some old code working again which allows comparison between mVU and sVU program results.
- Have the compiler explicitly pack the VU reg structs since we rely on this.
- Various minor changes.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3407 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-07 05:59:25 +00:00
sudonim1 b53a92e019 microVU: converted all code to the new emitter style. If anything breaks, blame the guy below me.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3406 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-06 20:05:21 +00:00
Jake.Stine a4afe629e5 microVU: Reset rec when buffers cannot grow any larger. (should fix Killzone crashes)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3405 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-06 19:03:44 +00:00
refraction cf0953d9c0 Commit Spree! Decided to disable the console spam that is FINISH, seems a lot of PATH3 games come victim to it (maybe this is why they've always been such a pain?) so I've disabled the console output
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3404 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-06 17:59:06 +00:00
refraction 3f819d35e5 Gah better change this, else we could get in to a nasty catch 22 with the FINISH stuff >.<
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3403 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-06 17:54:39 +00:00
refraction 4f374f1609 Potential fix for Guitar Hero 3
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3402 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-06 17:52:32 +00:00
refraction 857a4d6115 Forgot to do GIF MFIFO :P
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3401 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-06 17:25:53 +00:00
refraction b003a3bd47 SIGNAL! Area 51 WORKS! Soul Calibur 3 WORKS! probably broke loads! :P But thats the first time Area 51 has worked in years.
Only kidding, it should be awsome now, Also added a debug message incase some Paths are queued on a FINISH, any broken graphics when this shows up (or failure to load) should be reported asap!

Thanks to jake for his hard work getting signal and my optimizations working :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3400 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-06 17:25:02 +00:00
gregory.hainaut 968eed2822 [debian]
* rename a file
* fix to handle old ubuntu dpkg & debhelper tool


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3399 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-06 17:10:23 +00:00
Jake.Stine 5a7508d43c * Removed a completely unnecessary use of xSmartJump in the SLT instruction generation
* Reduced the amount of console log spamming when hitting F4/Tab/etc.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3398 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-06 11:48:48 +00:00
Jake.Stine 688674bed9 Emitter: Major refactoring / renaming job. Improved type checking and usefulness of xAddress* (Void, 32, 64, etc) types.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3397 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-05 19:15:19 +00:00
gregory.hainaut 6e30a41931 [asm] * Set a good default GNU-stack note. Need to properly support the nx bits (security concerns)
See http://www.gentoo.org/proj/en/hardened/gnu-stack.xml for details.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3396 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-05 15:56:38 +00:00
gregory.hainaut f8163336b7 [cmake] remove -fPIC. Expect a little speed up.
[plugins] remove __forceinline on variadic function that has been broken by the removal of -fPIC.
[debian] update readme about fpic status. And add some lintian overrides.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3395 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-05 15:43:21 +00:00
arcum42 1a593a4134 zzogl-pg: Fence off an area where I can work on the register code without worrying too much about it.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3394 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-05 13:22:02 +00:00
gregory.hainaut e8a6401cf4 [debian]
* reduce requierement for ubuntu lucid
* remove windows file of the linux tarball. Copyright issue and useless anyway


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3393 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-05 12:10:15 +00:00
Jake.Stine 4f9a5c6876 Remove all MMX and XMM register freeze code.
DevNote: I could have left the code for the freezes in, except I *really* don't want us to ever have to resort to using such a system ever again in the future.  For anything. (its just not safe on modern optimizing compilers)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3392 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-05 01:12:38 +00:00
gregory.hainaut 1394b9e03c [copyright]: * Update copyright to use the new postal address of the Free Software Foundation. Nothing to see.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3391 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-04 22:49:00 +00:00
gregory.hainaut f57ac9d1d9 [cmake]
* move build options to the build module
* Add some documentation about the default cmake build options


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3389 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-04 12:37:42 +00:00
Jake.Stine 9feca5f767 * Switch the Confirmation dialogs to use '.' separators instead of ':' separators. The dots don't get escaped in the ini file, so they're much easier on the eyes.
* Remove one more dependency on the old vssprintf code; hoping to remove it soon.  Only thing left now is the r5900 disasm code (which is a monster).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3388 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-04 11:50:12 +00:00
Jake.Stine d2d6fd2964 in the world of printf, %f uses type (double) internally, not float, so might as well use double to work the math for this log entry. :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3387 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-04 11:33:10 +00:00
Jake.Stine 4352a3927c Fix for broken stack unwinding in the MSVC debugger in and around the EE recompiler. Also sped up debug mode execution a bit by removing some per-block recompiled code overhead that we like almost never use anyway. (it can be re-enabled through the ini for now)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3386 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-04 11:14:06 +00:00
arcum42 cc06570bd4 zzogl-pg: Minor fix from my last commit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3385 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-04 10:53:41 +00:00
cottonvibes 28ae87c5f7 microVU: Move exception handler code to beginning of mVU rec execution instead of inside mVUsearchProg.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3384 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-04 07:33:24 +00:00
cottonvibes 714ea3c94f microVU: Fixed various bugs... fixes "Kingdom Hearts Re Chain of Memories" and possibly other games that were broken with mVU recently...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3383 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-04 06:07:43 +00:00
arcum42 cc47fdbb8c zzogl-pg: Enable a GifTransfer shortcut from GSdx. Comment out two variables that weren't being used.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3382 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-04 03:53:01 +00:00
Jake.Stine dd42d14410 NSIS: Fix for installer not installing VS2010 on some systems (Issue 733)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3381 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-03 15:10:12 +00:00
Jake.Stine 402f19413b Remove MMX register freezes from MemcpyFast.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3380 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-03 13:08:41 +00:00
arcum42 84c5073b7c zzogl-pg: Hack and slash at zerogs.h.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3379 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-03 07:57:56 +00:00
gregory.hainaut d7748ffcd0 [debian] * Create a second rules files to allow testing in system that have fglrx (ati/amd) drivers
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3378 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-03 07:26:04 +00:00