Commit Graph

3523 Commits

Author SHA1 Message Date
Jake.Stine 12bdd9dc10 * Fixed death-by-recursion caused when a thread threw an exception.
* Fixed some minor bugs when processing idle events.
 * Plugin Load/Init/Shutdown/Unload are all called from the Main/UI thread again; this is important for plugins that issue popup warning/error messages.

DevNotes:
 * Added ScopedPtrMT, a multithread-safe version of ScopedPtr.
 * MTGS errors are still not handled as gracefully as they should be; namely the MTGS thread doesn't restart itself (it's on the TODO list).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2958 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-07 03:20:58 +00:00
arcum42 0918cb42a3 Spu2-x: May as well delete the automake files for spu2-x, as they never worked... (The only way you can build spu2-x in Linux right now is codeblocks.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2957 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-06 09:46:48 +00:00
arcum42 deb0f620d7 cmake: Make Devel the default for the moment. Commit another cmake patch...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2956 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-06 09:33:23 +00:00
sudonim1 6314d413f9 Save state version bump. Since I changed VIF structures in the last commit, state compatibility was broken.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2955 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-06 00:49:08 +00:00
sudonim1 7c6f8877e8 Found wizardry / growlanser 2 & 3 hanging bug thanks to rama. OPH flag in GIF_STAT was misinterpreted (probably). It needs to be set on download, not upload.
Also clean-up/fix of GS download logic.  Might fix something if we're very lucky.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2954 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-06 00:43:13 +00:00
ramapcsx2 d474febcd6 Usual fix for FF12's crashing FMV. PCH on this time.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2953 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-05 22:11:59 +00:00
sudonim1 99fc9db0d0 DMA logging typo correction
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2952 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-05 22:07:22 +00:00
arcum42 152a36fa98 Replaced some defines that were accidentally removed at some point. Did some cmake work. Removed a forceinline that was giving gcc issues.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2951 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-05 20:06:05 +00:00
arcum42 e0e6060414 cmake: Clear the link flags to get rid of -rdynamic, which was causing freezing issues. (Again, thanks go to gregory on this one.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2950 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-05 11:17:08 +00:00
arcum42 546ead475b Tweak zzogl-pg's C::B file a bit. Slap a quick patch on pcsx2 so it compiles. (Jake will probably want to fix that properly...)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2949 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-05 09:10:22 +00:00
sudonim1 298dbbd201 There are 1000 ms in one second.
I hate how VS defaults to modifying the active configuration only.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2948 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-04 22:38:19 +00:00
Jake.Stine 34b118738f Minor fixes to iso and cdvd source changing.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2947 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-04 22:12:25 +00:00
arcum42 dfb301c1ba Fix the cmake build of zlib, and force use of the internal copies of a few of the libraries for the moment. (If the cmake build starts working properly, I'll probably reverse that, but for the moment I want them as similar as possible.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2946 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-04 20:28:34 +00:00
sudonim1 af13fec64a Nothing to see here.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2945 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-04 15:41:47 +00:00
sudonim1 b3a1397797 R3000A: rewrote module import table hooks for more extensive HLE in the near future.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2944 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-04 15:03:16 +00:00
arcum42 f77cc74708 Apply gregory's cmake patch to fix it to compile with recent revisions. (Note: still unsupported.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2943 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-04 10:17:47 +00:00
arcum42 a87adb5f7b Zeropad: Apply the same patch as on onepad.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2942 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-04 09:45:57 +00:00
arcum42 2fed047080 Onepad: Fix PadKeyEvent so it doesn't hang new versions of pcsx2 when you hit a key.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2941 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-04 09:35:23 +00:00
sudonim1 9de7e8be6f Removed some playstation (1) BIOS code and started cleaning up high level implementations of iop module functions.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2940 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-04 01:15:36 +00:00
arcum42 896f731eb8 Missed one thing.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2939 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-03 19:38:31 +00:00
arcum42 97e6d37e39 Linux doesn't use NTFS compression.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2938 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-03 19:35:33 +00:00
Jake.Stine 70d47bf240 Copyright 2010 : PCSX2 and plugins! (notable exception: didn't update copyright info in any Gabest plugins)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2937 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-03 14:08:02 +00:00
Jake.Stine 1507d72cad UI Bugfixes:
* Fixed several obscure deadlock issues.
 * Savestate actions block; such that only one load or save is permitted at a time.
 * Savestates now work through temp files, so that the existing file is not corrupted in case errors occur.
 * Exiting the emu while a savestate is saving will still save the state before completely quitting.
 * Plugin init errors are handled more gracefully.

Developer Notes:
 * Added some event diagnostic trace logging stuff.
 * More preliminary work on memorycards -- moved them to their own dialog box and started implementing things, but still a lot of work to do before it's ready for use.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2936 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-03 13:51:46 +00:00
arcum42 b9c8ac3ead zzogl-pg: Add the new files to the codeblocks project.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2935 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-02 06:29:43 +00:00
arcum42 393963f578 zzogl-pg: Separate out some profile code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2934 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-02 03:09:20 +00:00
arcum42 c160aa495a zzogl-pg: Missed the Windows specific files. BOOL->bool in a few places.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2933 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-01 23:34:44 +00:00
arcum42 12ad5308ed zzogl-pg: Part 2 of the re-formatting; ran AStyle over the headers.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2932 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-01 22:54:23 +00:00
arcum42 a6c4df49ea zzogl-pg: Ran a bunch of the files through AStyle, so I don't find myself messing with the source code formatting so much.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2931 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-01 20:33:53 +00:00
ramapcsx2 7e8c22b4f5 Committing "blood's" work on building PCSX2 and plugins under msvc 2010.
Changes: Fixed all compile errors in VS 2010. Added support for new w32pthreads.v4. Fixed all MSB8012 warnings. Fixed LNK419 warnings with /DELAYLOAD. Fixed issues when compiling Devel before Release. Added GSdx Devel target. Minor cleanups.

Thanks a bunch, blood :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2930 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-30 19:46:43 +00:00
refraction 69d08baef6 Cleaned up a couple of Path3 Masking bugs which stood out, might fix some of the remaining glitches
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2929 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-30 12:14:35 +00:00
arcum42 26e3038683 zzogl-pg: Fix Linux after the last commit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2928 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-30 05:24:27 +00:00
arcum42 e4d42b1e7b zzogl-pg: Work on reducing the amount of platform specific code a bit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2927 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-30 04:40:31 +00:00
refraction 35498e329f -Fixed Metal Saga video (which i seemed to have broken with voodoo!! maybe i should see the lady in the voodoo shop, last time i did that she told me i had to fight a fearsome pirate...) ahem, sorry.
-Fixed a Bitstream bug which was annoying me.
-Modified a silly long if check with multiple bit shifts, should be a tiny bit quicker.
-Various other IPU changes

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2926 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-29 00:10:15 +00:00
Jake.Stine aae53a9707 Minor cosmetic cleanups for the earlier Linux fixes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2925 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-28 16:25:04 +00:00
arcum42 5c20358c19 zzogl-pg: A quick persistant window hack.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2924 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-28 02:56:40 +00:00
arcum42 d2c63c7bbc A rubber chicken with a pulley in the middle...what possible use could that have?
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2923 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-28 01:36:15 +00:00
sudonim1 04cf8bcb0f Fix ELF loading.
Remove save/load of boot2 injection option (shouldn't be part of the configuration any more as it's determined by the boot type, but I'm not sure where to move it)
Added missing entry point trigger after ELF loading.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2922 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-28 00:05:41 +00:00
Jake.Stine a68c7b2d45 Fix for random crashes when using F4 (framelimit toggler).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2921 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-27 23:27:14 +00:00
Jake.Stine 80cfbba7b7 * Fix to changing plugins on the fly (should actually work pretty reliable now).
* Make applying emu settings a little more transparent, with less gs window flicker mess.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2920 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-27 21:29:37 +00:00
Jake.Stine 7c31236f8e Mirror the pulldown menu tooltips to the program/console log, so that you can see them (if you use the console log anyway -- if not, too bad. ;)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2919 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-27 17:04:12 +00:00
Jake.Stine 7bdcc2c2a4 Fix for DECI2 savestates (store PS2/VM memory address instead of PC/Host memory).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2918 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-27 16:42:17 +00:00
Jake.Stine 13e73db939 Add DECI2 state variables to savestates; fixes occasional crashes in some games when using savestates combined with the new skip bios hack. (future savestate changes will probably be versioned from here out!)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2917 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-27 16:23:08 +00:00
Jake.Stine c7ab69571b Minor fixes to selecting isos and changing cdvd source types.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2916 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-27 16:20:49 +00:00
Jake.Stine bd76de1a8b Some bugfixes to suspend/resume and changing plugin options on the fly.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2915 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-27 15:18:25 +00:00
Jake.Stine df60f016c8 Added obj, tmp, and the deps folder to the clean_msvc.cmd
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2914 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-27 15:17:22 +00:00
Jake.Stine ac1e1cf7bd SPU2-X: Typo fixed from prev commit; solves lots of audio errors.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2913 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-27 14:12:41 +00:00
Jake.Stine 68b7121b92 ... and the missing file might help. Woops.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2912 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-27 13:18:29 +00:00
Jake.Stine 5d37925617 Major UI renovations!
* Added versioning info to savestates! (along with some other bugfixes)
 * Simplified the Boot and System menus -- removed the old Skip BIOS hack and replaced it with the new BOOT2 injection method (which is considered hack-free at this time).
 * Removed lots of UI deadlock gotchas.
 * Some new confirmation dialogs and better error handling.
 * Implemented an exclusive SysExecutor thread, which serves the purpose of executing system/VM commands and events in uninterrupted order (including suspend, resume, savestates, etc.)



 * ... and probably broke linux!

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2911 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-27 13:12:03 +00:00
Jake.Stine c440cb563a w32pthreads: (Upgrade to v4) Added pthread_cond and pthread_rwlock APIs.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2910 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-27 13:06:03 +00:00
Jake.Stine d33e2edb48 SPU2-X: Fix for occasional reset/restart crashes caused by invalid regtable lookups.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2909 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-27 12:48:14 +00:00