Commit Graph

991 Commits

Author SHA1 Message Date
gigaherz
f910d26c6e Some fixes and cleanups. Now the File->Run* options won't reset the emulation, so it might be possible to swap discs properly from nodisc, iso or whatever cdvd plugin has been selected (to switch between iso/cdvdplugin/nodisc, it's necessary to use the file menu options, as run->execute will not update the active cdvd interface).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1514 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-15 04:31:14 +00:00
gigaherz
e2c31ae72a Now that having internal CDVD interfaces is easy, I added a NODISC interface, with a menu option to run the BIOS with no disc.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1513 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-15 01:17:28 +00:00
gigaherz
89c239d443 Tiny "Whoops".
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1512 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-15 00:32:50 +00:00
gigaherz
3f28c12fe7 Start improving the CDVD interface. Change the internal ISO interface to use it.
I will later work on getting the typical plugins to support these new functions.
I have tried to also update the linux side, but I can't compile or test it so it might not work properly.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1511 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-15 00:27:27 +00:00
gigaherz
eda0b1ab13 Remove some messages from release builds, switch some remaining printf to Console::Status and remove a layer of bloat when checking if an iso image is double-layer.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1510 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-14 22:36:53 +00:00
sudonim1
5bd531e212 Made the EE recompiler 64-bit constant buffer (was called a "stack" despite not being used as one) reuse recent constants rather than duplicating for every instance, resulting in less recompiler resets (e.g. espgaluda resetting every couple of seconds).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1509 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-14 21:33:38 +00:00
Krakatos
633d83a2c4 Switched from vs2008 to NSIS for creating the installer.
Not final version, but putting it here as backup
Instructions in the txt

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1508 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-14 20:20:31 +00:00
arcum42
60e1365e8a Linux: Implemented the gui side of the new built in ISO loading functions in Linux.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1506 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-14 10:36:56 +00:00
Jake.Stine
b8b7e8d14d Minor code conformity cleanups and svn properties settings for new cdvd code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1504 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-13 13:09:27 +00:00
arcum42
31869753a0 Fixed Linux again. Still don't have time to actually implement adding the new features yet in Linux. (Likely won't till next week or later)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1503 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-13 11:09:42 +00:00
Jake.Stine
366357228d Bugfixed thread affinity restoration during CpuSpeed detection; pcsx2 should use all your cores properly again. :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1502 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-13 02:14:09 +00:00
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