Commit Graph

1071 Commits

Author SHA1 Message Date
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
Jake.Stine 53ebbc0242 Lilypad: fix ini file support on non-english systems (unicode compliance issue).
Details: The "%S" directive in sprintf() only does a shallow wide char conversion from ASCII, it does not actually convert UTF8 to UTF16.  Replaced it with a call to MultiByteToWideChar.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3878 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-05 14:31:17 +00:00
gregory.hainaut@gmail.com b93d9617cd zeropad: Properly setup the path of the ini file.
+ metadata of my previous zz merge


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3875 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-04 22:09:46 +00:00
Jake.Stine 573b741d7f zzogl-pg: oops.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3873 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-04 21:52:22 +00:00
Jake.Stine 115b431af5 zzogl-pg: fix the crash problem in msvc/sse intrinsics, and avoid compiler use of MMX by using the SSE version of 64-bit loads.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3871 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-04 18:03:44 +00:00
gregory.hainaut@gmail.com c7a929a530 zzogl-pg: Merge back GregMiscellaneous branch (3867)
* Various clean
* Replace ASM by intrinsics (much more portable)
* Various performance tuning (expect 10%-20% speedup ^_^ )


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3868 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-03 12:35:57 +00:00
arcum42 8c552f4f2e zzogl-pg: Add some includes in ZZoglShaders for Windows.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3794 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-17 20:41:17 +00:00
arcum42 da49cce435 zzogl-pg: More sync changes. (See r3768 & r3786)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3787 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-17 08:43:43 +00:00
arcum42 cc5414f49e zzogl-pg: Renamed Vector to float4 & renamed zerogsmath.h to ZZoglMath.h. (Continuing to work on bringing zzogl-pg in sync with recent revisions of zzogl.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3786 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-17 07:31:55 +00:00
arcum42 6656819a33 zzogl-pg: Mess around with the Windows code a bit more.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3785 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-17 05:26:50 +00:00
arcum42 0c151275eb zzogl-pg: Majorly revise the Windows config dialog box. (May still need more work.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3784 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-17 04:39:18 +00:00
arcum42 c728bf2ddf zzogl-pg: Bring a few of the changes in the GregMiscellaneous branch into the trunk.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3783 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-17 00:40:07 +00:00
arcum42 01afac40f6 zzogl-pg: Work on getting the ZZoglShaders header a bit closer to what is in the current zzogl trunk.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3768 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-15 11:04:31 +00:00
gregory.hainaut@gmail.com 997db8ef05 zzogl-pg: fix a potential issue when logging is disabled
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3767 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-14 11:53:53 +00:00
gregory.hainaut@gmail.com 40fa31a64e zzogl-pg:
* Allow to load the plugin without log (better but not mandatory)
* Only reload the log file when it was open in the first place


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3766 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-14 11:51:26 +00:00
gregory.hainaut@gmail.com e2cb52becf cmake:
* Link zz with libjpeg. Well it seems to get the library from another place, but better be safe for the future.
* Use -pthread as a default option (again to be safer)
* Warn about breaking of strict aliasing rule 


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3761 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-13 15:26:04 +00:00
arcum42 b15dd516c2 zzogl-pg: Having two functions with the same name, one of which is in a namespace, and one of which isn't, strikes me as a bad idea.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3760 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-13 09:33:09 +00:00
arcum42 4e03f0299b zzogl-pg: Lets remove the xf86vm library dependency from the codeblocks project while I'm thinking of it...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3759 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-13 07:58:24 +00:00
arcum42 6528f4b479 zzogl-pg: Remove some remanents of negAA. Mess with the aa code a bit. Add a function for a commonly done operation. Increment the version, since I haven't done that in a long time.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3758 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-13 04:57:03 +00:00
gregory.hainaut@gmail.com 21fada2e53 zzogl-pg: remove negative AA. Save some cpu cycles.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3756 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-12 10:54:42 +00:00
arcum42 6b4d447c8d zzogl-pg: Search and replace on a few things.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3755 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-12 07:15:52 +00:00
arcum42 2f004397f6 ZZogl-pg: Commit some of the work Zeydlitz did in r226 with separating out shader code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3754 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-12 01:05:11 +00:00
gregory.hainaut@gmail.com 338589f900 zzogl: flush instead of sync to be sure the size is correct
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3753 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-11 10:50:16 +00:00
arcum42 ecfb8efee5 zzogl: Not sure how these didn't get copied in properly. :(
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3752 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-11 10:01:52 +00:00
arcum42 48f3a6d273 zzogl: Misc cleanup.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3751 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-11 09:44:15 +00:00
arcum42 45eb60439a zzogl-pg: Sketch out some dialog box changes in Windows for later.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3750 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-11 06:28:10 +00:00
arcum42 7914348d91 zzogl-pg: Add the new files to the Windows project.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3749 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-11 05:55:34 +00:00
arcum42 a9281ecea0 Lets go ahead and bring the changes to zzogl-pg in the GregMiscellaneous branch into trunk.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3748 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-11 04:51:18 +00:00
arcum42 a4155a2240 Minor cleanup from the last commit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3715 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-01 10:34:02 +00:00
arcum42 e686d47cd7 ZZOgl-pg: Rework the GLX11Win.cpp code a bunch. Fix a bug leading to crashes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3714 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-01 10:28:37 +00:00
gregory.hainaut@gmail.com 393333456c PCSX2 VU: Linux compilation fix and force 16 bytes alignement for VURegs
Spu2x: Use a standard destructor (POD safe stuff). Fix various segmentation faults (Issue 846)


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3702 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-30 20:39:04 +00:00
ramapcsx2 809135a3b0 GSdx:
Another round of configuration dialog renovations. 
Fixes the leftover "Skipdraw" text when hacks are disabled.
Group the options a bit nicer. Group hardware Anti Aliasing with hacks.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3693 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-27 13:48:41 +00:00
gregory.hainaut@gmail.com 28dc7cfe69 PadNull: safer fclose
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3690 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-25 20:18:45 +00:00
arcum42 0d050634ff zzogl-pg: Add the updated crc list from r3660.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3684 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-24 11:23:40 +00:00
gregory.hainaut@gmail.com 4e8c50dc9e CDVDiso: Fix the code to compile without -fpermissive
* Add some 'const'
* Add some type cast: FILE* and char*


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3683 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-23 18:35:20 +00:00
gregory.hainaut@gmail.com d71cce5495 onepad: implement setLogDir interface
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3682 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-23 18:30:48 +00:00
ramapcsx2 18663acf57 - Warn about disk emulation software on CDVD file access failure. Seems to be a too common problem people run into.
- Minor log change for SPU2-X.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3681 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-23 12:10:55 +00:00
gregory.hainaut@gmail.com d183232e69 zzogl: Limit texture supported to 8k
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3678 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-22 10:22:07 +00:00
arcum42 661ddf088c ZZOgl-pg: Catch up with some of the changes in recent revisions of zzogl.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3677 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-22 09:42:28 +00:00
gregory.hainaut@gmail.com 112800cb98 common, GSnull, zzogl-pg, SPU2null: add more safety to some fclose functions. Avoid a bunch of double free and memory corruption.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3671 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-20 11:13:40 +00:00
ramapcsx2 92dbee7e79 Small updates to the game database and GSdx CRCs.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3669 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-19 13:01:26 +00:00
arcum42 66c8b8381e zzogl-pg: Quick Windows fix for an issue introduced in zzogl r218. Fix a typo.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3663 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-18 13:38:45 +00:00
arcum42 0e37310783 zzogl-pg: Copy the modified ps2hw.dat file in as well.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3661 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-18 12:44:45 +00:00
arcum42 59262101db zzogl-pg: Add in changes from zzogl r218. (I'll still need to go through r214-217 and grab any important changes, though.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3659 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-18 10:52:57 +00:00
arcum42 9a5e9e24e1 zzogl: Get a start on abstracting the memory code a bit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3657 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-18 08:54:16 +00:00
gregory.hainaut@gmail.com fcba95f4d4 CDVDlinuz:
* move content of version.h into CDVDlinuz.h (avoid a conflict with version.h located in /usr/include/alsa)
* allow cmake to build it.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3654 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-17 14:39:58 +00:00
Jake.Stine 645188e0e8 GSdx: Minor optimization and some code simplifications relating to VertexKick/DrawingKick and the Packed register handlers. I also added preliminary work for a switch-based packed register dispatcher (WIP, doesn't support frameskipping yet).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3649 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-17 04:38:49 +00:00
ramapcsx2 cad4158283 GSdx:
Added Haunting Ground to the list of games that get their post processing automatically removed.
The game still shows a badly blended fog but is otherwise nicely playable now.

Hacks are from an unknown coder. Thanks for figuring it out! ;)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3642 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-15 14:48:07 +00:00
arcum42 699e623998 zzogl-pg: Work on GetRectMemAddress.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3639 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-14 08:15:19 +00:00