Commit Graph

2919 Commits

Author SHA1 Message Date
Jake.Stine 5a92dd0895 Fixed another minor bug or two in the optimized GIFtag parser (one relating to curreg management, and the other a minor hack to fix weird behavior only exhibited by the BIOS). Please test extensively.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3359 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-01 16:18:57 +00:00
Jake.Stine 1b587538a2 LinuzCDVDiso: Second part for fixing Issue 679. Have CDVD plugin return "1" from Open() if the user cancels iso source selector.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3358 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-01 15:09:36 +00:00
Jake.Stine 483c6878a4 UI:
* Added more thread checks when closing the program, to avoid occasional crashes or hangs.
 * Close the GS window on shutdown or critical errors.
 * Fixed part of Issue 679 (excessive CDVDiso popup errors)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3357 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-01 15:08:12 +00:00
refraction a9b8160d9e removed path1 hack from gsdx (not needed) and the redundant path3 hack
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3356 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-01 00:40:19 +00:00
refraction d7f88d05b2 Fixed up VU1 looping so it works how it did, Rock Band should hopefully work again now. (And Guitar Hero 3, Tony Hawks Project etc)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3355 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-01 00:32:06 +00:00
refraction d2838ddc00 Fixed up the optimization disabled in r3353 and should now be safe.
Altered a couple of PATH3 Masking bits again which don't seem to be needed any more.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3354 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-30 23:21:58 +00:00
Jake.Stine 709fa71a92 Disabled GIFtag optimization added in r3305. Added detailed comments explaining why its not safe. Not totally ruling out the potential to fix and restore it to working order, but am fairly skeptical that it will provide any worthwhile speed gain once its been safe-guarded.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3353 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-30 12:16:26 +00:00
gregory.hainaut 1cde49455a [pcsx2]: minor clean of a previous patch.
[debian]: * refresh patch and clean
          * fix copyright file


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3352 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-30 11:18:25 +00:00
Jake.Stine 2a33cd4ffd Minor comment cleanups regarding SIGNAL behavior.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3351 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-30 03:23:37 +00:00
Jake.Stine 5ad95b28eb UI:
* Fix for Issue 780 (missing uppercase iso extensions in the Open File Dialog).
 * A few minor threading fixes for the GameDB loader to avoid crashes/hangs when closing the emulator immediately as it opens.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3350 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-30 03:21:59 +00:00
refraction 25887c62ee -Sorted some VIF problems causing unknown vifcmd errors (Enter the Matrix)
-Fixed up some path3 masking stuff, trying a slightly different approach too.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3349 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-30 00:55:22 +00:00
refraction e035209623 Missed a little bit :P
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3348 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-29 19:34:44 +00:00
refraction 0c6e6d8274 Modified some recent changes a little, should bring back some more of the performance that was lost recently.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3347 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-29 19:32:30 +00:00
Jake.Stine 9e3824c9ef Worked on SIGNAL support some more; fixes missing menu geometry in Soul Calibur 3 (devs: see code comments for details).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3346 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-29 16:43:19 +00:00
Jake.Stine 6d57e15615 * Likely fix for cpuIntsEnabled; I think this is the behavior Ref intended. :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3345 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-29 16:06:12 +00:00
gregory.hainaut f8365215c4 [pcsx2 gui]: For first time wizard panel, use PathDefs::GetDocuments instead of wx GetDocumentsDir (more accurate).
[zzogl]: fix a bad path for snapshot.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3344 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-29 16:05:54 +00:00
ramapcsx2 fc7fdb5399 Communication error :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3343 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-29 10:12:56 +00:00
ramapcsx2 16b2fb0639 Patch in something for ref, may cure some issues with super VU.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3342 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-29 09:58:05 +00:00
Jake.Stine 595e277a87 Crispy christ, I need to remember to wait for the WHOLE solution to rebuild before making commits, no matter how much the wait kills me.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3341 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-29 04:21:07 +00:00
Jake.Stine b0524d051c More fixes for the evil RuntimeError constructor ambiguity. (gcc compile errors)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3340 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-29 03:59:03 +00:00
Jake.Stine 991f813cc0 Another fix for GCC compilation errors.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3339 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-29 00:13:21 +00:00
Jake.Stine a297b9fe1c This is part 2 of my PAL timings savestate fix, from r3331. Dunno how I missed this one either.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3338 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-28 21:26:47 +00:00
Jake.Stine 51638cc189 Fix Linux. >_<
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3337 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-28 19:51:51 +00:00
gregory.hainaut 0a012aec25 [pcsx2]: use a local implementation of GetUserLocalDataDir. Follow the xdg specification for linux.
IMPORTANT NOTE FOR LINUX USER: the "main" pcsx2 configuration is moved from $HOME/.pcsx2 to $XDG_CONFIG_HOME/pcsx2 (or $HOME/.config/pcsx2 if xdg var is not defined).
A first time wizard is expected. Just import you previous settings.

