Commit Graph

2886 Commits

Author SHA1 Message Date
ramapcsx2.code b9bb764749 Moved some stall related logs to DevCon(sole) as games that trigger them will slow down.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5628 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-05-17 07:24:31 +00:00
avihal@gmail.com 6bfcf433db (Patch by KrossX): Fixed multitap (e.g. Timesplitters), New: support raw PSX memcards (mcd/mcr), Fixed issues with pad 2 (e.g. issue 1326).
- Also, I slightly modified the default column widths at the memory card config panel.
- Tip: If the column widths are resized, the new widths will get saved after clicking OK/Apply, but NOT if clicking Cancel or closing the window with [X]. 

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5622 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-04-27 16:24:02 +00:00
refraction@gmail.com cd7c24895c DMA/Path3 Masking: Shameful hack to make Wallace & Gromit in Project Zoo work. Game does something stupid, not sure how we will resolve it properly, but this will be harmless to any games not using Path3 masking.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5617 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-04-13 22:04:35 +00:00
refraction@gmail.com 3f80ce330e CDVD: slightly modified the way PCSX2 checks for oddly sized DVD's. Some CD's weren't providing information as expected so it detected it as a DVD, resulting in nothing but TLB misses.
Fixes Impossible Mission, possibly other games that do nothing but TLB miss or fail to load an IRX module.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5616 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-04-13 19:11:04 +00:00
refraction@gmail.com 4ad29982ac microVU: Parametrised D-Bit handling. This *Shouldn't* be needed in retail games, but now it's working it could be useful for homebrew and testing. By default this is now disabled, but can be enabled by editing the parameter in microVU_Misc.h
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5615 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-04-12 09:16:15 +00:00
avihal@gmail.com f0c76c3244 Cheat files: If no disc is inserted, treat CRC as 00000000 when trying to load pnach files (previously, empty CRC would result in *.pnach wildcard, which tried to load all pnach files).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5614 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-04-12 00:23:05 +00:00
refraction@gmail.com c472db6327 microVU: Fixes to D/T Bit handling and XGKick Delay
-Elemental Garde - Fixed up D-Bit so it remembers the microVU state when recompiling, this fixes the bad geometry that was introduced with T/D bit handling.
-WRC Rally Evolved - Changed the XGKick delay to an increased number, solves all remaining SPS problems.
-Crash Twinsanity - Increased XGKick delay resolves geometry issues on Crash, thanks to Autoran1 for debugging this :)

GameDB Changes: Added XGKick hack to Crash Twinsanity auto gamefixes, checked the main entries for the others above have it too.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5608 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-04-08 20:47:04 +00:00
refraction@gmail.com 75284c9b76 microVU: Reverted original Xtreme G Racing 3 change as that was a hack, found the real problem. Evil jumps on E-bits, could it get any worse????
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5604 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-03-30 23:50:22 +00:00
refraction@gmail.com 6d456b8a69 microVU: T/D Bit cleanup, slightly better code, makes much more sense to how the PS2 does it. Fixed ICO's graphics.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5594 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-03-18 09:32:41 +00:00
refraction@gmail.com 31221a29bd microVU: Save PC when processing T/D bits on branches, this is to ensure the rest of the block gets compiled correctly. Could have been the reason VP2 was freaking out after loading a save.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5593 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-03-13 11:26:42 +00:00
refraction@gmail.com 2ef95df6e1 microVU: Another branch delay slot fix. Extreme-G Racing now playable in microVU :)
If anybody has Mark of Kri, can you please confirm that's still working okay? I'm expecting it to, but just to be sure.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5592 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-03-13 00:51:39 +00:00
refraction@gmail.com cba8b0f6e5 microVU: Made the new logs mVU logs for Rama <3
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5591 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-03-12 23:45:13 +00:00
refraction@gmail.com 501766d852 microVU: T/D Bit on branches fixed, kinda. It's ugly, possibly wrong in places, but it works for known games that fall for this. Fixes VP2.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5590 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-03-12 23:37:50 +00:00
refraction@gmail.com e3fead7f09 microVU:
- Fixed up the T/D Bit handling properly this time (or at least much better).
- Moved the interrupt outside of the recompiled code.

VU Interpreter:
-Fixed the T/D Bit handling when the interrupt wasn't enabled.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5587 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-03-11 21:54:05 +00:00
refraction@gmail.com c81eab917e microVU: T/D Bit handling. Improved it so it doesn't kill the BIOS.
Also adjusted the bios bug handling, there were reports of our new handling breaking a game called Triggerheart Excelica Enhanced, hopefully this should make it work again.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5586 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-03-11 16:36:32 +00:00
refraction@gmail.com b7d28572a2 MFIFO: Added protection on MADR when it is on the edge of the ring buffer when setting the DMA Tag where the data follows the Tag.
Fixes Front Mission 4.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5585 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-03-11 16:02:56 +00:00
refraction@gmail.com e8b09949f8 MFIFO: Just over the top of the ring buffer is not classed as in the buffer (reaching the top is masked anyway). Fixes DDR X and Supernova games.
Bug was introduced between r4034 and r4039.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5584 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-03-10 23:24:00 +00:00
refraction@gmail.com 8d0f6701b7 microVU/VU Int: Implemented T-Bit/D-Bit handling on microVU.
-Dreamworks Over The Hedge actually requires this to load.  Interpreter kind of had it right, but didn't stop the VU on these flags, causing the graphics to look bad and hang on the start button, works fine now.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5583 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-03-09 11:03:59 +00:00
refraction@gmail.com 2e363b376e CDVD: Corrected logging output for sector being read for DVD/CD reads. It was reporting the sector it was currently at, not the one it was actually reading.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5582 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-03-08 15:24:30 +00:00
refraction@gmail.com a467075ae0 Missed a log.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5576 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-24 20:34:50 +00:00
refraction@gmail.com f984c7027f Decided after discussion amongst the team to let the BIOS bugs run wild. Altered microVU to just ignore these problems and end silently (The real VU would probably do this anyway)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5575 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-24 20:29:51 +00:00
refraction@gmail.com ef6cc1d715 Implemented VI Backing up for branch instructions on the VU Interpreter. Fixes Kingdom Hearts 2 and possibly others when running off the interpreters.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5574 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-24 18:58:52 +00:00
refraction@gmail.com 64474926f1 As previous commit - But check anywhere in the BIOS. It varies, the address i used was for Europe 1.7 only >.<
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5572 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-24 15:24:28 +00:00
refraction@gmail.com 3f27730f45 Fixed up my changes from r5569. Change it so it only reverses the order during the bios writes to VU memory. FFXII is fine again, games still not have the unknown op problems, also TOCA 3 no longer has the illegal opcode errors.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5571 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-24 14:37:30 +00:00
refraction@gmail.com 4cada4d0ff microVU: Fixed random Unknown Opcode messages. Turns out the bios blanket writes MOV VF00, VF00 and NOP (for lower, upper respectively) ops to the VU's on boot, apparently some game designers new this and just left it being ran as part of their programs. Our problem being is it was writing it to the VU MicroMem in the wrong order!
All fixed now :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5569 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-22 16:30:59 +00:00
refraction@gmail.com 03b15d395e microVU: Slight modification to yesterdays work. Realised blocktype 1 needs its flag status's checking too.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5567 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-21 18:32:20 +00:00
refraction@gmail.com adc075a098 microVU: Fixed 1-Op flag linking (hopefully) if it kills stuff let me know and ill revert. Hopefully it'll help MGS2 a bit, but no guarantees.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5566 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-21 01:07:52 +00:00
refraction@gmail.com a1bc42fa92 VIF: Put in a check to make sure VIF doesn't break during a FIFO write.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5565 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-18 21:17:35 +00:00
refraction@gmail.com 8c86009a27 microVU: Found another bug with double branches, when there is a conditional in a JR/JALR delay slot it may have ended up in the wrong place. Unknown what it fixes, if anything.
VIF/Path3 Masking: Put a timing break in on Path2 transfers, this gives it chance to stop being busy incase it is closely followed by a path3 mask, which caused it to go out of time.  Fixes Sensible Soccer.

