Commit Graph

10299 Commits

Author SHA1 Message Date
Jake.Stine fb4fcc7d29 Changed some code around in microVU that was causing 10+ minute link times in Release builds (LTCG mode), also added some new x86Emitter cleanups along the way. :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1374 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-16 22:49:06 +00:00
gabest11 d1c7d2f1a6 xpad: fixed a crash that happened when subclassing an opengl window, also got rid of mfc.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1373 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-16 02:28:43 +00:00
gabest11 48eae0c907 GSdx: more opengl code, please review, I have no idea if it done the right way ^_^
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1372 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-16 01:42:08 +00:00
Jake.Stine c60095f6b0 GSdx: Fixed Software-mode crash on Escape/Exit, caused by a couple destructor race conditions. (C++ destructors and thread safety are fickle beasts that like to claw each others' eyes out)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1371 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-15 23:21:17 +00:00
cottonvibes ce4b58ba61 microVU:
- Minor changes

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1370 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-15 22:28:05 +00:00
Jake.Stine 674ac75d6a GSdx: Minor bugfix for DoMerge encountering a NULL pointer in rare cases.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1369 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-15 20:15:17 +00:00
Jake.Stine 136716a4f5 SPU2-X:
* Fixed crash problems when using SPU2-X with old versions of Pcsx2 (0.9.4 and prior).
 * Fixed broken Device specification override (the device GUID wasn't being loaded from the INI).

Pcsx2:
 * Added ThreadAffinity stuff to the CPUSpeed detection.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1368 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-15 16:44:26 +00:00
arcum42 b9cb1d3a59 Delete a stray file that's automatically regenerated every time you build ZeroGS anyways...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1365 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-14 09:56:42 +00:00
arcum42 deae0ce1a6 Linux: Experimental - Add a alternate, more flexible, build script written in Ruby.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1364 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-14 09:41:33 +00:00
gabest11 359c596bd8 GSdx: added missing glew32.lib reference
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1363 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-13 22:31:12 +00:00
gabest11 690ef417b1 GSdx: replaced switch with ifs in the shaders, kingdom hearts should be fixed
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1362 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-13 19:41:34 +00:00
gabest11 693bb3bdce GSdx: added ogl/cg to the list of delay loaded dlls
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1361 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-12 19:39:54 +00:00
gabest11 5736bbd449 GSdx: looking for an opengl guru...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1360 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-12 19:09:17 +00:00
arcum42 1c3a537d5c Fix up Linux after r1356. Make a few changes that ought to make -fpermissive unneccessary, though it needs more testing before I actually remove said flag.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1358 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-11 12:56:55 +00:00
gabest11 6841f7fd98 GSdx: that damned different pixel center of dx10... this one should fix the screen edge and other strange artifacts that appeared in non-native resolution.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1357 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-11 09:27:59 +00:00
cottonvibes f8a94b15ff pcsx2:
- Cleanup and organizational changes of VU related stuff.
- Separated Super VU, microVU, and Interpreter files.
- Renamed all Super VU related files with an 'sVU' prefix.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1356 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-11 09:02:10 +00:00
gabest11 bd229032c0 GSdx: fix for genji
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1355 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-11 00:08:23 +00:00
gabest11 4e20305fe2 GSdx: dx10 hw mode sharper again
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1354 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-10 17:03:23 +00:00
cottonvibes a7f2130595 microVU:
- Small Optimization...

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1353 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-10 04:18:06 +00:00
ramapcsx2 8fc8d76f00 They are vector units, not vertex units.
(Yeah, silly commit, I know :p )

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1352 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-09 14:15:39 +00:00
gabest11 b678bb129c GSdx: texture filtering checkbox fixed, changed texture lookup a bit, removed more unused code
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1351 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-09 10:13:28 +00:00
arcum42 70cd55b332 Linux: Use memcmp_mmx instead of memcmp; Add a workaround to a segfault in iVif on some games.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1350 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-08 21:24:18 +00:00
Jake.Stine e538ecd7d8 * Fixed CDVD startup code sot hat the CRC for games is more reliably detected when booting through Run->Execute.
* Minor bugfix to MTGS thread startup code; wasn't copying the register state properly (probably didn't matter either way)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1349 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-08 16:17:08 +00:00
arcum42 67b2d2bfc2 Linux: Not sure if this is neccessarily an alignment issue, but Kingdom Hearts 1 crashes on newgame with the new compare function, so we'll have it use memcmp for the moment.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1348 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-07 21:08:21 +00:00
cottonvibes 2ca4a603b3 microVU:
- Rewrote the custom compare function to use the emitter instead of inline asm.
- Set Linux builds to use the function.

Note: If this revision causes microVU to crash on Linux, it means GCC isn't guaranteeing 16-byte alignment on microRegInfo and microBlock structs. So it'll need to use normal memcmp instead (see microVU_Misc.h)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1345 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-07 12:04:39 +00:00
cottonvibes b61f7cc4d1 microVU:
- Implemented E-bit Conditional Branches and Jumps. Should fix infinite loop problems in games like Zone of the Enders, but it hasn't been tested yet since I don't have the game xD.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1343 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-07 09:42:10 +00:00
arcum42 96fb298371 Linux: Make the build system even more hackish, to avoid issues with AC_OUTPUT and automake 1.11.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1342 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-07 07:13:54 +00:00
gabest11 4ed3035661 GSdx: pixel shaders were reorganized, things might be broken :P
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1341 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-06 17:53:34 +00:00
Jake.Stine 95ff8e3a98 GSdx: Applied normalization of UV in the DX9 texture repeat shader, allowing it to be re-enabled. Fixes massive slowdown in the Xenosaga 2 opening menu (Issue 262 / DX9 only) [note: collective fix uncovered by sudonim, feal87, and drk||raziel -- I'm just the patching boy]
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1340 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-06 11:00:30 +00:00
gabest11 8784c1cd43 GSdx: added vs2010 project files
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1339 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-06 10:17:07 +00:00
gabest11 743e93f3ee GSdx: should fix Issue 263, but I could not verify it
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1338 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-06 10:11:22 +00:00
Jake.Stine cdd68f345e microVU: Improved struct alignment method using placement new syntax, reducing microBlockManager's heap allocation count from 2-per to 1-per. :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1337 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-06 10:05:40 +00:00
arcum42 f7aae60371 Fixed Linux, and merged a few minor changes I had lying around that I hadn't committed yet.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1336 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-06 09:24:10 +00:00
Jake.Stine 3734d47351 non-functional change [Win32/msvc only]: Small cleanup to pragma packing syntax.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1335 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-06 09:17:33 +00:00
cottonvibes c4531a5c31 microVU:
- Implemented a faster block-compare algorithm.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1334 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-06 06:40:29 +00:00
gabest11 01d1573fdc GSdx: cleaned up some obsolete code
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1331 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-05 15:15:02 +00:00
Jake.Stine 3f97423a30 GSdx: Found three other instances of CComPtr that could be removed. (DX9 only)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1330 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-05 12:33:07 +00:00
arcum42 c668c7c351 Revised Ipu1Chain, and tweaked Ipu1Dma.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1329 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-05 04:59:13 +00:00
arcum42 a134dd6110 IPU1chain is now a function rather then a define.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1328 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-05 02:24:57 +00:00
Jake.Stine 154a886bf7 Re-enabled Precompiled headers in release builds. Believe it or not this fixes crashes in the IPU's coroutine system that started happening in r1319. Yes, as you might recall, we *disabled* PCH on release builds back during Pcsx2-Playground because it was causing crashes in Coroutine. Now re-enabling PCH *fixes* the crashes in Coroutine. I'm not making this up.
No, Ferrarinews, this revision *won't* improve GT4's graphics.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1327 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-05 00:42:27 +00:00
arcum42 4097f01b35 Linux:Fixed up the speed hack dialog to show the correct speed hacks for microVU.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1326 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-05 00:20:31 +00:00
cottonvibes 2ffe0e81f7 pcsx2:
- Changed sVU/mVU allocation order and addresses to hopefully solve allocation problems a lot of people were having.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1325 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-04 22:36:14 +00:00
refraction d1b5ee9f5f Couple of very minor changes for GIF/MTGS GIFTag reading
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1324 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-04 20:46:05 +00:00
refraction 480519efad Fix for Tekken Tag Issue 259
Removed the doubled up timings on SIF DMA cycles (should have been done when it was spotted really)
Put in a fix for Scratchpad reads which cause a VTLB error.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1323 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-04 17:50:56 +00:00
gabest11 e9ad2ffe7b GSdx: added post build step
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1322 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-04 09:30:35 +00:00
cottonvibes f8232c19ac microVU:
- Minor Change...

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1321 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-04 08:55:45 +00:00
gabest11 7ee6eefb68 GSdx: config dialogs disable unrelated controls again
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1320 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-04 08:32:31 +00:00
cottonvibes 0a6bc57860 microVU:
- Fixed a very rare case, where both upper and lower instructions read and write to each others regs.
Example:
ADD.xyzw  VF1, VF2, VF3
MOVE.xyzw VF2, VF1

- Forgot to commit iVU0micro.cpp on my last update...

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1319 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-04 08:13:47 +00:00
cottonvibes 4490d237dc microVU:
- Implemented m-bit functionality. Fixes Crash Twinsanity and most-likely other games...

Note: If anyone has any games that have broken graphics when mVU prints "microVU0: M-bit set!" to console, then please notify me about it.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1318 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-04 05:52:57 +00:00
cottonvibes 5831b47c4e microVU:
- Fixed a bug from r1315.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1317 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-04 02:05:57 +00:00