Commit Graph

3276 Commits

Author SHA1 Message Date
Jake.Stine da691894c3 wxgui branch: Maintenance merge against trunk, plus many cleanups and project-level changes.
* Moved the x86 emitter to /common, so that plugins can link against it if they wish.
 * Created a new "utility" class in /common which houses string utils, fast memcpy, common exception classes, and other handy dandies.
 * Removed old-style linux automake files from the pcsx2 dir since they were hopelessly out of date (and their multi-file-per-line format makes svn merging impossible >_<)

git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1454 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-03 00:49:40 +00:00
cottonvibes d9b5baf8f6 microVU: Work in Progress commit, just committing to have a backup!
- Added Simple Constant Propagation to detect Constant Indirect Jump addresses allowing them to act as normal branches. (speedup)
- Added a Pipeline State optimization to remove some unnecessary information. (speedup)
- Severely altered mVU's memory model to dynamically allocate memory based on how much VU programs are run (and free them when dead).
- Made microPrograms recompile to a global rec-cache instead of per-program cache.
- Raised VU1's microprogram slots from 64 to 400.
- Fixed some memleaks that were causing ram usage to increase over time.
- W.I.P. GoW speed hack (not yet in gui)


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1453 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-02 23:57:09 +00:00
Jake.Stine fba2e4519d Fix for plugin console logging via stdout/stderr, which stopped working when we switched to the shared msvcrt dlls.
mVU: Quick fix to zero out some memory/pointers; fixes assertion failures when running debug mode builds.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1452 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-02 19:45:49 +00:00
gabest11 ba5823b144 GSdx: added a few CRCs
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1451 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-02 16:05:03 +00:00
gabest11 7ddbaa6cb0 GSdx: the valkyrie profile 2 fix
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1450 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-02 00:47:50 +00:00
pcsx2guide 4de732685f PCSX2: Clean up on docs,nothing important.
Note from the PCSX2 Team: After getting spammed for months in our Google code comments by a user named 'ferrarinews' and due to our inability to ban this member,we have decided to NOT make any changes to the emulator that will affect positively Gran Turismo 3 or 4 for which the user is spamming us,until he stops. Sorry to everyone else,blame him for this.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1449 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-02 00:39:58 +00:00
gabest11 c68802a334 GSdx: dq8 fix
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1448 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-01 22:29:24 +00:00
gabest11 5a292d202d GSdx: couple of fixes
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1447 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-01 21:14:12 +00:00
refraction 57066d229b Fix for Tekken 4 black screen hang, removed some code which doesn't seem to be needed for Art of Fighting anymore, however this game has another problem which seems GS related.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1446 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-01 18:47:57 +00:00
cottonvibes 60e1fcffb7 microVU: Tweaked some stuff from my last commit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1445 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-30 20:42:25 +00:00
cottonvibes 95579258db microVU: fixed some problems from my last revision. (fixes problems in DQ8)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1444 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-30 04:45:22 +00:00
cottonvibes 8f74247b4f microVU:
- Smarter microProgram comparison. Games will now use less microProgram 'slots'. Speedup in games using a lot of microPrograms at once...

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1443 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-29 06:28:48 +00:00
gabest11 7c2e51157e GSdx: dx9 texture uploads should be at least as fast as before
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1442 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-28 02:02:14 +00:00
arcum42 9547448020 Worked on straightening up Plugins.cpp a bit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1441 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-28 01:00:22 +00:00
gabest11 8abcc6dab2 GSdx: fixed a crashing in the previous revision, dx9 slowdown problems will be addressed later
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1440 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-27 19:05:36 +00:00
gabest11 7bb9a3cc25 GSdx: changed a lot of things, expect new bugs :P
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1439 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-27 03:32:33 +00:00
arcum42 6e5d4a5d15 Brought the Erementar Gerad gamefix over to Linux, and got rid of some junk that isn't neccesary now that the crc version of the hack is gone.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1438 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-26 05:14:58 +00:00
cottonvibes 6b2c26a617 Added 2 gamefixes to the Windows Side (untested since I don't have the games xD):
- DMA Execution hack - Fixes Fatal frame problems by ignoring dma transfers while another one is being executed.
- VU XGkick hack - Fixes Erementar Gerad by delaying XGkick. Similar to what SO3 needs, except this game needs more delay. Emulating this correctly is impossible with the current DMAC system, and will most-likely never be fixed correctly. The best (and fastest) way to simulate proper behavior is with a gamefix. (Super VU was doing this by a CRC hack, but I changed it to use this gamefix instead along with microVU.)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1437 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-26 04:27:18 +00:00
arcum42 89dc306861 The Gust fix is back in. The previous behavior is in as a gamehack for Fatal Frame, and any other games adversely affected. Checkbox not yet implemented for Windows.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1436 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-26 03:12:36 +00:00
cottonvibes ac7f3bc19d Super VU:
- Implemented setting of GIF status regs for PATH1 transfers at execution time instead of at recompile time on XGkick instructions.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1435 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-26 02:44:42 +00:00
arcum42 b75e504fba Revert r1433.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1434 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-26 01:47:55 +00:00
arcum42 12ba602709 GUST fix.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1433 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-26 01:18:08 +00:00
arcum42 7f00193900 Various changes, mainly Gif related cleanup. Fixed SafeArray.h to work with Linux again while I'm at it...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1432 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-26 00:30:19 +00:00
cottonvibes 95db132180 microVU: minor changes...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1431 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-25 05:41:40 +00:00
cottonvibes 8158636490 microVU: Evenly distributed rec-cache between programs.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1430 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-25 05:17:54 +00:00
cottonvibes d4132141d5 microVU: changed VU1's cached program amount from 32 to 64, and vu0's from 32 to 8.
speeds up some games that use a lot of microprograms at once (like ffxii)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1429 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-24 23:17:32 +00:00
Jake.Stine d9c40a7ccd Many bugfixes and improvements to my SafeArray / SafeList utility classes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1427 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-24 13:13:59 +00:00
gabest11 c1fc72a634 GSdx: small fixes to the last commit
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1426 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-23 12:33:30 +00:00
gabest11 b284fae2d5 GSdx: moved around some code and optimized texture caching a bit, there may be a slight speed-up in hw mode for those games that use many textures.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1425 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-23 04:12:32 +00:00
cottonvibes bc5c78f124 microVU: fixed a bug where xgkick delay info wasn't propagating through blocks correctly (fixes Sega Classics Collection)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1424 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-23 03:56:52 +00:00
cottonvibes a4a1feae64 microVU: fixed a typo that broke Crash Twinsanity :D
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1423 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-23 02:48:06 +00:00
cottonvibes 98ff4fd12d microVU: minor changes...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1422 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-23 02:07:38 +00:00
cottonvibes a0bc6d33bb microVU: fixed a problem introduced in r1304 (fixes bios memcard viewer hanging, tekken 5, and probably a lot more...)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1421 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-23 01:54:33 +00:00
Jake.Stine c1dbdd7b62 SPU2-X: Upgraded license to the LPGLv3; and changed some #ifdef mess to #pragma once.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1419 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-21 11:00:53 +00:00
arcum42 bd093b41bd Recursive inlining appears to be driving gcc to drink, or at least, to use up all available system memory trying to compile microVU.cpp and then failing. :(
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1418 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-21 10:26:56 +00:00
Jake.Stine ed89876ba6 Added a new function "DevAssert", which is intended to provide assert-like functionality to Devel builds of Pcsx2. Developers: Check the code comments for more details.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1417 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-21 09:26:28 +00:00
Jake.Stine 101dbdd132 SPU2-X: *Really* fix compat with older versions of pcsx2 this time (0.9.4 and prior) >_<
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1415 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-21 08:24:17 +00:00
cottonvibes 9d091450b1 microVU: minor changes...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1414 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-21 07:01:41 +00:00
refraction fffe95bc4b Fixed a really silly typo which possibly broke loads (Including Star Ocean 3, thanks rama :P) masked it by removing some redundant code too.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1413 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-20 22:46:20 +00:00
gabest11 5f45219eb9 GSdx: fixes for ffx2 menu
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1412 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-20 20:28:36 +00:00
refraction d3f01bc572 Just a couple of unpack changes, some games thought they were overrunning when they weren't (punisher for one)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1411 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-20 16:55:18 +00:00
refraction 7266dd12d2 Fixed up Soul Calibur 3 regression in r1400. It was a test bit of code, which is obviously wrong :P
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1410 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-20 13:26:52 +00:00
refraction 3ad38e99cb Fix for Izumo Complete Issue 277, due to lack of understanding of VIF reset.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1409 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-20 13:08:17 +00:00
cottonvibes 40ae3c6ecd microVU: more minor changes...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1408 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-20 04:33:55 +00:00
cottonvibes 2f186e647e microVU: minor changes
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1407 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-20 03:45:44 +00:00
gabest11 69e3dcfa63 GSdx: everything should be back to normal now
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1406 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-19 20:43:08 +00:00
gabest11 191a3d0c7e GSdx: another useless revision...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1405 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-19 20:31:36 +00:00
gabest11 6ef94cc707 GSdx: ignore this...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1404 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-19 20:24:18 +00:00
refraction 254b105f6f Just changing a couple of logs back i accidently changed during development
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1403 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-19 13:47:05 +00:00
gabest11 df8c611084 GSdx: trying to fix gaps between sprites that may still appear with d3d in native res
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1402 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-19 13:03:59 +00:00