Commit Graph

2886 Commits

Author SHA1 Message Date
gregory.hainaut 48356e31b8 linux:
* use same path as game index db for cheats and cheats_ws
* install the new cheat zip file on cmake and debian installer 


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5850 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-26 18:00:14 +00:00
refraction d4211394a5 Another small thing picked up by VS Analyzer. Again probably no actual change in emulation.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5839 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-26 00:21:51 +00:00
refraction 8e6e0f4c66 Just a couple of small fixes picked up by the compiler, no change to emulation.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5838 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-25 23:36:40 +00:00
avihal@gmail.com 5187f8bfe1 ws_cheats folder goes back to documents (following r5640, r5824 and r5826). This way the installer only installs the cheats_ws,zip file at the installation dir, while users could put their own ws cheat files at cheats_ws folder under documents. Portable mode is unaffected.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5837 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-25 21:31:42 +00:00
avihal@gmail.com 980229ce5b Widescreen hacks db: change from dbf to normal zip (also replaced the dbf with a zip of current ws hacks).
Logic stays the same as before: If no ws hack is loaded from the normal cheats_ws folder, they try finding ws hacks at the zip.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5836 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-25 21:13:52 +00:00
avihal@gmail.com d9026a10a7 Wide screen hacks db: fix boot to bios (was trying to load all patches, now only the patches for CRC 00000000)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5828 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-24 21:33:09 +00:00
avihal@gmail.com d11382a20c Support single widescreen dbf file. Also includes a batch file to create a cheats_ws.dbf file from individual pnach files, and also includes the cheats_ws.dbf file which was generated from the current individual ws cheat pnach files.
Still needs: 1. remove all single ws pnach files from the repository. 2. Update the installer/uninstaller accordingly.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5827 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-24 21:13:25 +00:00
gregory.hainaut 4ae6b0cb83 redo commit r5824 with the eye open this time...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5826 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-24 18:12:11 +00:00
gregory.hainaut 6214fd0456 pcsx2: Used correct path for cheats/cheats_ws (thanks avih)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5824 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-24 17:41:23 +00:00
gigaherz 01daa0b6fd Change the vs2012 project files to use the v110_xp platform toolset, and the vs2013 project files to use the v120_xp platform toolset, so that the resulting executables can be run in Windows XP/2003.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5822 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-24 15:30:34 +00:00
ramapcsx2.code 86a5933f91 Left this in by accident.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5782 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-12-30 09:12:18 +00:00
refraction e8f31a3e3e SIO: KrossX new changes for Memcards, seems ok on a test of random 10-15 random games, please report if any errors appear!
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5781 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-12-29 21:57:17 +00:00
ramapcsx2.code be185275c9 Minor additions.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5776 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-12-28 21:24:25 +00:00
ramapcsx2.code d6bb242042 Just revert the last commit until the bug is fixed. Prevents people from messing up their memory cards.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5775 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-12-28 10:41:57 +00:00
refraction 6cd7c74d51 SIO: Latest changes from KrossX which solves problems with Metal Gear Solid 3 and Shining Force EXA.
You might need to make a  new memory card for those games if you had a problem.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5774 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-12-27 22:40:40 +00:00
refraction 9e1717fee5 Gif/Path3 Masking: Fixed a bug introduced in r5759 stopping SSX On Tour from loading.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5766 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-12-05 23:17:58 +00:00
gigaherz 4173080028 Because vs2012==vs11 and vs2013==vs12, which is extremely confusing, I renamed the project files to use the full year as the name.
Also fixed some project references to the right filenames.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5764 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-11-27 16:53:36 +00:00
gigaherz 74378ce378 Created vs2013 files based on the vs2012 code, and fixed a small incompatibility between vs2013 and pthreads.
Removed some missing headers from the vs2010 and vs2012 project files that were causing vs to always claim the projects were out of date.
Also removed some other entries for c/cpp files that were disabled but also missing (I did not search exhaustively).


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5763 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-11-27 16:44:32 +00:00
refraction 8eb50263cf Always the same isn't it? you always see a blinding cock up you made after you commit it.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5760 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-11-05 14:41:57 +00:00
refraction 45d790b854 Path3 Masking: Fixed up some issues causing Gunfighter 2 not to work. Closes Issue 1445
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5759 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-11-05 14:40:25 +00:00
sudonim1@gmail.com 54fa8719a3 EE: Whoops! Fairly major oversight in the COP2 flag delay logging code causing false positives.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5758 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-11-03 19:59:34 +00:00
refraction@gmail.com 421d917f28 VS2012: Force it not to use SSE optimizations to avoid FPU using SSE instead of x87 - Consistancy and stability change.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5754 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-10-27 23:19:55 +00:00
refraction@gmail.com 178563a4b6 VIF: Fix up handling of indeterminate data with different alignment. Not sure if this will affect anything, but test results now match the PS2.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5751 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-10-24 16:21:45 +00:00
refraction@gmail.com 8e59b6bbf5 Left some logging in, nothing to see here.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5750 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-10-24 12:19:09 +00:00
refraction@gmail.com 09c01abd05 microVU: Fix for Conditional branches on E-Bit. One less bug on DT Racers with microVU.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5749 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-10-24 12:14:17 +00:00
refraction@gmail.com fc4be4f2cc VIF: Fix for Warship Gunner 2 Issue 1079 . On VU executes immediately followed by an unpack we will execute it immediately. I didn't look too deeply in to this but the game doesn't like the delays. Baldurs Gate still happy though.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5745 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-10-18 13:03:22 +00:00
sudonim1@gmail.com 97fa1a7454 EE: I'm forgetful, this was meant to be part of the log change.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5743 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-10-17 20:11:48 +00:00
sudonim1@gmail.com 1c861617a1 EE: made the developer log for COP2 a bit more verbose and useful.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5742 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-10-17 20:09:52 +00:00
sudonim1@gmail.com b256bb36ec We can reject sequences with 4 intervening cop2 operations because the one cycle stall when coissuing with a cop2 move brings it up to 5 cycles. Not sure about 4 cop2 moves, I think that's okay but I'm not confident.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5736 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-10-13 23:56:12 +00:00
sudonim1@gmail.com 6f763e8221 R5900: I forgot a bunch of stuff in the last commit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5735 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-10-13 20:59:36 +00:00
sudonim1@gmail.com 1ceac4e16d R5900: Developer log for possibly (but not necessarily, the asm has to be checked manually) incorrect recompilation of COP2 code. The patch is disgusting, please don't look.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5734 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-10-13 19:38:28 +00:00
ramapcsx2.code a73e1b294a Silence a mVU bad opcode error log that would spam in Shadow Hearts 1 battles and likely in Dawn of Mana 2nd level, too.
Also renamed a widescreen string and added a compiler warning fix.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5730 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-09-12 19:34:01 +00:00
gregory.hainaut 44d8301bb2 spu2x: array out of bond (-1)
Performance note, it might be faster to replace the MODULO with an AND. Not sure on the impact
for the new time stretcher algo.