VIF: Fixed up a couple of typo's, which may or may not have done anything, one which was not setting an offset if it stalled on 1/4 of a quadword, which could have been disasterous if done by the wrong game.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5564 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-18 20:42:27 +00:00
avihal@gmail.com c64c9a16ad Typo fix.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5563 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-18 16:45:21 +00:00
avihal@gmail.com 8cc03b1e2a Multiple cheat files and WIP: widescreen cheats
1. Multiple cheats files (at the "cheats' folder) can be loaded, as long as they begin with the CRC and end in '.pnach' (e.g ABCD1234.Persona4(EU).god-mode.pnach)

2. Multiple cheats are also loaded from the Widescreen hacks folder ('cheats_ws'). File names rules are the same as for normal cheats.

TODO: Add config and GUI for widescreen hacks. Right now the cheat files from cheat_ws folder are loaded if cheats are enabled. We need a separate config for that.

Thanks to dlanor from the forum for his filenames wildcards patch: http://forums.pcsx2.net/Thread-PCSX2-Patch-Finder-Removed-completely-or-just-hidden?pid=263592#pid263592

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5562 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-18 16:39:46 +00:00
refraction@gmail.com 484065d0a8 microVU: Fixed linking on branch delays. There may still be some situations that don't work correctly, but i don't have any games which use it, have ammended console logging to inform us if the game is broken.
Fixes in this commit:
-Evil Dead - Fistful of Boomstick - Now goes ingame and works right (needs software mode on gsdx to fix lighting)
-Tony Hawk's Project 8 - Graphics are no correct. Like earlier TH games, you need Negative rounding to fix it all.
-Mark of Kri - The game now has collision detection! Apparently before you'd get stuck on objects, now you can walk freely.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5561 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-18 15:39:22 +00:00
refraction@gmail.com a7c8da7578 Path3 Masking: Fix up some timing issues (now we have some lol) which made puzzle quest look even worse than it already did. also as a test i have enabled Intermittent transfer modes on GIF, however it's only very loosely working as it should, just enough so Puzzle Quest looks right.
If it slows things down too much (initial testing is showing minimal slowdowns), then we can always disable it again.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5560 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-13 21:49:54 +00:00
ramapcsx2 fae268b269 One more patch by KrossX:
Should fix the VS2012 project files for when only VS2012 (and not VS2010) is installed.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5557 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-12 11:46:36 +00:00
ramapcsx2 b5e33f9c6c Make dev and debug builds report "PS2DVD" disks instead of CDVD_TYPE_ILLEGAL.
Need this for homebrew which wants to read disks.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5554 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-10 19:50:46 +00:00
refraction@gmail.com 7b195696a7 VIF: Hack for Dynasty Warriors 5 Empires. Completely harmless hack to make sure we aren't still waiting for PATH 2 data after a VIF reset. Something really odd is going off with the VIF packets in this game (probably SIF or something), but until we know what, this'll do.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5553 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-10 18:31:35 +00:00
refraction@gmail.com e8d865d01d Gif Unit/VIF: Fix up some bits from r5551. Fixes SSX 3 and Charlie and the Chocolate Factory.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5552 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-10 15:06:10 +00:00
refraction@gmail.com b51f0b01dd GIF Unit: Gave it some timing, kind of. Well the APATH and OPH flags in GIF Stat will now pretend it's transferring anyway, this makes games that read these flags and expect to see them busy very happy indeed. (187 Ride or Die as an example).
I'm expecting something to break, it's my code, it's bound to. But i have tested some 40 games without problems, so my hopes are high!

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5551 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-08 23:41:28 +00:00
refraction@gmail.com 0e80111499 VIF/VU: Removed all the everblue crap, found another way of doing it. As the savestate bummp wasn't needed anymore, i've put it back again. savestate users rejoyce?
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5546 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-05 23:30:25 +00:00
refraction@gmail.com c30f67b767 VIF/VU: Fixes for Everblue and Hitman 2 from r5404, details below. Savestate bump needed, sorry. Also fixed a copy/paste bug i noticed along the way in vif0FBRST.
Everblue: Slightly messy fix, not as nice as id hope, but it seems to work, we need to remember VU programs written to the VU so we can check if an unpack is modifying it.  This retains the behaviour of the Snowblind engines whilst fixing everblue.

Hitman 2: Our vif0/1VUFinish() routing which works in conjunction with the delays wasn't paying attention to if the VIF was stalled or not and reran it before the game wanted it to, now fixed.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5544 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-02-05 00:42:44 +00:00
refraction@gmail.com c78b6157cb VU Interpreter Branch Delays: After some brainstorming amongst the team, we came up with a theory on what should be happening. I'm pleased to say it works in all cases.
As a bonus, the Tony Hawk Project 8 game (possibly the others using the same engine too) now have perfect graphics in VU Interpreter :) (software mode still required to get rid of lighting garbage however.  Skipdraw 2 "kinda" works, but not overly well)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5541 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-01-31 23:02:32 +00:00
refraction@gmail.com 73a08536d1 VU Interpreter Branch Delays: Rethink of this. As it's completely undocumented and nobody seems to know exactly what goes on, i have made my own guess...
If the first branch is a branch instruction, then ignore the second.
If the first branch is a jump instruction, execute 1 instruction from the first jump, then execute the second branch. (This is the only confirmed thing i can find from people testing this)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5539 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-01-28 23:05:18 +00:00
refraction@gmail.com 26cac4d837 VU Interpreter: It seems doing JALR in a delay slot is not taken ( Evil Dead - Fistfull of Boomstick) So the game now works in VU1 interpreter only. Tried fixing up MicroVU but its too confusing. Got close but lots of missing textures :(
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5538 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-01-27 16:56:58 +00:00
ramapcsx2 82e4b1166a Fix for blockdumps, thanks gigaherz.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5530 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-01-19 19:33:10 +00:00
refraction@gmail.com f000b3603e VIF: Fixed a logic error from r5380 which broke The Simpsons Game
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5517 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-01-16 21:00:07 +00:00
ramapcsx2 c20de38d4c Make a rare IPU chain mode transfer error log be DevCon only.
The only known game to run into it is fine anyway (Phase Paradox).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5492 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-28 23:00:59 +00:00
gigaherz 5ceb0a139d Fix the fix, one line got lost during the backporting.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5491 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-12-28 13:45:17 +00:00
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
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
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
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
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
ramapcsx2 ec60ba2440 Added a new variable for defining a 'release to public' build which replaces the automatic system we had before. The automatic system doesn't work well with planned updates.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5435 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-10-18 20:49:53 +00:00
sudonim1@gmail.com a06b9064f2 GUI: Don't resize the window automatically while it's maximised or fullscreen. (Annoying consequence: if you change the GS window size setting while it's fullscreen or maximised, the setting will be overwritten by the resize event on restoring to normal size. Seems to be far more hassle to work around than it's worth.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5423 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-09-24 15:12:46 +00:00
ramapcsx2 c26f684a65 Fix from refraction for the recent VIF changes: Unbreaks Sega Superstar Tennis.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5420 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-09-22 20:48:06 +00:00
ramapcsx2 893c5a5c1e Make IOP module loads visible in dev builds as well, not just debug ones.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5419 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-09-22 18:03:44 +00:00
sudonim1@gmail.com 23d638558f GUI: All GS window settings should now apply immediately regardless of the state of the window. (Window size and resizing border were not applying correctly.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5414 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-09-18 19:42:55 +00:00
refraction 3016161920 Modified my changes from r5392, one small fix and some code movement, thanks to DarkShoelaces for pointing it out.
Also cleaned up the DMA change made in r5393 and added a small comment of explination to why it is now right :P

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5413 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-09-13 19:55:25 +00:00
gregory.hainaut 818e5ff4eb i18n: Apply pg patch to better detect the system language
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5411 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-09-08 16:47:02 +00:00
gregory.hainaut 6cf8c444b4 i18n: update 2 strings not aligned on current gui
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5407 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-09-08 16:03:14 +00:00
sudonim1@gmail.com 5ccc4bbfdf SuperVU: fixed null pointer dereference in constructing an exception object.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5406 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-09-05 22:35:49 +00:00
sudonim1@gmail.com ad3720c107 VIF: EXPERIMENTAL, NOT SANITY CHECKED: Delayed VU execution until the next flush, mpg, microprogram call or (as a fallback) end of dma packet to deal with cases like MSCAL, UNPACK, MSCAL (expects the first program to receive the unpack data).
Fixes Snowblind's games (BG Dark Alliance etc.), Mortal Kombat Shaolin Monks.  May break things, needs extensive testing.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5404 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-09-05 20:13:50 +00:00
gigaherz 31f685c490 [VS2012] For some reason when I made the conversion I totally forgot to copy these, and I didn't notice that until yesterday.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5403 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-09-05 18:04:09 +00:00
ramapcsx2 99d8eac84a Found and hopefully fixed a really long standing DMAC bug.
This gets videos working in Katamari Damaci, Baldurs Gate, Tales of Destiny 2, Suikoden Tactics and others.
May fix other games as well, these are just the popular ones :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5393 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-31 19:11:57 +00:00
refraction ca2d9b0469 Vif Unpacks: Fixed Issue 1325 with Non-SSE4 processors.
Put in some handling for MPG Overflows (VIF command, not videos :P)
Fixed another SSE Unpack bug i came across - Effected THPS Project 8

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5392 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-25 19:09:29 +00:00
ramapcsx2 f44e697743 New optional gamefix detects when a full motion video runs and temporarily switches GSdx to software rendering mode.
This is a workaround for the many FMV issues that occur in hardware rendering and that will take a while longer to get a proper fix.
It doesn't have any checks for the current video mode, so don't put GSdx in software mode and expect this to adapt, okay? :p
Note: It's possible to get crashes from switching renderers so please report those if you get them.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5391 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-21 19:11:53 +00:00
gigaherz a21c85266c Make PCSX2 compile with Visual Studio 2012 (3/3): Upgrade the project files and fix a few project names. Update the .sln to point to the right project files.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5384 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-19 19:54:12 +00:00
gigaherz 027b7a8b98 Make PCSX2 compile with Visual Studio 2012 (2/3): Copy project files and solution from their vs2010 originals. Not updated yet!
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5383 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-19 19:45:56 +00:00
gigaherz 72372c2219 Make PCSX2 compile with Visual Studio 2012 (1/3): Workaround compiler differences that result in compile-time errors.
NOTE: The 'glew' project does NOT build yet, but it will have to be decided how to approach the problem (String literal too long in glew.rc)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5382 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-19 19:36:59 +00:00
refraction d465c18228 More vif work to fix Shadowman 2 and improve the function of some parts. Gave vifstalled a more specific job and reasons for the stall. Also did some work with the irq offset, seperating it from the stalls.
Savestate bump needed.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5380 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-16 23:03:27 +00:00
gregory.hainaut 68fa8ae195 cmake:
* search 32-bits library on /usr/lib/../lib32 on 64 system (if they don't support Debian/Ubuntu multiarch)
* downgrade the 64-bits FATAL_ERROR to a warning. It is much more easier to use multiarch than to set a chroot.
* incorporate Micove's patch to allow keyword on PLUGIN_DIR define. (fixed issue 1233)
* Allow to use command line pcsx2 option with the linux launcher script. Thanks Rafael for the idea.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5378 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-15 10:31:28 +00:00
sudonim1@gmail.com 6669b7d6ef Game fixes: Extended the OPH hack a bit to set APATH to each path in turn in addition. Should make the hack fix some Eurocom games (Sphinx and the Cursed Mummy, some Buffy thing, others?)
VIF: changed a memcpy_aligned on 64-bit aligned data to memcpy_fast.  Doesn't matter with the current memcpy set we use but could have caused a crash in the future.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5373 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-14 22:30:04 +00:00
refraction 0e3a7f74be Fixed a bug pseudonym spotted. stalls should be handled properly once again on games that have IRQ's on VIF Mark commands.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5372 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-14 20:52:24 +00:00
avihal c83b72339b Fixed: Change-Language menu item was a checkbox (plain menu item is enough here).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5371 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-14 08:50:12 +00:00
avihal 58ee82334d New: Allow changing the language at any time.
Added menu item (always in English): Misc -> Change Language. Displays a message that the first time wizard will be displayed after pcsx2 is restarted, and requests the user to restart.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5370 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-14 08:35:30 +00:00
refraction f19c0b7ca9 VIF: Some optimizations for the VIF Rec, some small clean-up/optimizations for VIF itself.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5368 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-13 19:11:34 +00:00
gregory.hainaut 20958dede3 i18n: use standard pcsx2_Iconize instead of an additional key lookup. In others word, english string is now included directly in the po/pot
Translators note: I save previous translation but a careful review is mandatory


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5366 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-10 10:10:55 +00:00
ramapcsx2 b40682155a Cleanup part 2: Renamed the readme and faq where they're referred and upped the trunk version to 1.1.0
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5355 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-04 15:37:50 +00:00
ramapcsx2 e60db5cba6 Bit of cleanup in our /pcsx2/docs folder
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5353 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-04 14:58:36 +00:00
ramapcsx2 68121cefcf Re-added prafull to the beta testers list, he got lost somehow.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5350 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-01 00:48:00 +00:00
sudonim1@gmail.com 134ac6a160 GUI: Closing the GS window didn't update the structure telling plugins about the window. Decided that just hiding the window has less race potential.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5347 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-07-24 03:48:38 +00:00
refraction 64447dd23a Path3 Masking: Optimization got missed during r5277 revert. Outrun, GTA:SA, Burnout 2 and others all speed boosted again ;p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5326 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-06-25 20:55:31 +00:00
refraction 7b8d99a69f GIF/1.0.0: Fix some condition bitching from my sloppy coding in r5277 and integrated the change in to the 1.0.0 branch as it will stop the emulator complaining about double interrupts.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5325 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-06-25 12:15:39 +00:00
refraction cb7f27cd76 Revert original fix for Realta Nua as Pseudonym found the proper fix. This should get rid of the regression on Agressive Inline and one of the Matt Hoffman games having textureless graphics.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5277 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-06-07 21:41:00 +00:00
sudonim1@gmail.com 22bdd1fbec GS/GIF: only raise interrupts on IMR writes on falling edges, i.e. if the interrupt was previously masked. Also remove a block about queued signals from IMR writes which makes no sense to me given that the CSR write to clear the previous SIGNAL should be setting CSR.SIGNAL already, which will trigger the interrupt by the standard mechanism. tl;dr: fixes realta nua and probably other stuff.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5273 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-06-06 22:04:39 +00:00
avihal 1628ab154e Games DB: add support for controlling mvuFlagSpeedHack. Disabling this hack for all Katamari games (otherwise enabled by default now) since it has a weird speed bug with it enabled.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5272 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-06-06 20:38:24 +00:00
ramapcsx2 3321b327a9 Changed the defaults for GSdx to native resolution (for emulation accuracy's sake) and made the recommended speedhacks enabled by default in PCSX2.
Also set the auto deinterlace mode in GSdx when the .ini isn't present (instead of "none").

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5270 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-06-06 10:08:08 +00:00
refraction b2932414e8 Path3 Regression Fix: Turns out part of the optimization in r5245 didn't work so well with SSX3, plus it didn't create much benefit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5265 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-06-02 21:52:23 +00:00
refraction 77f0422e7d Gif Unit: Bugfix for Path3 Masking. Fast and the Furious did some channel swapping which freaks it out. Now remembers if it was called by Path 3 for the DMA rewinding to work correctly.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5260 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-06-01 22:23:43 +00:00
refraction ca6b638303 VU Interpreter: Implement branch in branch delay slot handling, fixing hot wheels when using VU Interpreter. Might be buggy, but better than without it ;p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5248 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-05-30 21:18:31 +00:00
refraction 8862d0c963 Path3 Masking Fix: GGIF MFIFO didn't set the GIF state, also added the path 3 stalling stuff to there too.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5247 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-05-30 19:26:37 +00:00
refraction 489bce662d Path 3 games speed up. Stopping VIF looping when waiting for Path 3 to finish (can sometimes loop over 1000 times)
Examples of speed ups:

Outrun 2006

before 43.4 - 45.7
after  44.7 - 47.33

Grand Theft Auto: San Andreas
before 63 - 66.9
after  66 - 69.5

Need for Speed Most Wanted

before 33.0 - 33.3
after  33.22 - 33.57

Burnout 2

before 46.5 - 48.3
after  53.2 - 55.5

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5246 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-05-30 19:19:53 +00:00
refraction 098640b06a Path3: Stopped Path3 looping when MskPath3 is enabled, reduces the amount the recompiler has to exit, yeilding a small speed boost (but it is really small!)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5245 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-05-30 18:43:02 +00:00
ramapcsx2 a2908b4fed Found one more progressive scan flag and fixed a typo in the GSdx hacks.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5239 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-05-28 20:32:48 +00:00
sudonim1@gmail.com 1b099aedd1 microVU: fixed a regression from r4940 that refraction caught when reviewing changes for a bug report. Might fix line of sight in MGS2 (the reported bug)? Might have something to do with the ace combat (forget which) collision detection? Might fix nothing but I'm pretty sure this is correct now.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5229 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-05-25 16:23:44 +00:00
refraction 2a49700977 GIF: Fix for Terminator 3 & Growlanser 2&3 collection invisible screens.
*Noted small speed boosts on some games (Outrun up from 48fps to 52fps, MGS3 potentially gaining 1fps, Sega Tennis possibly 0.5fps), could be a freak occurrance tho :P

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5228 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-05-25 14:24:02 +00:00
refraction 8b2ee14b04 GIF: Slight modification to earlier's work, curPath might not have been set right if no APATH at start.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5226 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-05-24 23:28:53 +00:00
refraction 407c8072f7 GIF: Ape Escape 2 fix, who thought it was a good idea to transfer data direct through the damn FIFO >.< Silly developers, i hate you! ;p
(love you really)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5225 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-05-24 18:57:23 +00:00
refraction 9bb28d3fec Gif/VIF:
-Path3 Masking Changes, Gif Unit now rolls the DMA back (Path3 only) if it is using the Masking and finishes mid DMA packet.
-Vif modified to be simpler in the transfer loop and fixes issues where Flushes are called at the end of a DMA packet.

Game fixes from changes:
Outrun 2006 - Water textures and general flickering fixed, also SW mode not required for half screen issue. Caused by GIF Path 3 stopping in the wrong place.
Star Wars Episode 3: Revenge of the Sith - DMA timeouts caused by Flush at end of packet.
Had to break savestates (version change!), sorry :(

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5224 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-05-24 18:46:00 +00:00
refraction 739bcc6886 Path3 Masking: Games should no longer need the EE Timing fix. General fixes for Need for Speed Underground 2 and other games affected by the change. Hopefully Outrun and Terminator 3 will be ok now too, no promises (as i don't have the games)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5222 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-05-23 16:22:03 +00:00
refraction de62189834 Path3 Masking: Fix for Need For Speed Underground - This got broken when the new GIF Unit went in, probably affects many games which use streams of NOP commands before issuing the mask. Game still requires EE Timing Fix however.
VIF Stall Delay hack: Modified slightly for Onimusha Blade Warriors.  This expects the end of the packet to all be in the VIF1 FIFO (which doesn't exist) and the VIF to have finished, so the Stall is technically ignored now, doesn't hurt SOCOM 2.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5220 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-05-22 12:31:56 +00:00
gregory.hainaut 6e1643392c gsdx (Linux): fallback to opengl SW when SDL is selected but disabled
pcsx2: don't print window title in fullscreen because it create a white frame flickering. Seem like a wx regression


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5199 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-05-07 16:07:05 +00:00
avihal e372fd7fd1 Config: Improvement for r5196: MTVU now completely unaffected by presets (including the first).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5197 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-05-03 23:53:56 +00:00
avihal 787529f0cf Config: Exclude MTVU from the presets.
Previously: All presets set MTVU to disabled.
Now: Presets don't affect MTVU (except for the first preset, which disables speed hacks altogether, so MTVU gets disabled implicitly)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5196 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-05-03 23:40:49 +00:00
ramapcsx2 2cb99f0e05 Preliminary NTSC progressive scan support.
The detection is based on a quickly reversed smode1 flag and needs to be done properly.
The timing itself also needs reversing and has only been tested on the VP2 intro video.
(That video now runs without audio / video desync when progressive scan is enabled :) )

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5179 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-04-26 17:07:36 +00:00
gregory.hainaut 3d700b9264 spu2x: revert commit 5157. Soundtouch author change in mind and go for LGPL2+ so we come back to LGPL3+ to avoid license proliferation.
various:
* rename the man page as requested by arch users.
* Delete pcsx2/* symlink. Was only useful for autotool removed few years ago.
* commit the top metadata of my previous branch merge.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5172 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-04-23 18:55:24 +00:00
ramapcsx2 26392e7f3e Change various logs to sound "nicer".
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5160 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-04-17 17:55:51 +00:00
ramapcsx2 05fd151a9e Small fix to mVU. Doesn't seem to help any game though.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5158 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-04-17 16:09:42 +00:00
gregory.hainaut 0f60fc2ffc cmake: svn remove my executable permission so directly call perl interpreter
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5156 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-04-12 19:09:25 +00:00
gregory.hainaut 5627b4dfaf copyright:
* change the man page to gpl3
* add missing copyrigh for zerogsshader
* re write bin2cpp tool (in perl) to avoid any copyright issue => hex2h.pl


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5155 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-04-12 17:52:43 +00:00
gregory.hainaut 72d47d547e copyright:
* update missing copyright on
 + plugins/GSdx/config.h
 + pcsx2/MTVU.h
 + plugins/zzogl-pg/opengl/ZZHacks.h
 + plugins/spu2-x/src/DplIIdecoder.cpp
* put a copyright for trivial script file
 + pcsx2/gui/Resources/rebuild.sh
 + tools/bin2app.sh
 + plugins/zzogl-pg/opengl/shaders.sh
* remove autotool from zzogl
* apply the patch for issue 1257. Thanks very much Micove for the hard work.




git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5154 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-04-12 06:30:35 +00:00
refraction 6c878aa2eb Removed the cycle counting from the new changes for now as there is a considerable speed hit, possibly later we can put a speed hack in there or game fix to emulate the timings correctly, unfortunately it can be a little too heavy.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5151 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-04-07 16:55:42 +00:00
refraction b3f8c59cf4 -Bumped savestate version, forgot to do that in my last commit.
-Fixed a bug stopping GT4 running.
-VIF now waits if the VU is busy rather than spinning, causing huge slowdowns.
-Filled in some bits i missed

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5149 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-04-07 12:27:19 +00:00
refraction d29a30c265 VIF: Reworked the VU delays in to scheduled events to simulate VU run time without killing Metal Saga or Fahrenheit. Adjusted the COP checks on the VU's to use the same method as the VPU_STAT is never set essentially so the VU is never "running".
Path3 Masking: Fixed a bug which caused persona 3 not to boot, previous a hack had been put in place to get around this.
VIF: Fixed a VIF error with the rare game Realta Nua, now goes through the prologue correctly. Game requires the EE timing hack to get rid of most of the noise (Path3 masking problem with new GIF unit, unfixable).

Expecting bugs, I will be monitoring this.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5147 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-04-07 01:48:34 +00:00
refraction 8b563888f8 Fix for Issue 1145 - Issue introduced with VSync changed broke Dynasty Warrior games, this should resolve it. Id swapped the VSync order around but still swapped which Field first, so it started out of sync, silly me!
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5145 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-04-06 14:00:12 +00:00
sudonim1@gmail.com 20b0627e8e MTVU: Move code out of header.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5144 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-04-06 11:34:02 +00:00
ramapcsx2 0ecca4b7de Workaround for the debug build assertion problem discussed in r5141.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5143 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-04-06 09:52:18 +00:00
sudonim1@gmail.com 5561415088 Workaround for the MTVU deadlock on exit issue. There are actually several issues which deserve closer examination here but this fixes the symptom of zombie pcsx2 instances.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5142 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-04-05 19:55:44 +00:00
ramapcsx2 4512a3cad0 A recently added fix for warnings under Linux is creating an assert on Windows.
The problem only affects debug builds but it should get a review.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5141 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-04-05 19:49:49 +00:00
ramapcsx2 406ea42c43 Tests with Grandia Extreme's debugger suggest that SBUS interrupts *never* fire.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5128 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-03-14 13:10:14 +00:00
gregory.hainaut ef37720cb9 i18n: nothing to see... Close issue 1237.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5127 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-03-11 08:35:40 +00:00
gregory.hainaut 4079af2ed7 i18n: update japan. Add french.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5126 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-03-10 20:11:21 +00:00
gregory.hainaut 6a0953ab94 cmake: sparsehash moves header file in newer version! Detect the 2 include pathes and add a define. Fix issue 1222
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5117 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-03-06 19:42:59 +00:00
ramapcsx2 0933ee2fd5 A couple minor changes, including a bad looking block manager bug that wasn't really all that bad :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5109 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-02-28 20:57:07 +00:00
ramapcsx2 aa987595b4 Attempt to fix ICO NTSC CDVD flag bug that appeared in r4961.
Works with my copies of Time Crisis 2 and 3 as well.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5105 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-02-26 11:34:29 +00:00
ramapcsx2 bc4ce5b1bf Removed the mVU block hack. This hack didn't help speed a lot (generally only about 2% if at all) but it caused slow downs and bugs in some games.
People enabled it for a performance boost and often got the reverse, so now it's gone.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5103 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-02-22 21:04:58 +00:00
gabest11 da7324dbf2 Not transferring unused vif registers to the MTVU thread can save at least half of the ring buffer space. The whole set is about 400 bytes, including padding, but I could find references to only 6 regs.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5092 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-02-10 07:03:55 +00:00
gregory.hainaut 4593b6ac52 gsdx: linux compilation fix. Gcc don't support same name for variable and template parameter
cmake: compilation fix on debian sid (and potentially ubuntu)
i18n: add some comment for potential language change in the future.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5088 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-02-06 18:16:49 +00:00
arcum42 bffde4fd5e Get rid of some irritating warnings in Linux.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5037 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-31 18:50:17 +00:00
ramapcsx2 b97dff6c89 Added a workaround for the savestate freeze bug in Gust games when the MTVU speedhack is active.
Aligning GIF packets on state save actions seems to cause some issues with the hack.

Still hope to find a better solution.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5032 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-29 17:08:17 +00:00
avihal f550ffe991 GUI: Exclude Turbo/SlowMo factors from the presets. (Now can keep custom turbo/slowmo speeds while still using the presets)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5029 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-28 22:59:16 +00:00
gregory.hainaut fff11cf207 i18n: add more fallback for some languages (thanks to pg)
cmake: implement the new XDG_STD options
It allow to move all pcsx2 data from $HOME/PCSX2 to $XDG_CONFIG_DIR/pcsx2. Clearly a matter of personnal preference.
debian: drop the useless stable packet from the trunk. Only keep a copy on branch release



git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5001 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-21 20:27:03 +00:00
ramapcsx2 a2dd83b419 Make the CDVD speedhack safer by excluding full seek delays.
Tales of the Abyss should work with the hack now.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4980 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-05 07:58:11 +00:00
ramapcsx2 54688f1f98 Reverted r4942 as some games need this to work..
Fixes Metal Saga menus and should fix Fahrenheit, too.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4962 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-11-07 16:08:30 +00:00
ramapcsx2 278e4af235 Ateste worked on the Time Crisis fix some more and figured out the (hopefully) right flags in the (hopefully) right places.
Thanks for helping out! :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4961 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-11-07 12:33:12 +00:00
cottonvibes f423a9c41d microVU:
- Rewrote and simplified the TriAce gamefix
VU interpreter:
- Implemented a TriAce gamefix for vu0 interpreter

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4960 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-11-07 10:20:56 +00:00
refraction 14a7816e28 IPU bug fix by Shalma, well spotted ;p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4954 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-11-01 18:44:34 +00:00
ramapcsx2 425f6779f1 Following shalma's recommendation, CDVD Status reads now also return the CDVD_STATUS_SPIN flag.
Apparently this is a common game breaker in PSX titles and it carried over to the PS2.
This fixes Time Crisis 2 loading and the frozen input in a horror game I have a dump of.

Please report any other titles you find fixed / broken! :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4952 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-10-31 16:12:38 +00:00
arcum42 5306b13472 More work on the compiler warnings. Removed the warning flags that are now set by default.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4949 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-10-30 00:32:22 +00:00
arcum42 251382aefe Change a few compiler options in Linux to remove a few warnings during compilation.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4947 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-10-29 07:57:06 +00:00
refraction 702f71d5f1 VIF: Removed the vu cycle counting craziness mentioned in r4941 comments. It was intended to pretend if the VU "ran" for longer than the VIF did, but it didn't really change a lot :P
Savestate version bump again

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4942 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-10-18 18:16:27 +00:00
ramapcsx2 d3f286e120 Fixed pretty bad bug of us counting cycles only for one VIF when the system has 2.
Also added a couple important global variables to be savestated (breaks old state compat).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4941 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-10-15 10:45:31 +00:00
cottonvibes 5488e082f5 microVU:
- Implemented an opcode profiler which prints statistics on how often VU opcodes are used (enabled with the mVUprofileProg macro)
- Get status flag conversion function to use EAX/ECX/EDX regs when being called from EE-rec (VU0 macro mode); this should play nicer with the EE-recs regalloc system.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4940 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-10-15 08:26:59 +00:00
refraction 45c573068e Removed Ace Combat hack as r4937 seems to have solved the problem.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4938 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-10-13 15:00:22 +00:00
sudonim1@gmail.com ecdc649694 mVU: Typo in CTC2 macro mode instruction for the status register case.
(Untested, unknown what if anything it fixes, possibly ace combat series but probably not.)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4937 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-10-13 01:07:42 +00:00
sudonim1@gmail.com be1662074a Partial revert of r4935. REC_FUNC_DEL is functionally distinct from REC_FUNC. Fixed REC_FUNC_DEL definition.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4936 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-10-12 23:49:50 +00:00
refraction c04eaf0f73 COP2: Fix/hack for Ace Combat 4 sky, you will need to tick the VU Flag Hack Speedhack to enable it (not sure what else to put it on without adding another hack). This is more likely to do with odd COP2/VU0 sharing pipe behaviour, but ill leave that for cotton :P
Also altered some of the interpreter calls so the defines in config.h can be used again (example the #define ARITHMETICIMM)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4935 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-10-12 22:54:21 +00:00
refraction 81d3961352 EERec: Small changes so Constant Propagation can be turned off (for testing purposes)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4934 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-10-12 20:12:40 +00:00
avihal 6d215a86ca BUGFIX: GS window sometimes stayed hidden after pause/config.
This fixes at least the following bug: Run a game -> ESC (GS Windows hides) -> config Video plugin and click OK -> Emulation resumes but GS window is hidden. (Solution was to click pause and then resume again, now it re-shows as it should).

Let me know if it breaks other related scenarios or if there are other similar scenarios that got fixed (or that still need fixing). E.g. pausing/configuration while at full screen, etc.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4933 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-10-11 22:27:30 +00:00
sudonim1@gmail.com 2e276316c6 (Patch from firnis) R5900int: As per MIPS documentation, do not modify the destination register if an overflow exception occurs.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4932 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-10-11 13:03:24 +00:00
avihal 851bfba6f2 UI: Bugfix: normal keys were not handled by PCSX2 (can now be used as KB shortcuts, etc).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4918 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-09-12 16:35:30 +00:00
avihal 8b2aa64d7e UI: Keyboard shortcuts overrides via PCSX2_keys.ini
Keys combination can be:
"alt-" and/or "ctrl-" and/or "shift-" and ( F1-F12 or KP_0-KP_9 or SPECIAL1-SPECIAL20 )

Where:
Fn is function key n
KP_n is numpad number n
SPECIALn is hardware button n (whatever that means...)

Examples:
FullscreenToggle=alt-ctrl-f12
GSwindow_CycleAspectRatio=KP_0

See full configurable strings at the first comment.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4917 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-09-11 22:13:02 +00:00
gigaherz 266f6fcd5d Made USBsetRAM work again. Required for the following commit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4897 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-09-04 01:49:34 +00:00
avihal dcb7c08a5b SaveState backup: 1. Now enabled by default. 2. Now uses rename instead of copy (faster, more resilient to corruptions)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4891 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-30 06:33:05 +00:00
refraction 09af07d954 Morphed the Hotwheels hack into a gamefix to be safe!
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4890 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-29 23:05:22 +00:00
refraction c355393b5b Vif/Gif: Hack for Hotwheels World Race, should be pretty harmless at it's very rare conditions.
(Note: Game runs better on ZeroGS than GSDX)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4889 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-29 21:54:23 +00:00
ramapcsx2 915d2cc3a1 Let's keep the warning log in :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4888 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-29 18:57:58 +00:00
sudonim1@gmail.com af32a833b1 Oops.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4887 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-29 18:43:02 +00:00
sudonim1@gmail.com 605f9cbc78 Fixed a bug in r4884, simplified implementation and added equivalent code to hwWrite16
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4886 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-29 18:41:45 +00:00
ramapcsx2 3d04b20ec8 Get some PSX mode logging to work again. We currently freeze with it reading the GPU_STATUS register as all 0.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4885 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-29 18:32:27 +00:00
refraction f0ce6640ee DMAC: Well done Rama for finding this in r4882! Fixed it up a bit to work as intended + added INTC which should have also been there.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4884 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-29 15:25:38 +00:00
ramapcsx2 0046b0f1a6 Removed the silly log check and fixed the revision numbers from last commit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4883 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-29 11:18:46 +00:00
ramapcsx2 a2e5c497aa Fixed Virtual on Marz (or Mars) which does an 8 bit DMAC_STAT write.
This broke in r3705, which handles the write instead of ignoring it.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4882 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-29 11:09:26 +00:00
refraction ab19387935 Gamefix: Added gamefix for SOCOM 2 HUD corruption.
The game attempts to loads all data in to the VIF FIFO then stall it. Something goes very wrong.  Maybe one day ill replace this and the transformers gamefix with a FIFO we can turn on, but for now, this'll do.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4878 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-25 16:23:25 +00:00
refraction 7429e797fb Better alter this actually, there will always be one picky game which buggers this up ;p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4877 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-25 13:48:44 +00:00
refraction 737098ba8d MFIFO Changes:
* Vif: Altered how resumed transfers are handled slightly on VIF side (for MFIFO).  
* SPR: Now transfers data to the MFIFO even if not in MFIFO mode if it meets the conditions of the ring buffer location (SOCOM 2)

SOCOM 2 is now playable, sort of, the HUD is a mess (unless a tip shows up), looks like Path3 masking but isn't.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4876 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-25 13:36:23 +00:00
refraction 260b98fb92 Thats better, winmerge helps!
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4875 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-23 18:37:04 +00:00
refraction ad4aeca3ad SIF: Better fix in place for random hangs, Tom Clancy Rainbow Six Lockdown now Playable.
Hangs also related to Phantasy Star 4 and FFX Thunder Plains, which are both still ok with this. Also the sif dma errors in Legends of Legaia should be gone again!

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4874 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-23 18:30:40 +00:00
gregory.hainaut d8b4c7ccc5 debian: cherry pick micove ppa improvement. Thank very much.
cmake: shutup some warning (mostly sdl...)


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4870 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-14 14:38:26 +00:00
gregory.hainaut 136300ab2e linux compilation fix
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4868 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-12 18:25:21 +00:00
shadowladyngemu b54fe4cb9e VS2010 Compile fix for r4865
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4866 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-12 03:31:25 +00:00
cottonvibes ac9bf45f98 pcsx2: Implemented Threaded VU1 :D
Threading VU1 took a lot of rewrites and new code to make possible (MTGS, microVU, gifUnit...), but we finally got to the point where it was feasible, and now we've done it! (so now everyone can stop complaining that pcsx2 only takes advantages of 2 cores :p).

The speedups in the games that benefit from it are great if you have a cpu with 3+ cores (generally a 10~45% speedup), however games that are GS limited can be a slowdown (especially on dual core cpu's).

The option can be found in the speedhacks section as "MTVU (Multi-Threaded microVU1)". And when enabled it should should show the VU thread-time percentage on the title bar window (Like we currently do for EE/GS/UI threads).

It is listed as a speedhack because in order for threading VU1 to have been a speedup, we need to assume that games will not send gif packets containing Signal/Finish/Label commands from path 1 (vu1's xgkick). The good news is very-few games ever do this, so the compatibility of MTVU is very high (a game that does do this will likely hang).

Note: vs2010 builds and Linux builds need to be updated to include "MTVU.h" and "MTVU.cpp".


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4865 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-12 02:31:49 +00:00
gregory.hainaut@gmail.com 34569047b4 cmake: add/delete files
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4839 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-02 06:52:53 +00:00
ramapcsx2 e181358986 Hack for GSdx hardware to fix inverted videos that showed up with the new GIF rewrite.
The problem as I understood is is incomplete COLCLAMP support.
Thanks to sudo for the hack :)

(Unfortunately we couldn't find out more about why these FMV also *all* flicker.)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4837 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-01 17:18:13 +00:00
shadowladyngemu c8b7b410a3 Fix VS2010 compiling. Patch by miseru99, thanks :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4836 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-01 15:40:20 +00:00
cottonvibes f816748d72 microVU:
- Fixed a bug with mVU's ESIN implementation. This finally fixes the flower-petal bug in Radiata Stories (and hopefully the clouds-bug in VP2 but havn't tested). Rama and I have wanted to fix this for a long time, but never knew the problem :p
- Improved implementation of some undefined behavior that happens on branches to take into account pipeline stalls. 

gif / vif:
- Added some logging code that parses gif packets. It can be enabled by the PRINT_GIF_PACKET macro in Gif.h
- Deleted some old gif code.
- On ReadFIFO_VIF1() clear the out-reg to prevent uninitialized results in case GSreadFIFO() doesn't modify it...
- Create a fallback for GSreadFIFO2() so that its always defined (as long as the plugin implements GSreadFIFO()) 

pcsx2:
- Organized the virtual folders in vs2008 a bit...

Note: vs2010 and Linux builds need to be modified to add Gif_Logger.cpp and delete GIFpath.cpp


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4835 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-01 03:16:42 +00:00
cottonvibes a4059b45b5 Bring back GSnull, zzogl, and old plugins from the dead!
(they were crashing with the new Gif rewrite... shouldn't anymore)

Although Jake had added the new "GSgifTransfer" callback to these plugins in the past, he forgot to modify the .def files so pcsx2 can actually use them :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4832 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-27 08:16:51 +00:00
cottonvibes c918df60d2 newGif: do what r4829 did, except only flush the gs primitives to the mtgs when theres going to be a GS download (busdir=1).
this should be the only time that an explicit flushing is needed.
doing it this way should be faster than flushing every incomplete gs packet like r4829 was doing...

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4831 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-27 03:55:43 +00:00
ramapcsx2 c2c19d7e96 New GIF: Quick fix from Cotton, fixes ICO and hopefully Tekken 4.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4830 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-26 17:53:54 +00:00
cottonvibes d8149fdb8b newGif: send complete gs primitive packets to the gs plugin even if eop wasn't detected. this is needed for games that do GS->EE downloads to make sure the gs plugin is up-to-date with the sent gif data.
fixes Bleach bankai problem, and probably other games (wizardry/growlancer 3) but haven't tested...
Also removed a vif FlushA hack that used to be needed for tekken 4/gitaroo man but not anymore...

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4829 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-26 08:47:47 +00:00
arcum42 0b09b84526 Fix Linux so that it compiles.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4827 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-25 10:24:05 +00:00
cottonvibes 44a186266a newGif - Fix Area 51 slowness.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4825 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-25 07:43:31 +00:00
gregory.hainaut@gmail.com a100aac7cb cmake: add new Gif Unit files.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4824 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-25 06:29:53 +00:00
cottonvibes 7e1be9c489 pcsx2: deleted a lot of the old gif code.
some bits were kept for reference and should be deleted in the future (along with the entire GIFpath.cpp)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4823 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-24 22:24:10 +00:00
ramapcsx2 794904cf3c This should fix MSVC 2010 compiling.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4822 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-24 14:18:51 +00:00
cottonvibes c05dc759e3 Big gif transfer code rewrite!
Pcsx2 now has a gifUnit class which acts like the ps2's gif and executes a single gif transfer at a time (and performs path arbitration according to priority and path3 slicing).

This new code is generally a speedup for most games. Particularly VU heavy games like GoW.
This revision breaks old saved state compatibility so don't update if you wish to keep playing with your old saved states.
Leave comments if this revision fixes or breaks anything...

Message to GS Plugin authors:
This new code now uses only 1 gif callback to transfer data to the gs plugin (GSgifTransfer).
pcsx2 also is garaunteed to send full GS primitives to the plugin. So you don't have to account for partial-transfers anymore.

Thanks goes out to shadowlady who tested around 500 games for me :D

Note 1: The old gif code is still in this revision, and can be enabled by the USE_OLD_GIF macro. The old code will be deleted soon.
Note 2: This revision also enables assertion dialogs in devel builds, and changed a lot of assume cases into assertions.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4821 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-24 13:02:50 +00:00
avihal@gmail.com 073e5e2f3a Reverting r4796 (Console window now opens again before main window). Reason: The console window's menus were overlapping the main window menus, leading to main window menu actions getting invoked when using the console menus...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4818 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-23 10:19:53 +00:00
ramapcsx2 f9b8f5c786 Silence a SIF dma warning.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4816 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-19 10:56:48 +00:00
gregory.hainaut@gmail.com 71bff75810 cmake: generate resource outside of the source tree.
Debian: remove useless clean file


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4813 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-17 14:21:09 +00:00
gregory.hainaut@gmail.com 5adba505e7 pcsx2, zzogl-pg: allow to change some default path with compilation flags.
cmake: Add PLUGIN_DIR and GAMEINDEX_DIR options to easily select install directory. Install GameIndex.dbt during install phase.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4811 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-17 11:25:17 +00:00
sudonim1@gmail.com 3286f0079e EE: very minor VTLB optimisation. Smaller than r4803 probably (but shouldn't have any possibility of slowing down any code).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4807 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-16 02:38:30 +00:00
gregory.hainaut@gmail.com 83b3ac85d3 cmake:
* use the standard 3 step flow: cmake, make, make install
* Remove L10N_PORTABLE option, superseeded by PACKAGE_MODE
* Extend PACKAGE_MODE to select the install directory (FHS or local bin)


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4805 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-14 09:02:37 +00:00
sudonim1@gmail.com fe66636625 EE: Changed some load/store flushing behaviour for better efficiency (and hopefully no bugs). Changed my mind about the internals for future exception handling so scrapped what we have for now. Also restored correct rt=r0 behaviour on all loads.
Should be a small boost in fps everywhere and otherwise likely not change anything.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4803 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-10 03:38:21 +00:00
ramapcsx2 cad9249b79 Fix for Endgame which tries to do 0 sector CDVD reads.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4802 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-09 23:47:12 +00:00
sudonim1@gmail.com 93163f988d EE: Fixed my use of ebx in a load/store implementation (reserved for return address) and changed _deleteEEreg to do what it says when also flushing and changed most uses of _deleteEEreg with the flush parameter set to 1 to _flushEEreg. May introduce or fix bugs.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4801 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-08 06:18:25 +00:00
sudonim1@gmail.com af2cc2663a EE: Put _Rt_ checks back in the load instructions because as silly as it would be we must avoid potentially writing to r0.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4800 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-08 04:24:24 +00:00
sudonim1@gmail.com 78a3c30648 EE: reviewed, simplified and corrected (at least three bugs including issue 1078) left and right loads and stores. Probably a waste since there's a much smarter way to do these.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4799 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-08 04:10:28 +00:00
avihal@gmail.com ab15e7d8b0 GUI: Open the main window (if required) before the console window. Results: 1. Taskbar order is now better. 2. Console window gets minimized with the main window. Thanks to ShadowLady for the code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4796 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-06 00:59:52 +00:00
ramapcsx2 e789cc84e2 Tray code once more:
Added the tray state variable to the cdvd struct, making it safer and taking care of a previously unhandled situation.
Surprisingly this didn't break old savestate compatibility.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4786 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-01 00:58:11 +00:00
ramapcsx2 f25d317460 Some work on the disc tray code. Got rid of an unsafe global, changed and commented it a bit.
This is some messy work of mine, gotta admit ><

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4785 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-01 00:15:14 +00:00
avihal@gmail.com 79fb112c88 Games database: Load from the exe folder (only affects Install mode. Portable was already OK): Prevent DB-not-found error if previous version wasn't uninstalled properly.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4784 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-30 20:54:30 +00:00
ramapcsx2 cdb54545fe We need to combine these globals into a common struct one day.
This was really unsafe to do. (My fault)
Fixes savestates in Breath of Fire 5.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4783 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-30 19:36:15 +00:00
gregory.hainaut@gmail.com 106bfc73e5 codeblock: add gtk include file and remove some define
=> wx directly include one gtk include file directly and it seem to use also deprecated stuff ...


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4738 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-13 16:47:46 +00:00
gregory.hainaut@gmail.com 468463354c i18n: remove the loading of ter&dev mo. Upload latest mo align on lastest po (several new languages too)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4737 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-13 14:15:17 +00:00
gregory.hainaut@gmail.com 35b9dfce3f pcsx2: zzogl:onepad: gsdx: merge linux-gsopen2 branch (4730) into trunk
* Gsopen2 support for GS plugins => Support of the PCSX2 GS window configuration panel. Support of all PCSX2 shortcut.
* new shortcut: shift-f12 to stole the input. ZZogl shortcut must be prefixed with ctrl
* onepad: Support/fix/improve of configuration gui, multiple key, mouse/wiimote for analog joystick, dualshock3/sixaxis (basic), dual pad and experimental forcefeedback

Note: it is advices to delete OnePAD.ini


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4731 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-12 14:48:36 +00:00
cottonvibes 996ca8ffff microVU:
- Reimplemented mini/max opcodes using integer comparison operations instead of double comparison. This results in a bit less code and integer operations tend to be faster than double ops (especially on AMD cpus). Thanks to pseudonym for the idea!
- Fixed some minor bugs in mVU dev builds.

pcsx2:
- Added __fc as a shorthand macro for __fastcall since we already have __ri and __fi macros.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4713 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-05 10:30:04 +00:00
refraction 0b6c8eaed4 Altered changes and reuploaded, defines are inplace so parts can be switched off for bug testing.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4671 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-24 23:30:14 +00:00
sudonim1@gmail.com 1bb055bf10 Reverted r4667. We need to talk.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4670 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-24 21:52:58 +00:00
refraction 3c51d6655a EERec: Implemented some common cases of Load/Stores with shifts. Adds a bit of speed here and there.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4667 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-23 22:19:49 +00:00
ramapcsx2 8e28873436 Small PCSX2 speedup due to less flushing in the eerec. Thanks pseudonym :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4663 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-22 16:01:09 +00:00
cottonvibes 633a31ccbc microVU: Fixed a bug I had in the handling of indirect jumps that are placed in a branch delay slot. This fixes the game "The Thing" and I think makes it playable although I didn't test it much.
Might fix problems in other games that were doing this too.
The bug was kind-of funny, it was an old line of code I had forgotten to delete xD

I also improved the console message for branch in branch delay slots to actually say the names of the branches.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4660 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-21 03:48:47 +00:00
cottonvibes daefeb1649 microVU: Fixed a bug in my handling of branch in branch-delay slots.
Fixes Hot Wheels Velocity Maximum Justice, and now makes the game playable with pcsx2 from what I can see :D
This revision might also fix other games that were still having problems that do branches in branch-delay slots.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4657 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-20 06:20:36 +00:00
avihal@gmail.com 1420318b04 GUI: BUGFIX: (Save)State in GS window title can get out of sync with actual current slot (after loading/saving state via the menu).
Details:
- It seems that due to legacy reasons, Lilypad is setting the current state at the GS window title, as a hack which is enabled by default (at Lilypad's main GUI tab). However, it's buggy because it only changes the display when (shift/)F2 is pressed, while the current slot actually also changes when loading/saving state via the PCSX2 main menu, so it can get out of sync (possibly with unpleasant results, especially when saving). Now it's disabled by default at Lilypad, and if enabled, displayed as "State(Lilypad)".

- PCSX2 itself now properly handles the current State slot at the GS title window.

Note: ZeroGS still changes its title independently (not via the "standard" PCSX2 mechanism) so Lilypad's title hack might still be useful for it. However, it's still buggy and can get still out of sync.

TODO: Remove this option completely from Lilypad because it's buggy? ZeroGS can still use it, but I think it can cause more harm than good. What do you think?

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4656 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-17 11:18:45 +00:00
gregory.hainaut@gmail.com de826932e4 pcsx2 gui: better fit string into textbox on linux
* increase a min panel size (skip when turbo string)
* shorten ee cache string with a nice tooltip


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4654 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-15 14:02:36 +00:00
gregory.hainaut@gmail.com 827dcfaf6f pcsx2: linux: take some margins for the height of font (avoid top/bottom cut)
cmake: 
* disable fomit-frame-pointer which cause crash with gcc-4.6 (it was not enabled by default but now I'm sure people will not enable it ;) )
* Try harder to pick the 32bits configuration for wx in a 64bits environment (opensuse/fedora).



git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4641 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-10 09:26:39 +00:00
cottonvibes 96b2d810c1 microVU:
- Fix for falling through floor bug in MGS2 Demo Disc (not a proper fix but good enough for now)
- Fixed a few random tiny bugs; might not effect anything
- Coded some optimization that didn't workout well; its disabled by default, will probably remove the code later...


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4640 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-10 07:04:04 +00:00
avihal@gmail.com 3523626462 GUI: when the config panel is open, and using keyboard shortcuts for frame-limiter (F4) or aspect-ratio (F6), reflect it at the GUI, but ONLY if there are no intermediate changes at the GUI (i.e., only if the "Apply" button is currently disabled). This would prevent re-applying obsolete values when clicking Apply/OK for for these two configs (after they were changed via KB while the GUI was open).
This is a very light infrastructure to allow some synchronization between KB shortcuts and the GUI. Currently only used for frame limiter and aspect ratio KB shortcuts. I wanted to also use it with frame-skipping (shift-F4), however, frame skipping GUI seem to have other issues which prevent it from properly reflecting KB modifications, so it's out for now.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4627 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-06 12:46:58 +00:00
avihal@gmail.com 03d288cc93 Configuration panel: bugfix: "Apply" button was enabled when the dialog opens. Now starts disabled, and only enabled after actual changes to the panel.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4626 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-06 06:21:46 +00:00
cottonvibes a70fec55f7 microVU: Added some options in microVU_Misc.h to easily enable/disable certain mVU features to help in debugging problematic games...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4625 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-06 04:19:13 +00:00
refraction d9d909849d Adjusted VSync to work more like the PS2 does it, also involves a small change which "might" sold some half screen issues. Fixed a couple of counter log bugs too (caused it to crash when EE Counter logs were enabled)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4624 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-05 22:22:45 +00:00
cottonvibes 9a3934af89 microVU: Fix for Red Faction 2
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4622 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-04 22:52:27 +00:00
shadowladyngemu 00132caca1 Disabling some console spam (actually just changing it to a dev logging spam :p) that was causing a huge slowdown in Star Trek Voyager - Elite Force.
GameDB: Few updates...

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4620 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-04 11:53:24 +00:00
gregory.hainaut@gmail.com 763f21cfbc pcsx2 & spu2x: allow to compile[0] with lto on linux. It removes an useless wx feature on linux.
[0]: it needs gold linker, tuning parameter large-function-growth to 5000 and gcc-4.6.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4617 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-02 19:11:00 +00:00
gregory.hainaut@gmail.com 8ffb0d7a17 pcsx2 0.9.9 a new journey begin ;)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4616 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-02 18:59:32 +00:00
ramapcsx2 8d5165551e Remove a size check that prevented fps2bios to load.
Also enabling code comments again,
since the release is out now we can live with roo -1'in everything :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4614 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-02 02:02:46 +00:00
refraction efe1e665ee Minor EE Cache emulation changes (No fixes)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4609 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-30 22:19:20 +00:00
refraction e615fe1c08 Added GameFix for Transformers and Test Drive Unlimited to solve the slow booting issue, Test Drive is now playable at least :P. Also tidied up a small bit of VIF DIRECT/HL, no functional changes made.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4608 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-30 18:30:31 +00:00
gregory.hainaut@gmail.com 033ecabcf2 zerospu2: fix an issue with gcc 4-6 (note some gcc 4.6 optimization breaks pcsx2...)
i18n: allow to translate a part of system default for the language selection.

Rational: In case system default is incorrect, we will still get an english part (with the unknow-language translation)


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4603 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-29 21:02:31 +00:00
avihal@gmail.com 39c8fe121a CDVD plugin submenu disable: code cleanup to allow easier future modifications.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4580 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-16 20:36:53 +00:00
avihal@gmail.com 8858a5c57c CDVD plugin submenu: now only enabled when "Plugin" is selected.
Hopefully allow less initial confusion (the CDVD plugin is not used by default and it will mostly stay that way, so disabled unless chosen).
Note: the Iso selector sub menu is always enabled because even when the Plugin is selected as source, selecting an ISO via the selector switches to the internal Iso reader.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4578 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-16 09:35:42 +00:00
ramapcsx2 cfe376491e Patch by Firnis:
He wrote his own, faster replacement for std::vector and used it for the EE and IOP block managers.
This cuts down compiling time for some blocks from nearly 1 second to ~ 0.1 - 0.3 seconds.
With this shorter compiling time, audio and framerate should be more stable when changing levels in a game, for example.

Thanks a bunch, Firnis ;)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4572 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-13 16:32:47 +00:00
gregory.hainaut@gmail.com 0f3f204ba7 pcsx2 gui: support revision number in various place with cmake linux build
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4571 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-12 16:24:41 +00:00
refraction 80e540c70b Partially removed partialqwc stuff from SPR. As the DMA ignore is no a gamefix this isn't required any more, also it broke Sega Superstar Tennis ;p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4564 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-09 20:21:09 +00:00
ramapcsx2 1bfd8cfd0c Small console message change.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4563 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-09 14:53:33 +00:00
gregory.hainaut@gmail.com b51ac8d779 gsdx: add also a check of m_windows to play it self.
pcsx2: add a define to print the revision number with cmake


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4560 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-09 08:39:54 +00:00
ramapcsx2 5d200881a4 Small console printout consistency change. All the GSWindow prints look like this :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4556 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-09 01:40:23 +00:00
ramapcsx2 a9640366ab Fixing a few problems with the docs. /trunk commit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4554 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-08 22:33:07 +00:00
ramapcsx2 56bb1c50b4 More changes to the docs. /trunk commit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4551 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-07 21:03:32 +00:00
refraction 5f7d5d5acf Forgot to check the trunk
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4550 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-07 20:22:31 +00:00
ramapcsx2 4e2df1039a Docs update also for /trunk.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4547 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-07 18:13:54 +00:00
ramapcsx2 c7adfc0199 Adding Shadow Lady (Lana) to the list of contributors. Was a bit overdue, sorry :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4543 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-07 13:34:00 +00:00
avihal@gmail.com 490b5f6a7f GS Window: image move: changing KB shortcuts to CTRL+ALT+ normal arrows (and + NUMPAD-/ for reset).
Using ctrl + numpad 2/4/6/8/5 seem to not work on all systems. This might be a wxWidgets issue. Please read the commit comments for r4537 for some details.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4538 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-06 19:50:38 +00:00
avihal@gmail.com b4d0eddc7c GS window: allow full manual image control (had zoom already, now adding move, stretch).
The following controls are KB only (no GUI) and they don't save nor load from the ini (thus always reset when starting pcsx2).
New KB commands:
Move image: CTRL + NUMPAD 8/2/4/6 for up/down/left/right. CTRL + NUMPAD 5 resets to center.
Vertical stretch: CTRL+ALT+ NUMPAD PLUS/MINUS/* for stretch/shrink/reset.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4537 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-06 15:54:15 +00:00
avihal@gmail.com e307c7d9c5 Forgot Zoom tooltip update. Mehh...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4536 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-06 09:30:39 +00:00
avihal@gmail.com c38c5ce72a GS Window: Zoom Keyboard control: Now works with CTRL/CMD (leaves the numpad keys available for the pad plugin).
Zoom In: CTRL + NUMPAD-PLUS
Zoom Out: CTRL + NUMPAD-MINUS
Toggle 100%/Auto-zoom: CTRL + NUMPAD-*

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4534 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-06 08:03:13 +00:00
avihal@gmail.com 921c2352ef GS Window: Add proper zoom control and get rid of the "automatic" 4-pixel zoom in stretch-mode.
Zoom = 100: Exact fit to window without cropping anything.
Zoom above/below 100: Zoom In/Out.
Zoom = 0: Automatic zoom in until the black-bars are gone.
Keyboard: NUMPAD-PLUS: Zoom-In, NUMPAD-MINUS: Zoom-Out, NUMPAD-*: Toggle 100/0

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4531 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-05 15:28:49 +00:00
avihal@gmail.com 20e6dc39e1 GS window: F6 now properly cycles aspect ratios (previously was internal to GSdx only, now affects actual CSX2's config)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4530 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-05 11:30:07 +00:00
refraction 15f7b2b6d8 Slightly safer way of handling filling writes in the Dynarec, disabled a debug message i don't think we need any more.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4528 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-02 21:18:14 +00:00
refraction 44a1d17c9d Small optimization for partial unpacks, won't make a noticable difference, but every little helps :P
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4527 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-02 20:16:00 +00:00
refraction ec41e24228 Small unpack bug with interpreted/partial transfers in fill mode (probably REALLY uncommon).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4526 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-02 19:23:20 +00:00
avihal@gmail.com b65a70033d Resent ISO list menu: Items order reversed such the the most recent ones appear at the top.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4524 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-02 08:09:36 +00:00
avihal@gmail.com f76e0e1d0d Recent ISO list menu: Fixed: if the number of ISOs grow beyond RecentIsoCount, the menu gets b0rked (broken behavior). Strangely, this bug was there since r3878 or earlier...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4523 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-02 07:26:12 +00:00
refraction d30a2dbd10 VIF: Fix for Donald Duck Quack Attack - vifcmd errors caused by VIF not stopping on reset. It would be nice to find out the actually 100% behaviour of FBRST, information is limited.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4520 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-01 14:58:23 +00:00
refraction 55f79ec54e VIF: Fix for Downhill Domination introduced in r3762.
For future reference:
Clearing registers on VIF reset = bad! That operation is designed to stop VIF Processing its current data, nothing more.
More importantly it causes me a great headache as it took me 2 days to find this >.<

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4519 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-01 13:44:01 +00:00
cottonvibes 0fef0e4e6c microVU - more cleanups
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4515 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-31 05:31:33 +00:00
cottonvibes 69896ce034 microVU cleanups (mostly changing pointers to references)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4514 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-31 03:08:48 +00:00
ramapcsx2 6dcccff206 Added a new gamefix to make ignoring of DMAC writes when it's busy optional.
This should be mandatory but (most probably) timing issues make this break more games than it fixes.
Notable exception: Mana Khemia 1 (going "off campus"), so I added it to the auto gamefix database (Only NTSC so far, anyone got the PAL CRCs?).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4512 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-30 10:54:43 +00:00
avihal@gmail.com fc9bc494ad Game fixes panel: hopefully clearer text.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4511 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-30 08:26:30 +00:00
gregory.hainaut@gmail.com 738346bc8b i18n: add some missing strings. Remove SetDiagMsg one.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4509 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-29 18:21:54 +00:00
avihal@gmail.com 9c234de3ec Portable mode: now allows fully custom folders, but still allows relocation of pcsx2 folder without breaking (install mode unmodified).
Details:
The major differences between install and portable modes should now be:
1. Portable mode doesn't use the registry at all.
2. Portable mode uses the folders inside pcsx2 folder as default (install mode has some default at "my documents").
3. Portable mode tries to save relative paths at the ini file where possible*.

Specifically, portable mode now allows to select custom folders for plugins, bios, etc via the standard UI, which allows using several portable pcsx2 folder sharing the same resources (bios, iso, memcards, etc).

* Relative paths where possible = the following sequence (thanks to pseudonym for the brilliant idea):
1. If the file/folder is inside pcsx2 folder, it's saved as completely relative (to pcsx2.exe)
2. Else, if the file/folder is at the same drive as pcsx2.exe, it's saved as absolute path without the drive letter (e.g. /ISO/...)
3. Else, saved as absolute path, including the drive letter (for linux, without drive letter naturally).

This allows to create a removable drive with (one or more) pcsx2 folder on it, configure all the files/folders to point to the same drive (ISOs, save states, etc), and then take this drive, plug it into another computer (where it will be assigned with a different drive letter), and everything will continue working.

Please test it if you can. Bugs here can be inconvenient...

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4507 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-29 17:41:11 +00:00
sudonim1 97ce1783eb Suppress expected error during first time wizard when a plugin does not implement optional API functions.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4506 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-29 16:13:08 +00:00
ramapcsx2 b5138f64eb Minor fix for managed Vsync.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4499 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-27 22:16:48 +00:00
avihal@gmail.com 205c7c1782 First time wizard (both portable and install modes):
1. Create inis and bios folder before then can be accessed (e.g. configure plugins, open the bios folder via "open in explorer").
2. Small fix for the "open in explorer" error dialog if a folder doesn't exist (path text was sometimes cut off)
3. Default base directory (AppRoot() - used for plugins/themes/langs) is now the pcsx2.exe folder and not CWD (probably only affects developers, but still nicer).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4496 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-27 04:06:33 +00:00
gregory.hainaut@gmail.com c2266c3edc linux compilation fix
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4492 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-26 12:28:12 +00:00
avihal@gmail.com 42fe45e66a Recent Iso list: 1. Iso that don't exist are grayed out at the menu. 2. in portable mode, Iso files are saved as relative if they're inside pcsx2 folder, or in parallel to it.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4491 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-26 07:02:46 +00:00
gregory.hainaut@gmail.com 95e2ed9f21 linux compilation fix
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4490 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-25 18:10:09 +00:00
avihal@gmail.com 981f67ee01 Portable mode: standard install can now be converted to portable.
Note: All files outside of pcsx2.exe folder (e.g. snapshots, memcards, bios, saved states, etc at "my documents" folder) are NOT copied automatically to the pcsx2 relative folders. So, if converting from standard install to portable and you want to keep those files, you have to copy them manually.

Bottom line: if portable mode is preferred/required, it's best to start in portable. This way no files are ever written outside of pcsx2.exe main folder (at least, that's how it should work).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4489 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-25 07:21:59 +00:00
sudonim1 22c1b30ed6 Fixed inconsistent newlines / added as many svn:eol-style=native properties as I could without killing myself.
Please set up auto-props in your svn client.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4488 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-25 05:06:49 +00:00
avihal@gmail.com 7f9f6590b7 1. Portable mode: Fixed (for real!).
2. Game database: now always loads from pcsx2 folder (was using cwd)

details:
Portable mode: folders and file names at the ini now always saved relative in portable mode -> pcsx2 folder can be moved around, renamed, etc, and everything keeps running as normal.

Note: last elf/iso folder paths are kept absolute at the ini, and so are the last/recent iso file names. This is to allow moving pcsx2 folder around without needing to select them again. The case of putting the ISO files inside the pcsx2 folder and expecting it to work when moving the folder around is still not solved for now (but the iso can always be selected manually). Maybe will get fixed soon.

Reminder: to run in portable mode, create an empty file named "portable.ini" at the pcsx2.exe folder.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4485 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-25 04:47:21 +00:00
sudonim1 e26693f5d4 Changed plugin API back to system locale for paths since only two plugins (lilypad and spu2-x) were specifically expecting UTF-8 and handling it correctly and breaking them is easier than fixing all the others for now.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4483 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-25 00:45:43 +00:00
ramapcsx2 d4f95b004b i18n:
Fallbacks for all WX-listed German locales.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4482 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-24 10:19:22 +00:00
ramapcsx2 a48ff8a9ef Whops :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4481 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-24 04:38:28 +00:00
ramapcsx2 e5a564ed10 First round of installer fixes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4480 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-24 04:34:46 +00:00
ramapcsx2 d08a70252b Renamed "Enable Patches" into "Automatic Gamefixes" to make it very clear what the option does.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4478 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-23 21:27:37 +00:00
avihal@gmail.com c44e5752f6 1. presets: mVU flag hack moved from preset #3 to preset #2 (preset #3 now only changes ee cycle rate to 1 click).
2. Selecting ISO from the list when current source is plugin: menu now updates properly (previously: would stay at plugin).


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4477 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-23 20:01:56 +00:00