[cmake]: add a missing h file. 


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3336 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-28 19:46:54 +00:00
Jake.Stine 1c7fc3e176 Mostly-new host exception system (host meaning the C++ / SEH exceptions, not the VM's PS2/MIPS exceptions). Main purpose is to make specifying diagnostic and end-user messages more sane. Secondary goal was to remove the need for C++ multiple and virtual inheritance, which are buggy in MSVC still, and problematic even when they aren't buggy.
I also re-implemented R5900 runtime exception handling for TLB Miss and such (devbuilds only, for now).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3335 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-28 18:03:54 +00:00
arcum42 f058e38f5b zzogl-pg: Commit patch from zzogl-213 for shaking when interlace is on in FFX-2. (Issue 768).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3334 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-28 10:54:26 +00:00
Jake.Stine f3b7c09851 ... not sure how I missed committing this last night. >_< (fixes compilation errors)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3333 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-28 10:21:04 +00:00
cottonvibes 8ae1e91f7f microVU: Now supports growable rec-cache.
So when a game has reached the cache-limit, mVU allocates more memory unless it has reached it's max limit (100mb for vu1, 50mb for vu0)


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3332 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-28 05:23:59 +00:00
Jake.Stine 87c80d6e2b * Add gRegionMode to the savestates; probably fixing a lot of unstable savestate behavior on PAL games (not sure how it managed to escape -- I explicitly remember adding the region info to the savestate in pcsx2-pg like 2 yrs ago).
* Make the new MTGS register packet during vsync not upload 0xf0->0x100.  This is technically GS internal register space that the GS plugin may update or modify as it processes GIFtags.  Thus, PCSX2 shouldn't touch it.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3331 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-28 03:09:51 +00:00
Jake.Stine 00ec820198 GameDB: Fix long loading times of the database, by using a very efficient block-based allocation system, and reserving enough memory for about 9500 titles. Also added a thread at startup to load the gamedb in the background while PCSX2 is opening windows and printing to the console.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3330 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-28 03:05:10 +00:00
Jake.Stine b7f2af1160 zzogl-pg: fix a warning on win32, and remove the non-existent gssoft.def file form the vsproj.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3329 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-28 03:01:06 +00:00
refraction 4186201f3b Fix for Beyond Good and Evil (maybe Raving Rabids too), added a couple of bits of logging for 8 and 16 bit reads.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3328 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-27 15:34:04 +00:00
ramapcsx2 9a9c41f59e SPU2-X: This should be more correct.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3327 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-27 14:39:28 +00:00
Jake.Stine af40a22ee8 SPU2-X: Reverb compatibility improvements (fixes Ys6).
* EEA / ESA writes are ignored when Effects are enabled.
 * When effects are disabled, reverb does not process IRQs or produce sound.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3326 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-27 13:11:38 +00:00
ramapcsx2 7dbbaf1c04 Small fix to the ee timing hack.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3325 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-27 12:56:35 +00:00
arcum42 dceefdf22b zzogl-pg: Get rid of some annoying spam when debugging, and remove some old code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3324 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-27 08:51:24 +00:00
arcum42 8f46aea568 zzogl-pg: Some work on the Gif Registers. I'm trying to bring them a bit closer to the way GSdx handles them.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3323 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-27 08:38:50 +00:00
arcum42 621fb5bd24 zzogl-pg: Fix a silly typo. Issue 766.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3322 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-27 03:36:39 +00:00
Jake.Stine b3cd458c78 ... oops. Dunno how that got in there. (fixes God of War, improves SC3 .. though SC3 is still missing quite a bit of geometry for some reason).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3321 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-27 02:57:04 +00:00
Jake.Stine f1fb7810be Correct handling of FINISH events on the GIFpath; the FINISH is not posted until *after* all GIFpaths have been drained (nloop is 0 and EOP is 1). This fixes Ys6 bootup hangs.
Note: I'm reasonably sure this is the correct implementation for FINISH.  There's a *good* chance this could cause regressions in some other games that use PATH3 or other DMA tricks.  This will likely be due to hacks or bugs in the GIF/VIF dma code, and not FINISH.  That is, we've been catering to a broken FINISH tag this entire time -- basically telling games the GS paths are clear when they're not. ;)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3320 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-27 02:24:00 +00:00
arcum42 2787e6e2a1 zzogl-pg: Assorted cleanup. Added ZZoglCRTC.h, to clean up some clutter in ZZoglCRTC.cpp.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3319 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-27 00:53:06 +00:00
ramapcsx2 15782fefdd SPU2-X:
- Some preliminary work on better resets. Also some commented out yet changes.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3318 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-27 00:44:00 +00:00
gigaherz 0e6c4377fe I forgot to change one line. Also took the time to set a toggle for this other feature.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3317 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-26 21:32:02 +00:00
gigaherz f1630170ed Implemented a better "host:" rewrite system, which takes the path of the elf being loaded as the root of the virtual "host:". This is the same behaviour as pc-side ps2link clients. The code could probably be cleaned up a lot or made more configurable, if someone wants to improve it.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3316 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-26 21:17:21 +00:00
ramapcsx2 fe92409fd4 SPU2-X:
Revert all reverb area tryouts, caused bleeps in many games (breaking Ys and that shonen jump game, but oh well).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3315 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-26 15:00:32 +00:00
ramapcsx2 1c898ad5f0 Since we're not using MMX registers to hold EE data in the recompilers anymore, we should be safe to exclude them from register saving / storing.
Pretty big speedup in games with lots of GIF activity (Soul Calibur 3 goes from 40 to 48fps).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3314 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-26 14:35:22 +00:00
Jake.Stine b85be17e04 Revert some changes from r3310 -- I forgot that the GS plugin still needs to manage three separate instances of the GIFpath until the MTGS packet reordering system is finished later. (this was my attempt to try and make this change more baby-stepish but it failed).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3313 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-26 14:13:34 +00:00
Jake.Stine a1de87206b Temp fix for Soul Calibur 3, possibly most other broken games.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3312 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-26 13:36:57 +00:00
cottonvibes c1047172c7 microVU: changed vu0 rec-cache to 10mb... seems rachet and clank games need this amount when not using mVU speedhacks (the speedhacks emit less code-gen, so it makes games need less rec-cache amount)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3311 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-26 07:57:46 +00:00
Jake.Stine 04e89783cd (minor optimization) Let's not even use the GS plugin's Path1 or Path3 parsers anymore. All GIFtags can be sent safely through the GS's hack-free Path2 instead.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3310 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-26 07:48:16 +00:00