GSdx: fixed use-after-free (linux)

PCSX2: 
* add a define to support address sanitizer (both rely on 0x20000000-0x3fffffff memory ranges..)
* sio_buffer out of bond (-1). Maybe we can move the flush in the 2 if previous branch. It would
avoid the extra test.
* wxGetEnv (linux) generates double free (maybe not thread safe). Cache the result so it doesn't crash 
anymore when switching renderer

Comment/Review/Improvement are welcome :)




git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5727 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-09-10 11:41:11 +00:00
gregory.hainaut fb684df32b pcsx2: fix 4 arrays out of bond
Gsdx: fix a memcpy src/dst overlap + a clang compilation fix



git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5726 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-09-05 20:01:47 +00:00
refraction@gmail.com cc13ac321d CDVD/BIOS/NVM: When creating a blank NVM file, write a dummy value to the ILink area. This is read by Age of Empires 2 and fails to load if it doesn't exist.
This should work with all BIOS versions, please make sure you delete your NVM first then run the emulator to generate it.  Of course if you have an NVM file from your PS2, you shouldn't need this :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5722 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-08-19 21:13:21 +00:00
avihal@gmail.com e66f515605 Pleasing devina40 ;) ("WideScreen" -> "Widescreen" at the menu)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5719 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-08-16 02:57:28 +00:00
ramapcsx2.code 05d5051096 Finishing up widescreen patch support: Add GUI toggle and connect it.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5716 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-08-14 09:48:36 +00:00
ramapcsx2.code ae0df6a3ad Memcard patch #3 (KrossX): Should help Metal Gear Solid 3.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5710 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-07-29 17:23:13 +00:00
avihal@gmail.com baffb9c8d9 (Patch by KrossX) - Fix memory card issues from r5703 (should fix Persona 3/4, possibly MGS3, possibly others).
Please report here if there are still games which suffer from memory card issues. Thanks to KrossX for the quick fix.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5706 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-07-27 23:11:31 +00:00
avihal@gmail.com 92487e2618 (Patch by KrossX): Fixed multitap - Part 2 - (e.g. Timesplitters), New: support raw PSX
memcards (mcd/mcr), Fixed issues with pad 2 (e.g. issue 1326).

