Commit Graph

4736 Commits

Author SHA1 Message Date
gigaherz 2fed2964f5 Backport the NRG fix to trunk.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5490 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-28 13:41:43 +00:00
gigaherz 4a27edc8a3 Revert previous mistake.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5487 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-28 01:44:32 +00:00
gigaherz d2f3b4a7fc async-iso: First iteration of the experimental read-ahead system.
In this iteration, a simple read-ahead scheme is used where the next expected read begins as soon as the CDVD code calls FinishRead.
The expected improvement is close to 0 since a similar system is already in place in the core.

The next iteration should have an internal buffer, and use completion callbacks to initiate read-aheads as soon as the previous read is done, without waiting for the emulator to fetch the results of the previous operation.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5486 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-28 01:42:39 +00:00
gigaherz ac28815316 Merge async-iso branch into trunk.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5484 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-23 19:21:23 +00:00
sudonim1@gmail.com 4eb5dedef1 Core: Changed when scratchpad DMA waits on the VU1 thread with MTVU active, might fix/speed up something.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5483 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-21 00:46:16 +00:00
refraction@gmail.com ac54bad33c VIF VU Execs: Fix for r5404 (the fabled Baldurs Gate fix). Need to check that when VIF ends there is no queued VU Exec left else it gets abandoned. Fixes freezing in Legends of Wrestling 2, possibly fixes the graphics on Warship Gunner 2
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5482 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-20 23:46:09 +00:00
refraction@gmail.com c46d422887 SPR VU Access (Again): Managed to get VU0 working the way we wanted it, thank to sudonim1 for pointing out where i was failing.
Also added a check for a possible scenario where SPR may try and read/write crossing VU0 memory boundaries in to mirrored space, could cause issues in games if it happens.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5481 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-19 20:20:14 +00:00
refraction f3844f026a SPR VU Access: Changed VU0 back to using physical memory map addresses, Doesn't seem to work the other way. Fixes CSI 3 - Dimensions of Murder SPS
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5480 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-16 14:23:47 +00:00
gregory.hainaut db1cd9a5c5 async-iso:
* add cmake plumbing for libaio
* add Native EOL style on cmake file


