Commit Graph

3536 Commits

Author SHA1 Message Date
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
gregory.hainaut@gmail.com b20c1021e8 GregMiscellaneous: zzogl-pg:
* make code more consistent
* Use some sse2 for 16 bits texture


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3943 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-18 17:39:12 +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
gregory.hainaut@gmail.com e71401068e GregMiscellaneous: zzogl-pg:
* Bad copy/paste: restore 256 entries texture


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3940 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-18 13:13:40 +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
arcum42 b0cd667fd6 GregMiscellaneous: zzogl-pg: zerogs.h is now only included by zerogs.cpp.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3937 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-18 11:24:40 +00:00
arcum42 4e1b13766e GregMiscellaneous: zzogl-pg: Add the Clut files to the CodeBlocks project...
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3936 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-18 09:06:12 +00:00
gregory.hainaut@gmail.com 3d23ceddfc GregMiscellaneous: zzogl-pg:
* It is better with the files:p


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3935 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-18 05:51:13 +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 dbd37e2667 GregMiscellaneous: zzogl-pg:
* minor clean


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3932 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-17 16:10:01 +00:00
gregory.hainaut@gmail.com 97cd280684 GregMiscellaneous: zzogl-pg:
* regroup clut core function into one big files

Note: codeblock need to be updated. And I hope template are ms friendly :)


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3931 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-17 15:49:34 +00:00
arcum42 01c171e9e7 GregMiscellaneous: zzogl-pg: Add a header for HostMemory.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3930 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-17 10:03:12 +00:00
arcum42 d114ae7e93 GregMiscellaneous: zzogl-pg: Create ZZKick.cpp & ZZKick.h, and move appropriate code there.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3929 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-17 09:42:49 +00:00
arcum42 9bde4de02a GregMiscellaneous: zzogl-pg: Add a new header. More work on zerogs.h.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3928 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-17 09:07:16 +00:00
arcum42 bce1dfbade GregMiscellaneous: zzogl-pg: Shuffle more stuff around from zerogs.h.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3927 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-17 08:47:31 +00:00
arcum42 74113b1eeb GregMiscellaneous: zzogl-pg: Move target-related structures from zerogs.h to targets.h.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3926 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-17 07:57:25 +00:00
gregory.hainaut@gmail.com 0da424452c GregMiscellaneous: zzogl-pg:
* Keep same format when reupload the texture after an error...
* various minor clean


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3925 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-16 21:11:56 +00:00
arcum42 465f786dee GregMiscellaneous: zzogl-pg: Remove the ZeroGS namespace.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3924 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-16 11:54:46 +00:00
arcum42 87054c5452 GregMiscellaneous: zzogl-pg: Various legacy printfs were hanging around. Change a few messages to just be in Debug mode.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3923 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-16 11:10:48 +00:00
gregory.hainaut@gmail.com fca1ca1e0a GregMiscellaneous: zzogl-pg:
* Forgot to remove the dis-alignment


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3922 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-15 17:47:36 +00:00
gregory.hainaut@gmail.com e3a2569b53 GregMiscellaneous: zzogl-pg:
* Fix previous commit :)


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3921 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-15 12:18:35 +00:00
gregory.hainaut@gmail.com 0b7bccaa17 GregMiscellaneous: zzogl-pg:
* redid the WriteCLUT_T16_I4_CSM1_sse2 functions (more generic, faster, cleaner)
* Create WriteCLUT_T16_I8_CSM1_sse2 based on WriteCLUT_T16_I4_CSM1_sse2
* Change some clut buffer offset... Probably impact the compatibility 


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3920 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-15 09:52:56 +00:00
gregory.hainaut@gmail.com d84d8e8a2a GregMiscellaneous: sync with trunk (3805-3918)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3919 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-15 09:32:41 +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
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
Jake.Stine dbf1a1c7aa wxWidgets/MSW: Likely fix for "cannot commit changes to pcsx2.ini" type errors.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3877 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-05 14:11:22 +00:00
Jake.Stine c7850c2fad Likely fix for Issue 825: converted NVM/MEC file routines to unicode (fixes "file cannot be created" errors for users who's names are not english)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3876 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-05 13:19:53 +00:00