Commit Graph

3255 Commits

Author SHA1 Message Date
Jake.Stine 3bdf62fa0e newHostVM: Sync with trunk (r3972-r3993)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/newHostVM@3995 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-05 01:39:25 +00:00
Jake.Stine a7726871dc newHostVM: More exception / error handling mess.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/newHostVM@3994 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-05 01:33:01 +00:00
Jake.Stine 116f9ec193 Plugins (MSW only): Removed the Image Randomization flag from most plugins' projects. They now default to the value specified by the PCSX2 properties sheet, which enables image randomization by default.
Technical details: Image randomization is a feature on Vista/7 that loads DLLs at random(-ish) addresses, improving security and reducing the amount of DLL relocation work required.  This option has no effect on WinXP.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3993 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-04 12:12:11 +00:00
Jake.Stine dc7f00d05e newHostVM:
* Preliminary implementation for the SpatialArrayReserve class, which will be used for recompiler lookup tables (large portions of these tables are never used by many games).  Will put it to use and test it soon.
 * Finished implementation of TryResize method for reservations, which will be used by PCSX2 if the operating system runs low on ram.

git-svn-id: http://pcsx2.googlecode.com/svn/branches/newHostVM@3992 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-03 17:37:29 +00:00
Jake.Stine 5579350d22 newHostVM:
* Moved profiler management to the RecompiledCodeReserve class.
 * Improved error handling some more.
 * Numerous minor cleanups.

git-svn-id: http://pcsx2.googlecode.com/svn/branches/newHostVM@3991 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-03 14:18:30 +00:00
ramapcsx2 08623978b1 Hackfix the Mana Khemia 1 "off campus" problem.
No one is sure yet how it actually works on the real console though.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3982 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-29 16:11:02 +00:00
Jake.Stine 4eab3c5899 disc image support bugfix for games that have non-conforming SYSTEM.CNF contents (invalid or missing ISO filesystem version numbers, typically specified as ';1' after the filename).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3981 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-29 12:51:04 +00:00
Jake.Stine bd8127f75e newHostVM: More error/exception handling WIP stuff.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/newHostVM@3980 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-29 02:49:01 +00:00
Jake.Stine b568256653 newHostVM: improving error handling and memory management (WIP)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/newHostVM@3979 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-28 13:14:18 +00:00
arcum42 a61e678a12 newHostVM: Fix linux/gcc crash on startup.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/newHostVM@3978 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-28 10:49:45 +00:00
Jake.Stine 283224290d newHostVM: Fix linux/gcc compilation errors. PCSX2 doesn't work yet tho -- crashes on startup and I don't have a proper debug environment setup to trace and troubleshoot it.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/newHostVM@3977 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-27 23:58:10 +00:00
Jake.Stine 4dec10976d newHostVM: Working on linux side now ... (WIP)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/newHostVM@3976 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-27 23:22:19 +00:00
Jake.Stine 4bee22a4cd newHostVM branch: Implemented VM reservation feature for all recompilers.
* SuperVU note: SuperVU recompiler now uses two separate 8mb caches for VU0 and VU1 (needed in order to simplify/saneify the reserve/alloc stages of pcsx2 app startup).
 * Added MemsetFast.inl, which houses SSE intrinsic versions of memset and memzero, for use on aligned data targets.