git-svn-id: http://pcsx2.googlecode.com/svn/branches/async-iso@5479 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-13 16:11:53 +00:00
ramapcsx2 7f45b21be1 SPU2-X:
Just adding a log to devel builds. This is a curious case we want to be notified about.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5478 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-13 14:44:36 +00:00
refraction 71065506c1 Vif: Modified VIF FIFO reverse while VIF is active hack. Now just makes sure VIF is stopped before it swaps direction either way. Fixes Sled Storm.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5477 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-08 13:00:31 +00:00
gregory.hainaut 038dbd8401 async-iso: finish the linux port
Warning new dependency libaio. Cmake would need to be fixed later too.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/async-iso@5476 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-07 15:53:27 +00:00
ramapcsx2 401bd9201e async-iso: Fixed MSVC 2008 project file.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/async-iso@5475 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-03 20:02:43 +00:00
gregory.hainaut 7a1d67409d async-iso: linux. Create an empty FlatFileReader implementation. It will be completed later based on http://code.google.com/p/kernel/wiki/AIOUserGuide
git-svn-id: http://pcsx2.googlecode.com/svn/branches/async-iso@5474 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-03 19:53:27 +00:00
gigaherz cf5d7780ba async-iso: Some cleanups.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/async-iso@5473 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-02 18:16:23 +00:00
gigaherz f7a1e04a46 async-iso: Update the vs2010 project files.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/async-iso@5472 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-02 15:24:27 +00:00
gigaherz befc637441 async-iso: Uncomment and fix the blockdump creation code.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/async-iso@5471 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-02 14:20:42 +00:00
gigaherz 1871750733 Attempt at making blockdump loading faster, may go either way.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/async-iso@5470 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-02 01:43:15 +00:00
gigaherz b9f8be3323 Fix blockdumps containing 2352byte sectors.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/async-iso@5469 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-02 01:06:00 +00:00
gigaherz 6dcc908884 Fix blockdump reading, the disc type wasn't being properly detected.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/async-iso@5468 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-02 00:53:14 +00:00
gigaherz d8a1534bce async-iso: Fix non-debug builds.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/async-iso@5467 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-01 20:32:18 +00:00
gigaherz 568e74f0e4 async-iso: Current state of the code. It was done on vs2012 so only the vs2012 project file is updated with the file changes.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/async-iso@5466 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-01 19:42:24 +00:00
gigaherz d7372ef0cd Creating a branch to backup and track future progress on my attempt to make the internal ISO reading code asynchronous.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/async-iso@5465 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-01 19:40:00 +00:00
gregory.hainaut c86ca9c56e gsdx ogl: don't check dual source support on SW mode to avoid a crash on SW mode. (note HW is still crashing but better than nothing)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5464 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-11-27 07:50:51 +00:00
gregory.hainaut 3c3e0f7113 cmake: always use /usr/lib/i386-linux-gnu when it exists
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5463 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-11-24 22:37:26 +00:00
ramapcsx2 ab207187bd That warning was annoying me :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5462 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-11-23 19:56:06 +00:00
refraction 5cdad0ed20 GSNull: Change the register set definitions to structs instead of unions so it ACTUALLY writes the data to the registers, rather than just writing to 2 predefined variables then being overwritten the next time a write is done to something else :P
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5461 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-11-23 17:47:08 +00:00
sudonim1@gmail.com 2a0bbc89db SPU2-X: Actually ignore successive writes within 4 ticks to the same key-on bit, don't just say we do. I think I just forgot this return in r5418. Fixes The Legend of Spyro: The Eternal Night (probably the other two legend games too).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5460 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-11-21 14:32:55 +00:00
ramapcsx2 6050e9bb05 SPU2-X: Made the message "KeyOn after less than 4 T disregarded" less visible on release builds. It tended to slow games down.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5459 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-11-21 12:18:50 +00:00
refraction 3d247da4c2 GSNull: Stop it calling itself "Firewire" in the config etc.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5458 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-11-21 11:18:22 +00:00
ramapcsx2 7d5201f328 Game Database: Removed Midnight Club 2/3 skip video hacks since they're reported fixed (after r5393). A few other, rarer games still have video skip hacks though.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5457 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-11-15 09:04:23 +00:00
ramapcsx2 00d6980bec Game Database: Added the OPH hack to Tomb Raider Angel of Darkness, making the game playable.
It also needs to be started via full boot. Issue 1355 is about that.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5456 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-11-14 20:32:55 +00:00
ramapcsx2 95ff6f5f6f Game Database: Removed the IPU busy patches from Neo Contra as they're not helping anymore. Also added the OPH hack for Motorstorm Arctic Edge.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5453 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-11-14 18:17:59 +00:00
ramapcsx2 3c478fed8f Add a dev notice for a tweak point with VU0 Macro/Micro updates.
This is rare and I'd like to know when games trigger this.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5452 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-11-13 16:47:51 +00:00
ramapcsx2 376e373137 Fixed Prince of Persia Sands of Time by increasing the VU kickstart cycles a bit.
(Issue 1341)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5451 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-11-12 20:48:55 +00:00
ramapcsx2 a208901b9d Like this?
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5450 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-11-12 17:31:21 +00:00
refraction 094a8ab0d6 Corrected masks again, apparently my brain refused to function properly last night. Thanks for pointing out my noobness Sudonim1
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5449 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-11-12 13:13:29 +00:00
refraction 8f6d4963bc fix the masks in the previous commit, habits die hard :P
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5448 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-11-11 19:20:55 +00:00
refraction edc2389b23 Modified the way SPR accesses the VU memory as the old method doesn't seem to work with the VU's since the MTVU change in r4865. Fixes Summoner 2 in Issue 1354.
Probably is a better way of doing this, but this works ;p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5447 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-11-11 19:18:50 +00:00
sudonim1@gmail.com 1468b21ca0 SPU2-X: Disabled the parked voice processing optimisation completely for now. Fixes Silent Hill: Shattered Memories, maybe others. Reduces speed for all games. However much you hate this change, I hate it more.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5446 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-11-10 18:10:34 +00:00
ramapcsx2 28e6d96955 SPU2-X: 2 known games set an illegal reverb EEA that randomly causes crashes in the plugin.
We need to figure out what real hardware does with it but for now let's disable the effect engine in that case.
Affected games: Summer Beach Volleyball and 18 Wheeler.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5445 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-11-07 19:39:29 +00:00
ramapcsx2 4375f5b8c4 Hide the "Disable GS output" option since it's currently broken.
All this commit does is hiding the option in the GUI.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5444 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-11-02 09:29:39 +00:00
refraction 159c4ba138 VIF: Fixed a bug which caused PATH3 masking to fail if there was an IRQ on the FlushA command while it needed to wait. Fixes Futurama Issue 1343
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5443 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-10-31 22:12:38 +00:00
gregory.hainaut c4af005f0b gsdx ogl:
* retry compilation when driver failed to compile with a static 'index' constraint. Replace previous AMD hack.
* clean context default attribute value
zzogl 4: clean context default attribute value too.
zzogl 3: backport texture size fix


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5442 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-10-29 21:35:47 +00:00
gregory.hainaut a9020c6065 GSdx: only enable AMD hack for AMD GPU. Remove the older geometry shader hack fixed since 6 monthes
ZZogl: support xdg for the replayer


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5441 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-10-28 10:14:42 +00:00
gregory.hainaut 059346b5f2 zzogl: fixed crash at startup for Intel (and probably nvidia too). Opengl3 and 2 don't support the same set of attributes
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5440 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-10-27 16:52:51 +00:00
gregory.hainaut 972aa02c11 cmake: policy existence must be checked on older Cmake version...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5439 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-10-25 18:10:28 +00:00
gregory.hainaut 41a5578097 zzogl: Check the size of both rectangle and 2D textures. Hopefully will fix Sandybridge system. Tests are welcome.
cmake: be sure that EGL is supported


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5438 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-10-23 19:59:00 +00:00
gregory.hainaut d5b318b990 zzogl:
* move all remaining glx into the dedicated GLwin object
* rework a bit WGL to separate opengl context and window creation (like linux actually)

gsdx: Allow to control vsync. Not sure I used the good extension.

cmake: 
* check that EGL opengl context creation
* Shut up gcc warning when force inline might not work...



git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5437 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-10-21 18:10:13 +00:00
gregory.hainaut f53a062063 license: update the copyrigh address to please linux distribution
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5436 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-10-19 20:27:50 +00:00