These are changes which were left out at r5622, updated to pach v9 by KrossX from http://forums.pcsx2.net/Thread-Multitap-PCSX2 .

- Please report any issues with memcards corruption/incompatibilities here.
- Please feedback on multitap improvements here.

Thanks, KrossX! :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5703 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-07-19 13:43:33 +00:00
gregory.hainaut ba2ec6fe59 all: gcc warning clean round 4
* remove unused variable
* move static function from h into cpp
* Initialized hw_by_page to 0xFFFFFFFF instead of -1 (number must be a positive integer)
* Use a s32 fore m_current_lsn instead of u32 (use -1 as error code)
Bonus: a couple of fix for clang compiler (doesn't mean that it fully compile with clang)
* remove useless __debugbreak on linux
* use short for 16bits atomic function


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5695 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-07-03 18:42:05 +00:00
gregory.hainaut ba20bb0258 pcsx2: gcc warning round 3
* various cast was overflowing
 - use unsigned integer for SSE mask
 - force SINGLE macro to use u32
* disable parenthesis warning, only a matter of coding style

Remains 2 wrong use of unsigned integer:
pcsx2/CDVD/InputIsoFile.cpp:96:21: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
pcsx2/Memory.cpp:108:86: warning: narrowing conversion of ‘-1’ from ‘int’ to ‘vtlbHandler {aka unsigned int}’ inside { } is ill-formed in C++11 [-Wnarrowing]


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5689 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-06-30 11:43:12 +00:00
gregory.hainaut 40e26648c6 all: gcc warning clean (round 2)
* reorder static initialization list
* Add missing virtual desctrutor to virtual object
* int -> uint/u32/uint32 cast of for loop index
* add a missing return in pxTrySetFocus
* fix size parameter of memset m_clut
* disable missing-field-initializers warning
* disable unused-local-typedefs warning


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5685 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-06-28 17:32:37 +00:00
gregory.hainaut 3c7167be50 clean (some) gdb warning: round 1
* use svnrev.h on linux too
* replace sprintf_s with snprintf (hope it still compile on Windows)
* init integer with 0 instead of NULL
* various int -> u32/uint32/uint on for loop index
* remove a couple of unused variable
* init few variable
* disable unused warning results


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5683 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-06-28 10:43:50 +00:00
gregory.hainaut 9b037a3813 pcsx2: increase a bit the minimum size of the plugin dialogs (GSdx name is too long)
gsdx:
* move gl function loading into GSwnd. Clean the header and avoid to rely on macro.
* Always require libegl for GSdx. You still need to select the API at compilation.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5670 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-06-16 08:43:50 +00:00
gabest11@gmail.com d27b606e5c GSdx:
- changed the KH2 fix in GetTextureMinMax to my taste, should give the same results, when the used texture rect is to the left/above the clamped area, it returns [min, min+1], and [max-1, max] for right/below
- m_mem.m_clut.Read32 was returned to its original place from GetAlphaMinMax
- UserHacks_WildHack was moved up to GSState, special UV handlers are only used when this setting is active
- updated xbyak to the latest available (avx2 seems incomplete, the 256-bit promoted old instructions are missing)
- changed vtune's include path to the 2013 edition

Some other not yet commited changes from a year ago:
- WriteImageX overflow crash-fix
- moved colclamp after dithering (sw mode), it makes more sense, no visible changes noticed
- Gif_Tag::analyzeTag(), there was a conditional I didn't like, split the loop into two parts

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5649 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-06-06 11:36:01 +00:00
gregory.hainaut ae5f9f812d pcsx2: redo cheat loading on linux. Now it will be fully case insensitive.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5645 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-05-27 16:41:22 +00:00
gregory.hainaut 832016f757 pcsx2: support both pnach and PNACH extension (linux is case sensitive...)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5642 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-05-25 08:33:30 +00:00
gregory.hainaut dfd4e9b216 pcsx2: fixed cheat loading on linux.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5641 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-05-24 15:08:01 +00:00
gregory.hainaut b9bd672c89 pcsx2 gui:
* handle cheats and cheatsWS folder like others data folders.
Note: I didn't add new gui entry but every configuration bits are here. Tell me if you want addional entry

* replace folder name hardcoded in AppCoreThread with the new PathDefs::GetCheats* functions


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5640 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-05-23 20:03:10 +00:00
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