Commit Graph

980 Commits

Author SHA1 Message Date
gigaherz 792b1031e6 Fixed the crashing with blockdumps. It was the "iso file format" lib I took from cdvdiso.
So I axed the compressed iso (Z/BZ2) format reading, as part of fixing it. Anyone needing it can still use CDVDiso.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1501 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-13 01:11:29 +00:00
gigaherz 6924e9cc44 Shit I'm commit-spamming again. >_<
Fixed a "omgf"-class bug, which just happened to work while using ISOs because of a shared variable which wasn't meant to be shared.
And more cleanups.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1500 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-13 00:24:43 +00:00
gigaherz bd5eaf9077 Fixed a "whoops" bug on CDVD closing. Removed some unused code from CDVDisoReader.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1499 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-13 00:13:36 +00:00
gigaherz 0d879dec90 Remade CDVDisoReader from CDVDiso, without removing the blockdump stuff.
Included CDVDiso's iso handing functions into core (with renamed filenames).
Implemented block dumping into CDVDaccess so that it also dumps from a CDVD plugin.
Made the blockdump creation use a timestamped filename (can be turned off in the code), but it needs implementing a linux version of the timestamp.
The blockdump choice doesn't get saved (yet), and I'm not sure if I should make it save, or leave it as is.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1498 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-12 22:52:39 +00:00
arcum42 c27e1328c6 Unbreak Linux. (I'll wait on actually adding the new features.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1497 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-12 20:20:25 +00:00
gigaherz 43f8746906 Implemented WIP code to run a ISO image from within pcsx2, ignoring the currently selected cdvd plugin.
I tried it and it seems to work, but I can't assure it's bugfree.
Next step is to implement internal blockdump creation and loading, and fix any problems ppl might have with this.
(And sorry for breaking linux on every commit I do. :P)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1496 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-12 17:17:57 +00:00
gabest11 aa438a6b73 GSdx: game fixes and small optimizations
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1495 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-12 13:46:05 +00:00
arcum42 a72f0e6ee2 Fixed up the Linux build.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1493 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-12 01:19:28 +00:00
ramapcsx2 f166306276 SPU2-X:
Fixed a problem in volume slides that caused them to update way too slow.
Music in Ys 6 works again.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1490 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-11 23:46:34 +00:00
gigaherz bef8f8b07f Refactored the IsoFS crap to use better function names, and removed some stupid remains from when this code was part of a PS2 driver.
Added a WIP Iso reader to pcsx2. Right now it doesn't do anything (meant to be a backup in case I mess things up too much later), but the idea is to integrate iso reading, blockdump creation and loading into pcsx2, obsoleting CDVDiso and cdvdBlockDumper, and giving support for potential future features.



git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1489 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-11 23:24:23 +00:00
arcum42 18dfadfa79 Fixed the last commit. :(
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1488 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-11 17:26:11 +00:00
arcum42 192f602ae7 Fixed up the Linux build. A couple minor OnePad changes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1487 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-11 17:21:23 +00:00
gigaherz 14ccee3153 Renamed a few files so that they more clearly represent their meaning. This was goign to be part of a bigger change but I got annoyed before I had to chance to actually start working on it, so I'll drop this anyhow.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1486 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-11 16:39:58 +00:00
ramapcsx2 0fb4e89fe2 Removed the wait cycles hack, and made it effectively always on.
The magic values for this setting were made for the old, sometimes failing system.
It should not be needed anymore, and testing confirmed that.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1485 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-11 15:43:28 +00:00
arcum42 4601e4e225 Reformatted Mpeg.cpp. Reworked mpeg2sliceIDEC a bit, and added a fix which I'm not totally sure of, so it's currently disabled. Did a few other misc cleanups.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1483 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-10 18:19:38 +00:00
arcum42 b0861c6d81 OnePAD: All around my hat...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1482 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-10 06:07:32 +00:00
arcum42 cae05180f5 Onepad: Added a clear all button, and did some work on the backend.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1481 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-10 00:05:05 +00:00
cottonvibes 2d8ae979b3 microVU: fixed some bugs...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1480 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-09 08:43:47 +00:00
ramapcsx2 629950a1fa GSdx: New default settings, to avoid common mistakes and problems.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1479 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-08 16:15:33 +00:00
gabest11 af643a38b2 GSdx: 4 bit local-local transfer crash fixed (shadow hearts)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1476 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-07 13:04:56 +00:00
gabest11 a7ce451167 GSdx: couple of fixes for the new palletized lookup mode
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1475 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-07 10:57:04 +00:00
cottonvibes d9963bb54e Fixed System 11 emulation in Tekken 5
(EErec bug: madd should be signed multiplication, not unsigned)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1474 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-06 23:58:59 +00:00
gabest11 90e7944577 GSdx: the new option was accidentally linked to vsync, they got the same control id.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1473 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-06 18:09:31 +00:00
gabest11 f9f056d581 GSdx: fixing/breaking things again... palletized texture lookup can be done by pixel shader now (selectable, off by default), if you have a fast card it may help with texture heavy games, otherwise it is only going to be slower.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1472 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-06 16:35:06 +00:00
cottonvibes 4acf6c6a8c microVU: delete -> delete[] xD
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1471 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-06 08:45:45 +00:00
cottonvibes 7f5827cee6 microVU:
- Kill programs if they haven't been used in ~7 seconds.
- Only kill 1/4 (instead of all) of total programs if all slots are full.
- Make sure programs are searched from oldest to newest. (this is needed to ensure that new programs don't 'evolve' into old programs and repetitively clone themselves.)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1470 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-06 08:26:13 +00:00
gabest11 f24be5c352 GSdx: a few games fixes (one piece grand battle, xenosaga 1, chikyuu boueigun 2)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1469 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-05 12:58:59 +00:00
gabest11 fad91c7ebf GSdx: got rid of that bogus multiple inheritance, it just didn't feel right
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1468 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-05 00:18:33 +00:00
gabest11 2ed180d7c0 GSdx: last commit broke the sw renderer, the compiler seems to misalign the "this" pointer for member callbacks when two base classes have virtual destructors at the same time (or just virtual members, didn't test it).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1467 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-04 23:52:58 +00:00
gabest11 ae62a56cc1 GSdx: more leak cleanup
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1466 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-04 22:54:57 +00:00
gabest11 6eed14ae75 GSdx: fixing the (texture) memory leak
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1464 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-04 17:37:06 +00:00
gabest11 4c76909afe GSdx: small optimizations and tried to fix that dx9 fullscreen alt+tab crash
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1463 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-04 15:14:04 +00:00
Jake.Stine 2a5a32d359 GSdx: Fixed crash when minimizing GS window and alt-tabbing out of fullscreen.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1462 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-04 11:43:05 +00:00
cottonvibes 43e41bf160 microVU: fixed a bug in program comparison algorithm.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1458 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-03 19:27:48 +00:00
arcum42 d82c3653ce WIP: Zeropad fork. This is intended more as a backup copy so I have a good copy to work from then as a release. As such, while it works, the gui is glitchy, the Windows port is non-existant, and a lot of things are subject to change...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1457 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-03 11:45:47 +00:00
Jake.Stine 25aa15a0a2 Changed some stuff around with register freezes and mutex locks in the MTGS to make it thread-safe for concurrent threads sending packets to the GS. (packet locking is currently commented out since it's not actually needed yet)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1456 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-03 06:05:48 +00:00
Jake.Stine c13cc555be A couple minor compiler warning fixes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1455 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-03 01:06:53 +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