git-svn-id: http://pcsx2.googlecode.com/svn/branches/newHostVM@3975 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-27 19:18:46 +00:00
Jake.Stine 5e2724bdc3 * (Issue 734) Configuring plugins from the First Time Wizard should work better now (plugins options changes wouldn't stick)
* Security fix for Windows: Forced plugin filenames to be absolute paths, which resolves issues with windows' default path search order for DLLs, and hopefully avoids some errors for users who have installed Microsoft's Improved DLL Security patch.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3974 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-27 15:16:14 +00:00
ramapcsx2 ab08641dfd 10001 updates to the GameIndex file. Thanks to konajona, pgert and Lana :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3972 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-26 12:28:59 +00:00
Jake.Stine bed33749b5 newHostVM branch: (now boots games!)
* EE and IOP recompilers are using the new RecompiledCodeReserve class.
 * PS2 main memory should typically be located at 0x20000000 (code still need some cleanups)

VU0/VU1 recompilers will be implemented soon.

git-svn-id: http://pcsx2.googlecode.com/svn/branches/newHostVM@3959 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-22 19:47:02 +00:00
Jake.Stine 01541f2c92 newHostVM branch: work-in-progress stuff...
git-svn-id: http://pcsx2.googlecode.com/svn/branches/newHostVM@3958 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-22 16:23:52 +00:00
Jake.Stine 495e872e98 newHostVM branch created; implementation purposes:
* a mapped memory system for PS2 virtual machine areas (32mb main memory, 2mb IOP memory, etc) that will be constant across all builds of PCSX2 (should fix problems with 3rdparty cheat apps)
 * virtual reservation system for recompilers; reduces the emulator's overall memory usage while reducing the need for recompiler resets at the same time.
 * recompiler resets (if/when needed) should be much faster.

git-svn-id: http://pcsx2.googlecode.com/svn/branches/newHostVM@3956 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-22 15:05:56 +00:00
Jake.Stine bc02c83360 Merge wxIsoFile branch. Feature Summary:
* Better support for unicode/multilingual editions of Windows, and less hassle with UAC (user access control).
 * Allows use of iso images that are in use by other programs (such as daemon tools, etc)
 * Allows running multiple instances of PCSX2 concurrently on the same iso image (useful for branch testing/debugging).
 * Exception-safe and slightly better error handling.
 * Better drag&drop behavior (doesn't hang the explorer window for as long as it used to)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3955 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-22 14:22:11 +00:00
Jake.Stine aba50c4bf7 wxIsoFile: fixed support for dumpfiles.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxIsoFile@3954 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-21 15:06:57 +00:00
gregory.hainaut@gmail.com b878c5db6b cmake: * make FindGlew more robust & consistent
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3946 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-19 13:33:57 +00:00
Jake.Stine 5ba7b0650d wxIsoFile: final annoying compilation error fixed. Just needs a little linux-side testing now.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxIsoFile@3945 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-19 09:51:57 +00:00
Jake.Stine e30892cf34 wxIsoFile: ... and some more fixes.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxIsoFile@3944 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-19 09:25:44 +00:00
Jake.Stine ca9e250837 wxIsoFile: And a couple more compiler fixes.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxIsoFile@3942 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-18 16:09:00 +00:00
Jake.Stine d5bc947e8d wxIsoFile branch: fix missing includes and gcc compilation stuffs.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxIsoFile@3941 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-18 15:46:05 +00:00
ramapcsx2 2b068be3ab SPU-X:
- Changed defaults and ranges for the soundtouch timestretch parameters. This reduces added latency from timestretching.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3939 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-18 12:50:13 +00:00
ramapcsx2 921e865c8e SPU2-X:
- Prevent the mixer from clamping to the maximum possible range as some audio output modules hate that and start clipping. Notably portaudio is unaffected in tests but all the MS APIs not ;)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3938 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-18 12:27:31 +00:00
Jake.Stine 2b4d7cc384 wxIsoFile branch: (needs linux testing)
* Convert IsoFileFormats.cpp into a class.
 * Use wxFile and wxFileInputStream instead of windows/posix specific file functions.
 * Added new ScopedAlloc classes, which are very simple dependency-free templates for exception-safe allocations.
 * FastFormatString: Improved performance ad fixed an obscure bug.
 * Drag&Drop (UI) - Improved the friendliness and responsiveness, so that PCSX2 doesn't end up tying up an explorer window while it prompts the user or issues error messages.

git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxIsoFile@3934 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-18 01:40:49 +00:00
Jake.Stine 4ee1781ce2 wxIsoFile (new branch): for introducing a heavily refactored built-in isoFile system -- rewritten to utilize wxWidgets input streams, improve exception safety, and fix a few minor bugs. Placing it into a branch awaiting Linux compilation testing; hopefully to be merged into trunk in a couple days.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxIsoFile@3933 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-18 01:31:45 +00:00
gregory.hainaut@gmail.com 8c58c8ee3c zzogl-pg:
* rework isdirty intrinsic. I miss swizzle stuff in first try :p


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3918 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-13 17:00:14 +00:00
arcum42 33214df091 spu2-x: Misc Alsa stuff. Added a few missing files into the pcsx2 codeblocks project.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3917 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-13 09:15:54 +00:00
Jake.Stine fc99f79aac Minor tweaks to assist in comparing new and old DMAC behaviors:
* VIF now sends a 128 bit tag instead of a 64 bit tag (lower 64 bits masked to 0 -- this should mimic real hardware behavior more closely)
 * Added more GIFtag logging info

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3916 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-12 12:15:57 +00:00
Jake.Stine 2d9d3a6b5c trunk/stable: logging additions for VPU's VIFcodes
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3914 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-11 13:55:28 +00:00
gregory.hainaut@gmail.com b2bb425c88 debian: do not bundle ZeroGSShaders. Now the tarball is 100% free :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3909 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-09 11:37:41 +00:00
gregory.hainaut@gmail.com b00c7da0fb zzogl-pg: Update license
* zpipe.cpp is based on a public-domain example 
* zpipe.h trivial file, I change the license to gpl


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3908 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-09 11:24:38 +00:00
gregory.hainaut@gmail.com 31ab78588a zzogl-pg: Add a usleep when toggled fullscreen.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3907 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-09 09:02:23 +00:00
arcum42 e928cc14f6 spu2-x: Work a bit on the way multiple sound modules are handled in Linux.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3906 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-09 07:55:01 +00:00
arcum42 bb137de2ef zzogl-pg: Add a checkbox to disable automatic hack enabling, and straighten out the way auto-enabled hacks are being done a bit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3905 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-09 07:32:33 +00:00
gregory.hainaut@gmail.com c1c2866c1b zzogl-pg:
* Finish to convert ASM to intrinsic
* Force the pointer outsides of the screen in fullscreen
* do not compile useless files


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3903 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-08 21:31:13 +00:00
gregory.hainaut@gmail.com 277d8fb5a6 zzogl-pg:
* Rework resolve function to reduce memory transfer in 16 bits
* Big clean
* Handle corners case when fbh is odd. For the moment I copy the line.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3894 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-07 17:19:17 +00:00
gregory.hainaut@gmail.com 2607f1a860 debian:
* drop the liba52 dependency too


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3890 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-07 10:25:37 +00:00
arcum42 5c205e00fd Get rid of the *other* copy of liba52, and make sure cmake doesn't look for it.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3889 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-07 09:55:36 +00:00
arcum42 02d21d1190 Update codeblocks to take the last two commits into account.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3888 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-07 09:39:38 +00:00
arcum42 3c966d6fbc spu2-x: Remove liba52.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3887 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-07 09:32:42 +00:00
arcum42 c7c64ee7f1 spu2-x: Remove Decoder.cpp.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3886 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-07 09:17:50 +00:00
ramapcsx2 10d04f4122 Another round of game database updates by Shadow Lady. :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3885 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-06 21:01:20 +00:00
gregory.hainaut@gmail.com e0998c8d7e debian:
* forgot to remove some unstable stuff
* Remove a bad tabulation in control file...


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3882 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-06 13:36:46 +00:00
ramapcsx2 8320fa704a SPU2-X:
Quick workaround for the soundtouch / portaudio device selection / latency issue.
Let's simply increase the default output latency to 300ms so even a "default device" in Linux will work.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3881 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-06 00:36:42 +00:00
gigaherz decf1da763 SPU2-X:
- Use the cross-platform mbstowcs() function to convert from ansi/ascii/multibyte/utf8 (whatever) to widechar instead of MultiByteToWideChar. Allows linux people to configure the portaudio device in the .ini.
 - Set the requested portaudio latency to 0.2f (200ms) instead of 0, since apparently it's bad to request 0, and 200ms is a sensible(ish) default.
 - Comment out the call to Pa_Terminate on Close, since it causes issues when re-initializing later. Preferably, we should add some Init() + Shutdown()/Terminate() functions to the output module system to allow for one-time initialization and termination, but this will have to do for now.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3880 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-06 00:34:02 +00:00
gigaherz d61d46bd7b Sync with portaudio r1541 at rama's request.
Too many changes to list here, check portaudio svn log from r1505 to r1541 if you are curious.
Hope it works fine.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3879 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-05 20:52:42 +00:00