Commit Graph

2177 Commits

Author SHA1 Message Date
gigaherz c9c94978e5 <avih> hmm.. this is wrong(-ish). I've updated portaudio, but spu2x still shows as version r4949 ... can this be fixed? or maybe i didn't compile it properly?
...
<avih> so, come on, touch spu2x to have recent rev number

Touched... hopefully I touched right. Felt awkward.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5024 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-27 21:03:53 +00:00
gregory.hainaut 720a841cb2 gsdx-ogl: merge from trunk (4990:5021)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl@5022 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-27 17:04:28 +00:00
gregory.hainaut 4f6796916a gsdx linux:
* add the code to select the attribute (still the default but can be changed now)
* add a hidden option (condvar) to select between the 2 threads algorithm


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5021 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-27 13:14:30 +00:00
gregory.hainaut ba14c557ed gsdx linux:
* use memory instead of tr1 (was the experimental implementation of c++11)
* remove strict aliasing optimization because I saw some bad warnings
* Fix pthread of the previous commit. Use default attribute but it might need some tuning


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5020 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-27 12:22:13 +00:00
gabest11 25072b99c7 GSdx: a few minor changes, please check if I wrapped the new pthread things correctly
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5019 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-27 09:15:35 +00:00
avihal 3aa3b1caf6 GSdx: Improved Genji CRC hack.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5018 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-27 08:28:32 +00:00
gregory.hainaut 7f3b11c7db gsdx:
* fix the new extra thread option in the gui dialog
* implement condition variable on linux. Will need some benchmark.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5017 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-26 22:30:59 +00:00
gabest11 2628d5bb7d GSdx: a little refinement to the fix for the issue that come up with Bully.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5016 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-25 07:26:42 +00:00
gabest11 ed8eb53c22 GSdx: Valkyrie Profile 2 fix (discussed under r5010 and r5012), this bug could have broken much more games, strange that it did not.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5015 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-24 15:02:48 +00:00
arcum42 48afd2c274 Linux-only: Removed a few obsolete files. Copied in a build script to make rebuilding the project a bit easier.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5013 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-24 11:15:42 +00:00
gabest11 bc7a930409 GSdx: This fixes the flickering in Bully, and probably games with the same problem. Could not check Valkyrie Profile Silmeria, yet.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5012 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-24 07:00:16 +00:00
ramapcsx2 7dfff148b8 GSdx: Hack around a problem with the texture cache finding depth stencils when there can't be any.
This makes the Arc the Lad fog issue go away.

Review would be nice though :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5011 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-23 20:58:10 +00:00
gabest11 963a6a653a GSdx: changes of r5007 did not help as much as I thought, disabled it for the time being, plus other minor optimizations
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5010 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-23 15:53:53 +00:00
gregory.hainaut 33a9ac370a gsdx-ogl: LINUX-ONLY
* implement offscreen and cache (mostly a copy past of dx)
* add the missing macro selector of the shader...


git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl@5009 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-23 12:32:40 +00:00
gabest11 da41bcd756 GSdx: Replaced condvar/srwlock imports with getprocaddress, it should work on XP and compile on vs2010 express again.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5008 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-23 02:49:27 +00:00
gabest11 d5dbe7e7e9 GSdx: Moved filling up rendering threads on a new thread, to not block the main, it looks like now I can replace one of the spin loops with an event. Using events results in about -5% fps, but still pretty fast.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5007 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-22 14:36:54 +00:00
gregory.hainaut 6f5ac7b788 gsdx-ogl: LINUX-ONLY
* go back to opengl 4.1 (nvidia driver is buggy with 4.1).
* fix the backbuffer allocation. bad order of parameter
* fix remaining glsl error


git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl@5006 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-22 14:12:12 +00:00
gabest11 2421c68bee GSdx: Saving the conditional var update (vista or better) before I try a new idea again. That Sync() call is wasting too much time, if there was only one queue then the main thread could also grab and process elements instead of just waiting for the workers.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5005 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-22 01:48:16 +00:00
avihal 5e0e4ce6a8 Fix Dynamic CRC hacks (got broken on r4991 )
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5004 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-21 23:35:30 +00:00
gregory.hainaut a9927a6e33 gsdx-ogl: LINUX-ONLY
* rework a little the shader to be hopefully compatible with nvidia
* request a pure 4.2 context (all gpu 4.1 capable support 4.2 anyway)


git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl@5003 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-21 23:09:36 +00:00
gregory.hainaut f604ba8d7f gsdx-ogl: LINUX-ONLY
Remove foreach feature not supported on old compiler


git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl@5002 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-21 20:37:24 +00:00
gregory.hainaut 9272be182e gsdx-ogl: LINUX-ONLY
* add the forgotten hardware renderer object.

Oh my gosh! Opengl is 20% faster than Dx!!!


git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl@5000 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-21 19:08:31 +00:00
gabest11 1691ab2cf0 GSdx: fixed vs2008 build errors
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4999 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-21 00:08:00 +00:00
gabest11 0b62c17d9c GSdx: Renamed the sw thread setting to "extra threads".
- 0: no multi-threading
- 1: gif packet processing and texture uploads run parallel with rendering, the slowest decides the fps, dual-cores can still suffer by the spin loops, I'll check that when I compile pcsx2 on my notebook
- 2: two rendering threads, on a decent cpu packet processing is going to be slower now, this is probably going to increase fps the most on quads
- 3: small fps increase
- 4+: even smaller. 

If you have a quad cpu with HT, 6 is the max, 1 + 1 is needed for pcsx2 and gsdx's basic tasks.

Also hacked palette writes to not force a read-back in hw mode (added in previous rev), it hit render targets in a surprising large number of games.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4998 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-20 14:33:28 +00:00
gregory.hainaut e4c70ad229 gsdx-ogl: LINUX-ONLY
Forgot the shader file...


git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl@4997 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-19 21:04:16 +00:00
gregory.hainaut 83ad63a8a7 gsdx-ogl: LINUX-ONLY
* lay the foundation for the HW renderer on OGL


git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl@4996 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-19 21:03:23 +00:00
gabest11 2f401da58c GSdx: fixed shared_ptr for GCC, but it does not seem to be thread-safe in 4.4.5.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4995 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-19 01:20:55 +00:00
gabest11 b7a70c9541 GSdx: Little bug slipped through.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4994 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-18 22:04:05 +00:00
gabest11 b86e3ebd19 GSdx: Polished the recent changes a bit. Single threaded mode should be back to normal, 2-4 threads might be faster or slower. All in all, it has a lot more potential now. Rendering is almost as separated as with d3d, everything needed is packed and copied for the worker threads, synchronization between local memory and the temporary buffers is properly done. This model could also be back-ported to d3d. Or the software rasterizers could be hardware assisted somehow, there are a lot less sync points where those buffers should match with the contents of the local memory.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4993 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-18 21:57:48 +00:00
gabest11 f318e84aca GSdx: Better multi-threading for the sw renderer. Threads must be synchronized lot less, 1/10th in average, can run parallel longer and uses more cpu (bit more empty spinning, too). There could be some new bugs, as usual.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4992 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-18 08:13:20 +00:00
gabest11 4b77052d21 GSdx: just saving minor changes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4991 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-16 19:13:58 +00:00
gregory.hainaut ab01926ed5 gsdx-ogl: LINUX-ONLY
* rewrite the vertex management with a nice GSVertexBufferState object
* extend GSUniformBufferOGL to use a better object interface
* properly delete texture
* manage buffer with glMap* instead of glBufferSubData


git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl@4990 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-15 18:27:58 +00:00
gregory.hainaut 4029cc5195 gsdx-ogl: LINUX-ONLY
* constant buffer are attached to contexts not programs. So do it only once!


git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl@4988 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-11 19:11:01 +00:00
gregory.hainaut fbb224837d gsdx-ogl: LINUX-ONLY
* Enable interlace feature. (note I'm well aware that interlace crashes with SDL)
* remove useless callback debug function
* handle the y axis differently. Move vertex to follow right-hand system (render everything in reverse) then flip the y-axis for the screen rendering


git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl@4987 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-11 19:09:08 +00:00
arcum42 be53385e9f gsdx-ogl: LINUX-ONLY * Sync with trunk. (r4970-4985)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl@4986 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-11 02:06:41 +00:00
gregory.hainaut daf3c43681 gsdx-ogl: LINUX-ONLY
* improve vertex management with a vertex array. Decorrelate vertex from strech rec and others func (later for the HW renderer)
* fix the crash on nvidia when closing the window
* clean some texture management code


git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl@4985 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-10 19:19:44 +00:00
arcum42 e6057b765f gsdx-ogl: LINUX-ONLY * Fix context creation. Get opengl working with nvidia graphics cards.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl@4984 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-10 11:56:34 +00:00
gregory.hainaut afdb2dadc3 gsdx-ogl: LINUX-ONLY
* add a callback for GLERROR.  Allow to breakpoint on GSDeviceOGL::DebugCallback (gdb is completely lost on amd driver, hope it is better on nvidia)
* Add some empty glsl convert to shutup some useless debugging error
* request an advance opengl context without pre 3.0 feature.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl@4983 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-08 16:39:14 +00:00
gregory.hainaut 2be037d78f gsdx-ogl: LINUX-ONLY
* flip y-axis in merge stage
* default to xlib window managment (the dynamic switch between sdl and xlib crashi but SDL will probably dropped later)
* improve management of FBO, draw buffer
* try to fix some issue with glClearBuffer but spec is not clear.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl@4982 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-08 11:17:59 +00:00
gregory.hainaut a835de0af7 gsdx-ogl: LINUX-ONLY
* implement the saving of texture (take bmp SW code)
* fix the missing "enable attribute code" and the typo in glsl. It works now !!!
* rework a little texture to pack texture into a temporay buffer when src pitch != dst pitch
* try to replace sdl with pure xlib (not yet enabled by default but it seems to work)

Note there still a minor issue, coordinate are different between DX and OGL (upper-left vs lower-left) so the image is inversed.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl@4981 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-07 22:05:46 +00:00
gabest11 df42f468be GSdx: recent changes caused some errors in line drawing (SoTC loading screen)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4979 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-04 18:35:16 +00:00
gabest11 9f470962e5 GSdx: less gaps between triangles, it was more noticeable with psx games, having a lower resolution.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4978 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-04 15:31:02 +00:00
gabest11 786f43a707 GSdx: more fixes to z-interpolation, THPS4 looks alright now.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4977 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-04 09:49:55 +00:00
gabest11 0d7c58065a GSdx: this fixes some of the flickering in THPS, objects in the far distance still have some z-fighting problem, z values used are too large and too close to each other.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4976 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-03 21:04:46 +00:00
gabest11 f1537f53a2 GSdx: Found where the bypassed int z was destroyed. (bug appeared in r4967)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4975 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-12-01 17:08:10 +00:00
gregory.hainaut eb3eafa090 gsdx-ogl:
* implement shader code (subset that seem to be used in SW mode)
* some hack to fix some alignment issue with GSVertexPT1 structure
* Lots of various opengl fixes. Remaining unsupported GL feature are inside SDL.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl@4974 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-11-30 21:42:41 +00:00
gregory.hainaut 133847e8a2 gsdx-ogl:
* Properly allocate/delete opengl object
* Request a debug context in SDL, add some code to log opengl error 
* Fix context creation. For the moment only request ogl4.1 (AMD does not support yet 4.2 and it needs libglew1.7 too...)


git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl@4973 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-11-26 11:46:51 +00:00
gabest11 9d54677055 GSdx: re-implemented the drawing pipeline in c++, just for reference and easier debugging.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4972 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-11-25 23:48:59 +00:00
gregory.hainaut 6125baa578 gsdx-ogl:
* make a rough implementation of most of the opengl device interface. Only a savestate nothing to expect yet.
* depend of libglew 1.6 (normally 1.7 but I manually defined the only missing function)


git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl@4971 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-11-21 22:36:03 +00:00
gregory.hainaut da66ca7fd9 gsdx-ogl: preliminary work of an opengl backend. So far only skeleton and various note.
Current goal is to implement the SW render with pure opengl instead of SDL.
I plan to use OpenGL4.2 capability (the latest actually) => need libglew1.7 and a Dx11 capable GPU/drivers.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl@4970 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-11-16 22:17:37 +00:00
gabest11 4f6f53c188 GSdx: Just remembered triangles were occasionally converted to sprites, need to set t.w there as well.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4967 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-11-14 03:34:24 +00:00
gabest11 ee9c9ac8f3 GSdx: Added a simple workaround for the 32-bit z problem talked about in the comments of r4956. Since sprites are flat and there was an unused vertex member (t.w), I just decided to pass the raw uint32 value in that to the scanline drawing function. It does not fix triangles and other primitive types, of course. The ideal solution would be to break z into two parts (like 8:24 bits, and only care about the upper part when not zero), interpolate separately and rejoin when needed, it is just too hard to add another variable when the assembly code is already so tightly optimized to use every register.
(HW mode z-test expects a float input, so this trick cannot be done there.)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4966 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-11-14 03:08:13 +00:00
arcum42 c3536a1eb4 GSnull: More cleanup on the logging code. And lets actually put return characters in the log. :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4965 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-11-12 04:09:46 +00:00
gabest11 f47ef5e644 GSdx: as usual, going back to msvc, suddenly wild errors appear.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4964 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-11-08 13:22:54 +00:00
gabest11 0cf87a943b GSdx: GSRendererHW.h and GCC are good friends now.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4963 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-11-08 13:12:54 +00:00
ramapcsx2 c234e1f6dd Forum user ateste was so kind and found/fixed a savestate issue with Lilypad :)
The problem would cause lost controls or "Controller disconnected" messages in a few games.
This fix is temporary and only works with Lilypad, until we take care of the core issue.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4959 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-11-07 09:29:36 +00:00
gabest11 67b12b3f92 GSdx: Also wrapping CLUT writes now, previous revision broke SFEX. CLUT buffer overruns are very rare, tell me if you find any other game doing it.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4956 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-11-02 21:15:44 +00:00
gabest11 b158f98fc7 GSdx: Bogus MSB bits of TEX0.CSA should be ignored as it looks. Only corrected where the palette is read (this fixes "Idol Janshi Suchie-Pai IV"), writes to the CLUT may be handled the same way, but so far no game has been found broken because of this.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4955 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-11-02 17:41:22 +00:00
ramapcsx2 3233952582 GSdx: CRC for FF12 Fr.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4953 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-11-01 10:15:52 +00:00
gregory.hainaut c9b1e3c1aa cmake:
* new dev option CMAKE_BUILD_PO: control regeneration of po file. By default true in release build
* Add a hack for multiarch version of wxwidget 


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4951 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-10-31 10:25:24 +00:00
arcum42 d398e19b4d GSnull: Rework the logging code a bit. (The logging actually prints to the screen now, for one thing.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4950 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-10-30 01:39:43 +00:00
arcum42 5306b13472 More work on the compiler warnings. Removed the warning flags that are now set by default.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4949 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-10-30 00:32:22 +00:00
arcum42 251382aefe Change a few compiler options in Linux to remove a few warnings during compilation.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4947 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-10-29 07:57:06 +00:00
ramapcsx2 b9d442d4f7 GSdx: CRC for Suikoden Tactics JP.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4946 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-10-27 17:19:55 +00:00
sudonim1@gmail.com 553635f00d SPU2-X: silly logic error in IRQA testing for DMA, fixes Atelier Iris, maybe others.
Thanks to rama for testing.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4945 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-10-27 15:34:14 +00:00
gabest11 60939bd9dd GSdx: Another psx bug-fix for chrono cross. Not fully sure about it, have to be tested. It is about not drawing larger than 1024x512 polygons. Peops also skips them, but only when one of the coordinates is negative, not explained why.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4944 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-10-24 21:34:38 +00:00
gabest11 c5e99a05ca GSdx: Corrected the line data terminator for psx games (fixes wild arms 2).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4943 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-10-24 07:58:43 +00:00
ramapcsx2 2b3d5d0fa1 Lilypad: Fix wrong GUI description. Thanks bosit :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4939 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-10-14 10:17:19 +00:00
ramapcsx2 ae5ee1376c Lilypad:
Putting the tabulator keypress hack from r4916 on L3 instead of R3.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4929 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-10-09 16:20:13 +00:00
avihal 7f0f19ee02 Yakuza 1 CRC hack (seem to work better than previous one).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4928 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-10-09 07:43:10 +00:00
gigaherz e08e540eb8 GSDX: Whoops sorry I mixed two conflicting ideas into one.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4927 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-10-08 16:53:40 +00:00
gigaherz 4d12e1954f GSDX: I didn't even like that code when I changed it. Now I know why. And it looks much better this way.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4926 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-10-08 16:52:58 +00:00
gigaherz 119e9e7114 GSDX:
- Use float instead of int for the video framerate. 
 - Use 59.94 instead of 60 for the ntsc framerate.
This replaces a previous hackfix with a better one, but it's still not ideal.
The ideal solution for the video encoding side would be to use an actual fraction (60000/1001) and pass this fraction to the encoder.
The ideal solution for the gsdx side would be to deduce the real framerate from the timing parameters.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4925 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-10-08 13:05:15 +00:00
shadowladyngemu 1455517630 GameDB and CRC updates....
other updates are welcome on issue 881

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4922 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-10-05 11:45:00 +00:00
shadowladyngemu d953f053d8 GSdx fixes:
Skygunner crashing on boot.
James Bond 007: Everything or Nothing doing a huge Vram usage when opening the weapons screen and making the system crawl at it. Couldn't test much with this one and only added the US version for now.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4921 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-10-05 09:19:32 +00:00
ramapcsx2 45ae2cb4e8 LilyPad:
Added a new option to the hacks section that sends a tabulator key press to PCSX2.
This toggles the turbo mode of the emulator, so users with pads don't have to reach out to the keyboard anymore when they want to switch between normal and turbo gameplay :)

Note: 
I choose R3 for now since most games don't use that button. This could be made configurable in the future though.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4916 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-09-11 20:18:08 +00:00
avihal d27f1877fc Oops. Now it's disabled by default ;)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4915 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-09-07 18:42:33 +00:00
avihal b4a0af9769 GSdx: New: Dynamic CRC Hacks system (disabled by default).
See tools/dynacrchack/DynaCrcHack.c for full instructions.

For development of CRC hacks (and just for the fun of creating such a system), Allows GSdx to load and use CRC hack logic from an external DLL, and reload it, at runtime, whenever this DLL changes (but act normally if this DLL isn't found).

This external DLL is compiled from a single C source file (a sample is provided, containing the current MGS3 CRC hack logic). There's also a system to automatically compile this C file into the DLL whenever the C file is modified, thus creating a system of instant [save C file] -> [GSdx switches to the new logic].

It's actually a pretty cool system, and might have other usages where it's useful, for the sake of tests/development/tweaking, to modify code logic during runtime. The overhead of such system compared to pre-compiled code is very low (e.g., in the case of CRC hacks which are called thousands of times/sec, I couldn't notice any difference in performance).

Compilation of the C file is currently done using TCC (Tiny C Compiler - http://bellard.org/tcc/ - extremely fast, light and powerful). TCC itself needs to be downloaded separately (~250K download, no install required). The system currently supports Windows only.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4914 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-09-07 18:38:27 +00:00
avihal 337153c9a6 GSdx: CRC Hacks: Yakuza 1/2 - remove blur.
Reminder: See r4894 if you wish to disable specific CRC hacks.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4912 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-09-06 01:22:40 +00:00
gregory.hainaut b5959076e5 linux: clean various linux file into 1 directory
cmake: automatically install desktop/doc/xpm file in package mode as requested by Rafael
debian: align on latest change


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4909 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-09-04 20:39:19 +00:00
gigaherz 537dbcc58c USBqemu: Some small changes to init & savestates. The savestates are still incomplete though.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4907 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-09-04 16:10:00 +00:00
gigaherz 2e6a0eaf46 USBqemu: Forgot Devel exists ... xD
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4906 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-09-04 15:38:33 +00:00
gigaherz 433715f23e USBqemu: Fix release build.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4905 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-09-04 15:31:44 +00:00
gigaherz ef50bc898d USBqemu: upgrade qemu core from version 0.12.5 to 0.15. Now its up to date with the latest qemu release.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4904 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-09-04 15:24:23 +00:00
gigaherz 34edc05ab8 Whoops.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4903 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-09-04 12:45:08 +00:00
gigaherz 2134c43ab0 USBqemu: Integrate into the build system for vs2010. Refactor the config stuff to use a system based on a modified SPU2-X CfgHelpers.cpp.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4902 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-09-04 11:48:28 +00:00
gigaherz 33b551e73f USBqemu: Work around the IRQ double-throw spam by having a min number of cycles between IRQ calls. 100% guaranteed hackyness, but I can still type in MH so it will do until I can look at it without my eyes closing against my will.
Also make the project output into the plugins folder.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4901 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-09-04 02:30:40 +00:00
gigaherz 3a4a215926 USBqemu: Missed a file.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4900 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-09-04 01:55:17 +00:00
gigaherz ceab7de544 USBqemu:
- Upgraded some components of qemu-usb with a somewhat newer version from late 2010 (it was a recent version when I did the upgrades).
 - Fixed the plugin to work with recent versions of pcsx2. 

I will try to integrate the plugin into the build system tomorrow, and fix some more issues.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4899 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-09-04 01:53:30 +00:00
gigaherz a9d59b1b66 Copy USBqemu from the legacy plugins folder (to preserve history)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4896 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-09-04 01:36:14 +00:00
avihal 9314c5fed7 GSdx: bypass (prevent) some crashes.
Important: this is not a fix of the cause of the crashes, it just bypasses cases of sure crash. Once that spot is bypassed, things can go wrong elsewhere. Generally, however, things just continue normally. E.g. GT4 (camera changes), Tourist Trophy (camera changes), MGS3 (codec screen when CRC hacks are disabled) and probably more - now don't crash anymore, even at high resolution (but might still get some slowdowns).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4895 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-09-01 13:25:08 +00:00
avihal 4c57d1bbbe GSdx: CRC hacks: allow exclusion of some/all hacks via "hidden" ini pref CrcHacksExclusions.
The list is case insensitive and order insensitive.
E.g. Disable all CRC hacks:          CrcHacksExclusions=all
E.g. Disable hacks for these CRCs:   CrcHacksExclusions=0x0F0C4A9C, 0x0EE5646B, 0x7ACF7E03


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4894 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-30 12:48:54 +00:00
avihal d4d95ff999 GSdx: Shadow of the colossus: crc hack: disable sky (extra) bloom (identical effect as Eliot's special SoTC GSdx build). Thanks to ShadowLady for the help.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4893 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-30 07:14:22 +00:00
avihal 7375307633 GSDX: Show message on console at capture start/end.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4892 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-30 07:11:36 +00:00
shadowladyngemu 8ceda3b102 git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4881 96395faa-99c1-11dd-bbfe-3dabce05a288 2011-08-28 19:52:11 +00:00
gregory.hainaut e55da1ab04 pcsx2: implement theading name on linux.
onepad: properly connect the latest button
sdl: do not compile some useless files (which fail to compile on my system btw)


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4879 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-27 10:38:02 +00:00
gregory.hainaut 783f600711 gsdx, sdl: cast window as expected by sdl
onepad: add an option to control forcefeeback level
cmake: add an hidden option (SHARED_SDL) to build SDL as a shared library to allow pre-load


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4873 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-20 12:17:47 +00:00
avihal 9bfbbf0a0c SPU2-X: Stretcher: fixed a bug which may be triggered by some compiler optimizations (floating point comparisons, doesn't happen with current VS2010 project). Thanks to pseudonym for tracking it down, reading tons of asm code, and learning x87 while at it...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4872 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-15 16:55:23 +00:00
gigaherz e0bbc1b814 SPU2-X: Reworked the circular buffer functions for audio output, with a thread-safe version.
This hopefully avoids the issues appearing after long periods of continuous playing.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4871 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-14 22:06:18 +00:00
gregory.hainaut d8b4c7ccc5 debian: cherry pick micove ppa improvement. Thank very much.
cmake: shutup some warning (mostly sdl...)


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4870 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-14 14:38:26 +00:00
gigaherz 94e79f781d SPU2-X: Fix one little bug in the spu2replay code and a few warnings discovered by warning level 4 + code analysis.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4867 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-12 14:47:36 +00:00
gregory.hainaut 60cec5a9b0 spu2x: linux compilation fix.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4864 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-11 17:36:44 +00:00
shadowladyngemu ae4bad0799 GSdx: CRC hackfixes for NanoBreaker and Kunoichi/Nightshade, removing the shadows that are not properly emulated and just cause 3D to look darker (NanoBreaker in D3D9 just showed a black screen with smoke effects ingame :p).
Minimal changes to the GameDB.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4863 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-11 12:54:57 +00:00
ramapcsx2 d3784af2ab Commit the SPU2-X compile fix from miseru99. GSdx CRC hackfix is included, too.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4862 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-11 09:15:03 +00:00
gigaherz 3373f6852b SPU2-X: Give some more range to the balancing, I realized its most probably safe for our ears ( an it seems to be based on testing ;P).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4861 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-10 21:21:49 +00:00
gigaherz 08b2cac8aa SPU2-X: Improved dplII decoder algorithm, it now generates more defined positional balance.
It's still most probably very wrong, but its sounding nice at least. ;P

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4860 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-10 20:59:40 +00:00
gigaherz a4a40441c9 SPU2-X: Added config setting for ProLogic decoding level.
Refactored the ProLogicII code into a separate file and changed it to floating point math for easier debugging. 
Added a basic ProLogic decoder that doesn't try to do surround separation into L/R.

The setting does not have a GUI option yet, since the PLII decoder is experimental and doesn't give too good results.
To change it, set DplDecodingLevel to one of: 0=none, 1=ProLogic, 2=ProLogicII. The default is 0.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4859 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-10 20:08:29 +00:00
gigaherz c0f9d1b619 SPU2-X: Added audio expansion support to the portaudio backend. This change also corrects the volume in normal stereo mode.
Removed an useless method from the module interfaces.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4858 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-10 13:17:41 +00:00
gigaherz a22b36815c SPU2-X: kill a few warnings
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4857 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-10 11:59:08 +00:00
gregory.hainaut@gmail.com b490282c55 spu2x: linux compilation fix
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4856 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-08 17:49:59 +00:00
gigaherz 224797c4ec SPU2-X: Experimental change! Lowered the lower latency limit to 3ms if the timestretcher is not being used. This latency will add up to the output latency as usual, but with a good sound chip this should allow overall latencies < 15ms.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4854 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-08 15:56:49 +00:00
gigaherz f2bc219425 SPU2-X: Removed the std::vector I used out of lazyness. The config dialog should no longer keep an ever-growing list of devices, and it has less potential side-effects if somehow the portaudio device list changes while the dialog is open.
3rdparty/portaudio: Removed debug prints on release targets.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4853 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-08 13:59:19 +00:00
gigaherz a5638b1466 SPU2-X: Added configuration dialog for the portaudio backend (windows only).
Added settings for customizing the suggested latency.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4852 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-08 12:49:33 +00:00
gigaherz 44f0cc140a SPU2-X / portaudio: Fix the requested latency from a hardcoded 200ms to "as close as you can to 64 samples / buffer".
Causes internal buffer size allocations to be as small as possible within portaudio and the OS, so it can have bad effects if the number turns out to be too small.
Would be nice if someone with a "real" audio card (Audigy, X-fi or similar) tested WASAPI Exclusive Mode, KS or ASIO with this change.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4851 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-07 16:37:59 +00:00
avihal ddcfdb6d77 Test. Dummy commit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4849 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-07 09:33:27 +00:00
avihal@gmail.com 529f620e37 SPUX: New stretcher: Should be slightly more stable now, compared to r4840.
On 4840 I added dynamic tuning (which may have slight negative effect on stability) to adapt to different iterations/sec of different systems, but I didn't like this system too much. On 4840 I also made a small change which, I now understand, factors out the differences between systems in this regard, essentially making dynamic tuning not required anymore. So now dynamic tuning is disabled.

If you enable the SPU2X messages (and the overrun messages), you would see log messages similar to this:

buffers:   44 ms ( 89%), tempo: 1.000000, comp: 1.000, iters: 764, (N-IPS:750 -> avg:50, minokc:50, div:100)

If the iters value (764 at this example) on your system when running at 100% speed (50/60fps) is higher than 1000 or lower than 500, then please comment here and post few of the log lines.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4843 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-04 18:21:32 +00:00
avihal@gmail.com fc359249e4 SPU2X: Better control of debug messages. (Now they actually print when enable at the SPU2X debug GUI).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4842 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-04 16:51:59 +00:00
ramapcsx2 0a4c082e4b SPU2-X: Clean up some logging code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4841 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-04 14:27:21 +00:00
avihal@gmail.com 36fc051238 SPU2X: New stretcher: hopefully works better than r4834 (same goals as r4834: better resiliance to very high/low fps, compared to r4820).
I'm not fully happy with it, as it's a bit complicated for my taste, so feedback about how it performs will be appreciated.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4840 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-02 18:48:48 +00:00
ramapcsx2 527df7420b V2 of the previous GSdx hack: Now also works in pointlisted FMV's (FFX-2, Legend of Legaia).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4838 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-01 17:42:01 +00:00
ramapcsx2 e181358986 Hack for GSdx hardware to fix inverted videos that showed up with the new GIF rewrite.
The problem as I understood is is incomplete COLCLAMP support.
Thanks to sudo for the hack :)

(Unfortunately we couldn't find out more about why these FMV also *all* flicker.)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4837 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-08-01 17:18:13 +00:00
avihal@gmail.com 92e67c218a SPU2X: New time stretcher: Improved behavior on extremes.
1. Much better behavior at extreme low/high FPS (less skips/lower latency).
2. As a result, I was able to reduce internal latency by 50% (50ms config now equals 100ms before).

Recommended latency config for stretcher: 100ms.
For rhythm games, if your FPS is very stable, I recommend 50ms.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4834 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-31 11:27:50 +00:00
shadowladyngemu 52a0eb047d GSdx: CRC hackfixes!
Summary of changes...

Fixed menus and HUD for Spyro: A New Beginning and Spyro: the Eternal Night.

Fixed missing dialogs and reduced the VRam usage a bit for Tales of Legendia ("8-bit textures" help a bit more with Vram/speed). Should be playable now in hardware mode. Thanks to rama for figuring it could be hackfixed this way and the initial patch :)

Half-screen fixes for Ty the Tasmanian Tiger 2, X-men Origins: Wolverine, Call of Duty: World at War - Final Fronts.

Modified the Star Wars: Force Unleashed hackfix a bit, shouldn't have the see-thru objects anymore.
Also modified the Metal Gear Solid 3 and Gran Turismo 4 hackfixes as they needed different skip values for each region (PAL/NTSC). Thanx to avih for the region code... and the free C/C++ lessons :P

The hackfix for Sly 3 was still showing stripes for 3-D and two-player modes, fixed for NTSC version now and hopefully works for PAL one too.

Couple GameDB updates after the gif rewrite.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4833 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-29 18:11:22 +00:00
cottonvibes a4059b45b5 Bring back GSnull, zzogl, and old plugins from the dead!
(they were crashing with the new Gif rewrite... shouldn't anymore)

Although Jake had added the new "GSgifTransfer" callback to these plugins in the past, he forgot to modify the .def files so pcsx2 can actually use them :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4832 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-27 08:16:51 +00:00
gabest11 bfbf403bf4 GSdx: FXAA 3.10, page up key activates it
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4828 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-25 11:16:01 +00:00
cottonvibes c05dc759e3 Big gif transfer code rewrite!
Pcsx2 now has a gifUnit class which acts like the ps2's gif and executes a single gif transfer at a time (and performs path arbitration according to priority and path3 slicing).

This new code is generally a speedup for most games. Particularly VU heavy games like GoW.
This revision breaks old saved state compatibility so don't update if you wish to keep playing with your old saved states.
Leave comments if this revision fixes or breaks anything...

Message to GS Plugin authors:
This new code now uses only 1 gif callback to transfer data to the gs plugin (GSgifTransfer).
pcsx2 also is garaunteed to send full GS primitives to the plugin. So you don't have to account for partial-transfers anymore.

Thanks goes out to shadowlady who tested around 500 games for me :D

Note 1: The old gif code is still in this revision, and can be enabled by the USE_OLD_GIF macro. The old code will be deleted soon.
Note 2: This revision also enables assertion dialogs in devel builds, and changed a lot of assume cases into assertions.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4821 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-24 13:02:50 +00:00
avihal@gmail.com 7cb4dbb8d9 SPU2X: New (simpler) time stretcher algorithm.
Should prevent erratic tempo variations near 100% speeds (compared to the previous implementation), and generally allow much lower latencies while keeping the audio stable (on all audio systems).
E.g. my tests show that at 70ms latency it can properly handle sharp speed variance of 50%-100%. If your game generally doesn't get slower than 70% speed, 50ms latency would probably be fine.

Note that on extreme scenarios (e.g. extreme sharp drops in speed) it doesn't try to keep the audio continues at all costs. If your game exhibits such behavior (audible clicks, etc), increasing the latency a bit at the config would help.

Comments on actual performance/quality on different systems would be greatly appreciated.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4820 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-24 10:58:42 +00:00
ramapcsx2 9a16937018 GSdx: Fix an old and silly bug that could cause slowness in native resolution hardware rendering. Thanks for debugging, Lana and avih.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4819 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-23 16:15:00 +00:00
gregory.hainaut@gmail.com 6b8a605845 zzogl-pg: open the dat file...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4817 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-19 18:33:22 +00:00
gregory.hainaut@gmail.com 3f8d07572b cmake: fix install directory of shader file in package mode
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4815 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-18 20:02:17 +00:00
gregory.hainaut@gmail.com 5adba505e7 pcsx2, zzogl-pg: allow to change some default path with compilation flags.
cmake: Add PLUGIN_DIR and GAMEINDEX_DIR options to easily select install directory. Install GameIndex.dbt during install phase.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4811 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-17 11:25:17 +00:00
arcum42 465dbc9203 SPU2-X: Fix the linux version, and add a checkbox for the de-alias filter.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4810 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-17 02:38:18 +00:00
shadowladyngemu a88863ada2 SPU2-X:
Adding an option for the de-alias filter implemented in r4118,
currently overemphasizes the highs so it's disabled by default
but I like it for some games :P

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4809 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-16 12:41:29 +00:00
shadowladyngemu ce8ee34251 Just a couple CRC and GameDB updates.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4808 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-16 03:20:04 +00:00
gregory.hainaut@gmail.com 83b3ac85d3 cmake:
* use the standard 3 step flow: cmake, make, make install
* Remove L10N_PORTABLE option, superseeded by PACKAGE_MODE
* Extend PACKAGE_MODE to select the install directory (FHS or local bin)


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4805 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-14 09:02:37 +00:00
avihal@gmail.com 6b809a5210 Lilypad: re-enable "Auto Analog" option, but only use it when not in PS2 mode (in PS2 mode this option is ignored). Tested with ICO - previously wouldn't accept control input when in autoAnalog mode, now always works.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4797 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-06 15:39:11 +00:00
ramapcsx2 03e0e3dea6 Lilypad: Really hide the option. Sigh :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4795 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-05 23:26:14 +00:00
ramapcsx2 c03919eb18 Lilypad: Don't screw users which already had the problematic option set.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4794 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-05 23:09:31 +00:00
ramapcsx2 159f4a691f Lilypad: Disable a confusing control for now.
Also a small comment on GSdx's texture cache lookup.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4793 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-05 23:01:16 +00:00
shadowladyngemu 357030330a whoops...
it kinda works better if you make the hackfix use the function...

GSdx: Dragon Ball Z Budokai Tenkaichi 2's hackfix works with NTSC version now too.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4792 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-05 12:25:31 +00:00
shadowladyngemu 75070d6aaf GSdx: CRC hackfix for Midnight Club 3, fixes the huge vram usage when moving.
Small change to the Burnout hackfix, was skipping too much for NTSC.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4791 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-04 08:19:24 +00:00
shadowladyngemu 5f20a11cd5 GSdx: CRC hackfix for Burnout games, removes garbage from screen.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4790 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-04 05:31:47 +00:00
gregory.hainaut@gmail.com 7ecd913a7d onepad: remove deadcode
zzogl-pg: disable opengl3 context creation for the moment (crash with geforce7)


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4789 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-01 09:01:50 +00:00
shadowladyngemu 774f90f642 whoopsie
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4788 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-01 05:32:04 +00:00
shadowladyngemu 539d313622 GSdx: CRC hackfix for Devil May Cry 3, removes bad postprocessing.
Adjusted the SW Battlefront hackfix for the PAL versions (NTSC-U and PAL versions have the same CRC but use slighty different buffer/texture addresses...)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4787 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-07-01 04:50:32 +00:00
gregory.hainaut@gmail.com 89c48d526e onepad: slim down a little more the KeyStatus API
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4781 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-28 22:16:06 +00:00
gregory.hainaut@gmail.com 9cb19121e0 onepad: create a key_status object to handle key activities with a single press/release interface
GSdx: remove some linux dialog options which were already controlled by PCSX2


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4780 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-28 21:30:06 +00:00
ramapcsx2 73b46c4b7d SPU2-X: Version bump.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4779 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-27 22:54:25 +00:00
sudonim1@gmail.com 2a73457b4b SPU2-X: Apply Neill's recommended 2/3 multiplier to the input. The results still are not like on the PS2, but we're now as good as Neill's research allows. We'll have to do our own from here on.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4778 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-27 17:17:29 +00:00
gigaherz 99ee4a8df4 SPU2-X: Updated the spu2replay engine so it works again. Windows-only still, and it lacks a proper gui, but it can be used to dump the actions the game is doing and replay them later without the rest of the emulator.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4777 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-25 23:45:58 +00:00
ramapcsx2 5677ed5661 SPU2-X: Forgot to bump the savestate version.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4776 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-25 19:43:21 +00:00
ramapcsx2 6d9c794a63 SPU2-X: Short term reverb quality hack (half the input volume), until we settle for smth.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4775 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-25 19:28:58 +00:00
sudonim1@gmail.com aaf8f9067a SPU2-X: Extra clamping. I think we used to have this and it was taken out to try to boost the reverb.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4774 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-25 17:48:59 +00:00
sudonim1@gmail.com 6b1136df4e SPU2-X: shifting some code around in the effects engine, any change in output is probably a bug.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4773 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-25 17:46:57 +00:00
ramapcsx2 3a0bf818ac That wasn't supposed to go on the svn :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4772 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-25 16:53:13 +00:00
sudonim1@gmail.com 367ab01a60 SPU2-X: We had two SPDIF modes reversed. I don't really understand the SPDIF modes but these are the bits the library sets. Fixes Gradius 3+4, issue 925.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4771 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-25 15:43:38 +00:00
sudonim1@gmail.com 8c781f9845 SPU2-X: More parens needed, always more!
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4770 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-25 14:03:27 +00:00
sudonim1@gmail.com 27e9b57fed SPU2-X: Another error in the bitshifts, not sure if it's mine or older.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4769 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-25 14:01:33 +00:00
sudonim1@gmail.com 244f16c57a SPU2-X: Removed reference to x86emitter as we don't seem to use it any more (some brief optimisation experiment a while ago?)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4768 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-25 13:40:14 +00:00
ramapcsx2 b26f787e22 SPU2-X:
Removed the fake reverb since the real stuff started to work :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4767 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-25 13:24:22 +00:00
shadowladyngemu 4f89f21f99 GSdx: CRC hackixes for...
The Lord of the Rings: the Third Age (Removing fat stripes on screen).
Digimon Rumble Arena 2 (Half screen issue).
Star Wars - The Force Unleashed (Hiding HUD and 3d issues. Not perfect and NTSC-U only, not sure if it works with PAL).
Star Wars Battlefront 1/2 (Huge VRAM usage issue. NTSC-U only, not sure if it works with others).
Black Hawk Down - Team Sabre (Half screen issue and removes the night vision filter which was broken and using a lot of VRAM).

Minimal changes to other CRC hackfixes and GameDB.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4766 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-25 08:31:42 +00:00
sudonim1@gmail.com 2bb7704fbd SPU2-X: I was being silly, those -1s are unnecessary (I was thinking we were downcasting for some reason).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4765 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-25 02:08:51 +00:00
sudonim1@gmail.com c22e933f5e SPU2-X: Tried to fix the incorrect bitshifts back from when Neill's code was optimised while the registers were broken so it wasn't testable. My maths is probably off, the code needs reviewing. The "- 1"s are so that -1 * -1 = just short of 1 instead of -1 (overflow).
With this, reverb maybe sounds somewhat like the PS2 for the first time ever!?

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4764 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-25 01:34:41 +00:00
sudonim1@gmail.com 43fba9aab8 SPU2-X: Oops, I'm the one who spotted this when we were discussing it too.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4763 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-25 00:12:31 +00:00
sudonim1@gmail.com 373c2cd47f SPU2-X: Reverted back to the last version of the reverb engine before the rewrite plus some backwards lerp fixes (accident in optimisation in r2089). Thanks to gigaherz (I guess? This is mostly your fault.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4762 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-24 23:55:19 +00:00
sudonim1@gmail.com 297843ddaf SPU2-X: Both cores now (ignore previous commit)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4761 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-24 23:09:45 +00:00
sudonim1@gmail.com 86763c806f SPU2-X: The reverb registers in the register pointer table are inconsistent with the register definitions, they have always been inconsistent, everything we have done to fix reverb was invalid because of this. Not sure where we go from here.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4760 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-24 22:46:53 +00:00
sudonim1@gmail.com c509e2afb7 SPU2-X: Testing showed that writing effect area registers is not entirely ineffective as previously assumed while effect area writing is enabled on that core. The new assumption is that internal registers reflect the values of the external ones while effect area writing is disabled. Also increased logging level of these registers.
Save state compatibility broken.

Fixes issue 796, grandia 3 noise before squenix logo.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4759 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-24 18:41:56 +00:00
sudonim1@gmail.com 73b97e74d4 SPU2-X: If a bit we don't understand goes high, clear a register we don't understand. Don't ask me, but it seems to make the BIOS happier and Devil May Cry works again.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4758 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-23 20:14:01 +00:00
gregory.hainaut@gmail.com d84a3de6fa onepad: support of diagonal in d-pad.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4757 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-23 06:56:06 +00:00
sudonim1@gmail.com ddaea35d6e SPU2-X: Bump savestate version since I broke compatibility with r4754
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4756 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-22 11:49:49 +00:00
sudonim1@gmail.com 9e34391cde SPU2-X: Refix Zero: Akai Chou (and others fixed in r4735 probably). It was a slip in the dead voice code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4755 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-22 11:42:56 +00:00
sudonim1@gmail.com 629a6826d2 SPU2-X: Quality fix (?): take crest value to mean the electronics definition and clamp modulated pitch to [0,0x3fff] on the basis that the SPU2 probably is incapable of decoding two words of samples for each voice in each tick. Honestly this is still guessing, we only really know that it was wrong.
Test FFX tone when it's your turn to act, FFX underwater music?, xenosaga movie skipping sound effect, god knows what else.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4754 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-22 02:27:39 +00:00
sudonim1@gmail.com eba05e18c2 SPU2-X: Fix minor register logging bug (probably not the only bug in this code)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4753 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-22 00:04:00 +00:00
sudonim1@gmail.com 9dd3cf8078 SPU2-X: Improved (hopefully to perfection) the reporting of NAX by moving code around in the decoder. Fixes Magic Pengel, hopefully no regressions (but it does intentionally change when some IRQs fire a bit so there might be some, but if so this is a step towards fixing other finicky games).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4752 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-21 22:29:59 +00:00
gregory.hainaut@gmail.com d968362961 cmake: * improve gtk hack to be compatible with previous cmake version.
* Add some number to the plugin .so file.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4751 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-20 18:09:32 +00:00
gregory.hainaut@gmail.com f682a8337c onepad:
* fix forcefeedback. It works now, albeit it slow down the emulation...
* Add an option hack for ds3 usb drivers


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4750 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-19 16:13:41 +00:00
gregory.hainaut@gmail.com d726be3364 onepad:
* test the reading of the configuration file (will be safer with the previous configuration format).
* bump the version


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4748 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-17 20:44:46 +00:00
ramapcsx2 f60012a209 SPU2-X: Version bump.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4747 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-16 16:59:48 +00:00
sudonim1@gmail.com b16629acc9 SPU2-X: Change initial IRQA value, fixes F1 2005. This is a weird one, read the long comment.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4746 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-15 18:01:04 +00:00
sudonim1@gmail.com 86b80f2603 SPU2-X: Little mistake in input area IRQ code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4745 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-15 16:24:42 +00:00
sudonim1@gmail.com 94d6aaf4bb SPU2-X: Flag effect area for updating on effect area register writes rather than core attributes change. (For change in testing. Committing separately for regression testing purposes.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4744 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-15 00:57:04 +00:00
ramapcsx2 61a7804b90 SPU2-X: Debugger was missing one digit of the IRQA, whops :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4743 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-14 22:12:45 +00:00
sudonim1@gmail.com bcd2ceaa6c SPU2-X: Process input area regardless of ADMA status. Fixes Burnout, maybe others.
This is a guess, not confirmed by hardware testing, but seems logical.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4742 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-14 18:02:57 +00:00
sudonim1@gmail.com c4196d542d SPU2-X: Change the dead voice read logic to match the live one. (Probably doesn't affect anything.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4741 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-14 15:54:04 +00:00
sudonim1@gmail.com 4d92ef1f90 SPU2-X: Fixed old misunderstanding about the function of the loop bits and documented our findings and unverified suspicions.
Fixes Zero: Akai Chou, Tomb Raider: Legend, Tomb Raider: Anniversary, maybe others.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4735 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-13 00:00:58 +00:00
shadowladyngemu 6a364aa444 GSdx: Better hackfix for Dragon Ball Z Budokai Tenkaichi 3, missing body parts still happened sometimes. Thanks to miseru99 for the initial patch and testing.
zzogl-pg win: Patch by Kosmos in the forums, corrects a typo that was causing window size to appear as height x height instead of width x height in windows OS (was breaking fullscreen at it too). Thanks :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4734 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-12 22:07:59 +00:00
gregory.hainaut@gmail.com f42aa2a7ea zeropad: deprecate it in favor of onepad.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4732 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-12 14:58:40 +00:00
gregory.hainaut@gmail.com 35b9dfce3f pcsx2: zzogl:onepad: gsdx: merge linux-gsopen2 branch (4730) into trunk
* Gsopen2 support for GS plugins => Support of the PCSX2 GS window configuration panel. Support of all PCSX2 shortcut.
* new shortcut: shift-f12 to stole the input. ZZogl shortcut must be prefixed with ctrl
* onepad: Support/fix/improve of configuration gui, multiple key, mouse/wiimote for analog joystick, dualshock3/sixaxis (basic), dual pad and experimental forcefeedback

Note: it is advices to delete OnePAD.ini


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4731 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-12 14:48:36 +00:00
sudonim1@gmail.com ae004d5e58 SPU2-X: partial and probably incorrect (but good enough for the BIOS) support for reading back key on and key off registers, just returning the last written value.
We need testing to determine how these actually behave and want to do some game testing to find other partially implemented registers before that.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4727 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-11 19:24:49 +00:00
shadowladyngemu 9036280455 GSdx: No more blinking characters/objects when using EE/VU cycle speedhacks in God of War I :p (also maybe better fix for GoW2)
Added some NTSC-J CRCs found by users of 2ch.net. Thanx :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4726 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-11 17:50:47 +00:00
shadowladyngemu 4dab9c71c3 GSdx: No more blinking characters/objects when using EE/VU cycle speedhacks in God of War 2.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4723 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-11 09:04:05 +00:00
ramapcsx2 2e81d03624 SPU2-X: Fix for Fatal Frame as per sudo's findings.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4722 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-11 00:49:26 +00:00
sudonim1@gmail.com 555e9ee039 SPU2-X: Implemented SPU2reset method for handling a PS2 reset.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4721 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-08 20:30:57 +00:00
sudonim1@gmail.com f423da573f SPU2-X: Completely removed the concept of core resets. We were unable to find any evidence supporting their existence.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4720 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-08 20:14:14 +00:00
sudonim1@gmail.com 6b2ba33dd9 SPU2-X: Missed a spot for the core mixup, noticed that we're not using our own MMIX value on init and removed MMIX fiddling from reset entirely due to lack of evidence.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4719 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-08 19:32:17 +00:00
sudonim1@gmail.com cd6f4bc10b SPU2-X: fixed core mix up for effect area addresses and changed MMIX values on reset (which we're not not sure is an actual SPU2 feature)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4718 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-08 19:18:18 +00:00
sudonim1@gmail.com 73db84d024 SPU2-X: Revert the ENDX changes from r4700 as they weren't based on testing but confusing documentation.
SPU2-X: Found a crash on writing to the low word of the effects end address during testing.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4717 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-08 18:53:55 +00:00
ramapcsx2 3f450d3158 SPU2-X: Some visual debugger additions.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4716 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-08 06:44:15 +00:00
shadowladyngemu d14f0169fa GSdx: CRC hackfix for Ty the Tasmanian Tiger. Couple CRCs added.
GameDB: Onimusha 4: Dawn of Dreams playable again with a patch. Minor other updates.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4706 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-03 09:03:28 +00:00
ramapcsx2 e853af0901 SPU2-X: There must be some other flag that goes with the FxEnable one ><
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4701 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-02 08:22:20 +00:00
ramapcsx2 2a95dadb73 SPU2-X: Changes to reflect results of tests on my PS2.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4700 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-06-02 08:12:40 +00:00
gigaherz 5f66e57ed1 SPU2-X Reverb: I put the mask in the wrong place.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4690 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-28 20:16:40 +00:00
gigaherz ecc651ffe1 SPU2-X Reverb: Apparently some reverb presets use offsets outside of the ps2 memory ...
Rama asked me to note that it still doesn't sound right yet. I will try to figure out the reason later.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4688 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-28 17:52:03 +00:00
gigaherz ea367e8326 SPU2-X Reverb: make the filter actually look the way a FIR filter is supposed to look.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4687 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-28 16:46:41 +00:00
gigaherz 881982229c SPU2-X Reverb: Echo/Delay effects don't work without this.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4684 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-28 16:24:18 +00:00
ramapcsx2 5509c9784a SPU2-X: Better reverb params logging.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4683 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-28 15:03:49 +00:00
gigaherz b201cbb3b6 SPU2-X: Stop the ear-killing overflows by actually shifting the output as it was supposed to be shifted.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4682 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-28 14:47:30 +00:00
gigaherz 948de6d452 SPU2-X: Improved Real-Reverb engine algorithm.
Before trying this revision, make sure your speakers/headphones are not too loud.

I have been looking at it for a long while, and I decided it couldn't be just "somewhat similar" to a Schroeder Reverberator.
The SPU2 designers would have actually used a working design for a reverberator, so chances are they implemented Schroeder's.

I haven't had the chance to test this code in spu2-x, but the results in the "Impulse Response Analyzer" tool I coded specifically for this, are positive.

Some tweaks might be needed, because I'm not sure if Neill got the IIR part right or not.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4678 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-28 02:37:32 +00:00
sudonim1@gmail.com 9af8099569 Fix VS2010 compilation.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4675 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-25 10:15:49 +00:00
sudonim1@gmail.com e390feb909 Further to r4673 remove the jitprofiling.lib dependency when linking.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4674 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-25 09:15:39 +00:00
sudonim1@gmail.com c2d55b53ba Removed vtune headers from the project and disabled profiler hooks in GSDx as we can't legally distribute these. To be re-enabled we'll have to find a way to do this without infringing on Intel's copyright.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4673 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-25 02:17:27 +00:00
sudonim1@gmail.com a7c93c75fb Remove some compiled files. Compilation may temporarily be broken in a trivial way (or might not), I don't currently have visual studio installed.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4669 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-24 21:47:52 +00:00
ramapcsx2 c440b442ac SPU2-X:
Some work on the fake reverb. Renamed it to "Custom Reverb" and the original to "SPU2 Reverb".

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4665 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-23 17:14:56 +00:00
ramapcsx2 695b3ba900 SPU2-X:
- Replaced the reverb boost control with a selector for normal reverb or a new mode we call "fake reverb".
- This new mode (coded by gigaherz) is intended as an alternative for the only partially working "normal reverb".
- The new mode will have to be tuned yet to sound good.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4662 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-21 17:47:33 +00:00
ramapcsx2 149fcf9662 SPU2-X: Configuration for the output volume in the settings dialog. And it works, too! :P
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4661 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-21 13:44:10 +00:00
shadowladyngemu 802be79bd6 GSdx: Small change to the small change to the Dragon Ball Z Budokai Tenkaichi 3 hackfix... space stage had blur still.
Commented out the Rez hackfix code, seems it's not needed anymore.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4659 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-21 02:53:15 +00:00
shadowladyngemu 7956cc6e42 GSdx: Small change to the Dragon Ball Z Budokai Tenkaichi 3 hackfix, no more flickering for the PAL version and no more missing/transparent body parts.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4658 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-20 22:29:25 +00:00
avihal@gmail.com 1420318b04 GUI: BUGFIX: (Save)State in GS window title can get out of sync with actual current slot (after loading/saving state via the menu).
Details:
- It seems that due to legacy reasons, Lilypad is setting the current state at the GS window title, as a hack which is enabled by default (at Lilypad's main GUI tab). However, it's buggy because it only changes the display when (shift/)F2 is pressed, while the current slot actually also changes when loading/saving state via the PCSX2 main menu, so it can get out of sync (possibly with unpleasant results, especially when saving). Now it's disabled by default at Lilypad, and if enabled, displayed as "State(Lilypad)".

- PCSX2 itself now properly handles the current State slot at the GS title window.

Note: ZeroGS still changes its title independently (not via the "standard" PCSX2 mechanism) so Lilypad's title hack might still be useful for it. However, it's still buggy and can get still out of sync.

TODO: Remove this option completely from Lilypad because it's buggy? ZeroGS can still use it, but I think it can cause more harm than good. What do you think?

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4656 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-17 11:18:45 +00:00
gregory.hainaut@gmail.com 372155ad05 onepad: Fix 2 bugs that renders hat unusable. Impact multi pad too (not tested this part).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4651 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-14 20:03:29 +00:00
gregory.hainaut@gmail.com 8702685f73 onepad: remember the pad selected (more user expected behavior)
cmake: CDVDiso need gtk2, remove fatal error for 64bits fedora users


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4649 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-14 11:03:02 +00:00
ramapcsx2 47aeca4c75 GSdx:
Fallback to the old render target read for games that do block level reads (Gust titles).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4643 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-10 16:02:52 +00:00
ramapcsx2 e821070676 GSdx:
Fixed Busin 0: Wizardry and Chaos Legion in hardware rendering, possibly others (that read back the output) as well.
The fix could use a review though, as I'm not sure it's safe :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4639 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-09 22:14:35 +00:00
ramapcsx2 b2ee693b25 GSdx:
New define "NO_CRC_HACKS", for testing how games work without hacks easily. 
Gets enabled together with the no cache define but can be toggled individually as well.

Also I've been told to mention that these changes are not directly benefiting the end user.
Gamers: This doesn't fix your DragonBall, okay? :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4636 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-09 16:45:54 +00:00
ramapcsx2 5785ba7914 GSdx:
- Allow filtering setting for native resolution hardware rendering, as it's not tied to the resolution.
- Add ST / UV coordinate tweaking defines to more easily debug small rendering glitches.
- Add a define to bypass the hardware renderer texture cache. With this enabled, speed drops to slower than software rendering.
It fixes nearly all hardware rendering issues though and can be used to see how games *would* look if we had a new cache ;)

Thanks for the help, sudonim :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4635 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-09 01:36:57 +00:00
refraction cae7e38848 Adding another Simpsons CRC thanks to Jan-Henning Klasen on the facebook group!
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4634 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-08 12:05:35 +00:00
shadowladyngemu 3153c4905d GSdx: Bit better hackfix for black, wasn't showing menus and the sniper scopes and also works for PAL 50 and progressive modes now.
Small change to the Metal Gear Solid 3 hackfix. Portraits in codec conversations show now without much of a performance hit, lemme know if this one breaks anything in the game.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4631 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-07 18:14:07 +00:00
shadowladyngemu f039383a1b GSdx HW: CRC hackfix for "Black"
Minor updates to GameDB.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4630 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-07 01:59:18 +00:00
ramapcsx2 88cf49c2b6 SPU2-X:
Configurable output volume, ini only for now.
Can be set with "FinalVolume", from 0 to 100.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4619 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-04 11:01:43 +00:00
ramapcsx2 6ee229b141 Patch to GSdx capture that offers RGB mode. By patrickdinh.
Also added Valkyria Profile 2 Italy to the gamedb and GSdx crc list. By Leucos.
Thanks guys :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4618 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-02 21:04:33 +00:00
gregory.hainaut@gmail.com 763f21cfbc pcsx2 & spu2x: allow to compile[0] with lto on linux. It removes an useless wx feature on linux.
[0]: it needs gold linker, tuning parameter large-function-growth to 5000 and gcc-4.6.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4617 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-05-02 19:11:00 +00:00
gabest11 157c6ef432 GSdx: psx plugin works again, the removal of _aligned_realloc broke it when I was making it gcc compatible.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4604 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-30 00:31:35 +00:00
gregory.hainaut@gmail.com 033ecabcf2 zerospu2: fix an issue with gcc 4-6 (note some gcc 4.6 optimization breaks pcsx2...)
i18n: allow to translate a part of system default for the language selection.

Rational: In case system default is incorrect, we will still get an english part (with the unknow-language translation)


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4603 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-29 21:02:31 +00:00
gregory.hainaut@gmail.com db2f16b985 zzogl: Replace a function by a macro. fix gcc-4.6 issue.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4602 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-27 17:49:34 +00:00
shadowladyngemu 1cbc1ec7c1 GSdx: Some CRCs added, thanks to ikco10@nate.com for this :)
GameDB: Minor updates...

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4599 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-26 11:14:26 +00:00
gabest11 4046b56031 GSdx: forgot about something...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4598 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-26 01:04:52 +00:00
gabest11 fd0245d365 GSdx: implemented the caching of the new page/tile map, dq8 should be fast again
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4597 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-26 00:56:54 +00:00
gabest11 e59670ff97 GSdx: trying another approach for r4589
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4596 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-25 18:18:21 +00:00
shadowladyngemu eaaa8eef59 GSdx: CRC hackfixes for Silent Hill 2/3 (half screen issue), Castlevania (removes shadows which were broken and caused darkness in different areas) and Bleach Blade Battlers 1/2 (shadows that caused a huge slowdown when casted on the characters).
Few changes to the Simpsons hackfix.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4593 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-25 13:47:29 +00:00
gabest11 cc8d14511b GSdx: the texture cache fix discussed under r4589.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4592 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-25 01:44:00 +00:00
gregory.hainaut@gmail.com 7029f7aa98 GSdx: linux: polish window management.
1/ Allow a resize of the render zone.
2/ Do not update title in fullscreen which create some flashes


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4591 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-24 16:00:36 +00:00
ramapcsx2 6c41b01390 GSdx:
Document an issue with the texture mapping for "CLAMP_REPEAT" modes (possibly the others as well).
The problem causes displaced character portraits in Ar Tonelico 2.
http://simplest-image-hosting.net/jpg-0-clamp-repeat-bug
Review by Gabest would be nice ;)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4589 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-23 19:57:25 +00:00
gregory.hainaut@gmail.com 5335c64f12 spu2x: remove some definition (fix gcc-4.6)
gsdx: add a missing include (fix gcc-4.6). Force an init of sdl to allow in-emulation configuration


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4587 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-23 08:11:40 +00:00
shadowladyngemu 741b623b97 GSdx: CRC hackfixes for Red Dead Revolver, Heavy Metal Thunder, Spiderman Web of Shadows (if anybody cares about this one :p).
Also a few changes for Tekken 5, "City at sunset" stage, hopefully there's nothing else wrong with this game anymore.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4585 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-21 02:32:59 +00:00
ramapcsx2 0783f31f84 GSdx: Small mistake :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4576 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-15 17:12:22 +00:00
shadowladyngemu 9449b3db5b GSdx: Timesplitters 2 fix works with the NTSC version now too, shows the minimap.
CRC Hackfixes for Rez and Lord of the Rings - Two Towers.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4575 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-15 15:42:28 +00:00
gregory.hainaut@gmail.com 2abb0c0f1d spu2x: On linux uses by default the ALSA api when no inifile exists
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4574 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-14 20:59:00 +00:00
shadowladyngemu f69e165b51 GSdx: CRC hackfix for Gran Turismo 3 and Gran Turismo Concept. Some of the race tracks had garbage all over the screen.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4573 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-14 15:12:06 +00:00
shadowladyngemu 46dd600319 GSdx: CRC fix for Time Splitters 2 (PAL), seems the NTSC one is already doing a similar fix by default.
Also, reverting a whoopsie in my last commit :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4570 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-12 14:48:27 +00:00
shadowladyngemu f3ca530043 GSdx: CRC Hackfixes for "Demon Stone" and "Big Mutha Truckers", removes postprocessing and "fixes" the green/purple screens.
Small change to the Crash Bandicoot hackfix.
GameDB: Minimal updates.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4569 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-12 14:11:03 +00:00
arcum42 e762f5eda8 onepad: various minor cleanups.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4565 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-10 00:09:17 +00:00
shadowladyngemu 158a0c8c9c GSdx: Tekken 5's hackfix wasn't working with the sharp/progressive video modes, should look much better now when using them.
Also removed the effect in the burning temple stage which had thin lines over it when using high res.
GameDB: More updates ~_~

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4562 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-09 10:26:56 +00:00
gregory.hainaut@gmail.com b51ac8d779 gsdx: add also a check of m_windows to play it self.
pcsx2: add a define to print the revision number with cmake


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4560 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-09 08:39:54 +00:00
arcum42 4bb717bab2 PADNull: Fix a bug that caused it to crash if a GS plugin using GSOpen2 was chosen under Linux.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4559 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-09 08:17:34 +00:00
arcum42 378a92b4c6 GSdx: Quick sanity check before creating a SDL window.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4558 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-09 06:28:28 +00:00
gregory.hainaut@gmail.com 4619941b9e gsdx: linux: * fix some issue with empty string in configuration
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4553 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-08 17:41:04 +00:00
gregory.hainaut@gmail.com d130a6f3df gsdx linux: add a config box for swthreads and fix a bad copy paste
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4542 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-07 12:30:29 +00:00
gregory.hainaut@gmail.com e1592788c0 GSdx linux:
* Add a map to handle the configuration
* Connect the window size option to the gui option


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4539 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-07 09:41:20 +00:00
avihal@gmail.com 20e6dc39e1 GS window: F6 now properly cycles aspect ratios (previously was internal to GSdx only, now affects actual CSX2's config)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4530 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-05 11:30:07 +00:00
gabest11 732b038571 GSdx: mipmapping fix (ford mustang racing, and probably other games which use small, non-square textures)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4529 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-04 11:05:54 +00:00
gabest11 cc28241128 GSdx: just a small mipmapping optimization when lod is constant, it was already a TODO.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4518 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-01 12:36:21 +00:00
gregory.hainaut@gmail.com ef979dde29 zzogl-pg: properly convert wxstring to string
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4516 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-31 18:08:01 +00:00
gregory.hainaut@gmail.com 9afb0d9edf zzogl-pg: fix configuration load/save error. Howerver, need to find a way to restore the error messages.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4513 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-30 16:38:57 +00:00
gabest11 d20da5f268 GSdx: 5-10% speedup in multi-threaded mode, replaced that modulo operator with a lookup table.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4505 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-29 14:07:48 +00:00
gabest11 686b6da8e5 GSdx: finally, some use for hsubps (SSE3).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4504 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-29 06:45:35 +00:00
shadowladyngemu e30f281894 GSdx: Got the Sly 2/3 hackfixes right.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4502 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-28 06:23:34 +00:00
gabest11 d7a6b484ce GSdx: small mipmapping optimization, half fps maybe, it wasn't done right on my first attempt.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4501 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-28 04:15:36 +00:00
ramapcsx2 cf9600fd9f SPU2-X:
Tweaks to async mixing, making the buffer stay closer to 50% filled and also making it more effective on sharp FPS drops.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4500 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-28 00:03:06 +00:00
gabest11 47713eee81 GSdx: Replaced a few divs with something more obscure in DrawTriangle, it shares necessary calculations with the triangle setup for tile based rasterization (http://drdobbs.com/article/print?articleId=217200602). AVX already has half the floating point capacity of larrabee, but I'm still thinking how to do this efficiently. We could take advantage of the block organized GS memory at last.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4498 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-27 15:46:32 +00:00
shadowladyngemu 4b460160cc GSdx: Added CRC hackfix for Tenchu games and Sly Cooper 2/3. Changed Sonic Unleashed's hack so it works for all stages (at least all the ones I tried :p) and added the PAL version to it.
GameDB: Updates...

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4497 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-27 12:53:53 +00:00
gabest11 7f6eedf23d GSdx: I always forgot to comment this out
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4495 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-27 03:14:15 +00:00
gabest11 8ca01f4b77 GSdx: only minor changes
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4494 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-27 03:12:12 +00:00
gregory.hainaut@gmail.com 95e2ed9f21 linux compilation fix
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4490 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-25 18:10:09 +00:00
sudonim1 22c1b30ed6 Fixed inconsistent newlines / added as many svn:eol-style=native properties as I could without killing myself.
Please set up auto-props in your svn client.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4488 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-25 05:06:49 +00:00
sudonim1 e198d5032e And another
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4487 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-25 04:55:19 +00:00
sudonim1 1445470340 Remove a compiled library which somehow got committed.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4486 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-25 04:51:02 +00:00
sudonim1 7d75a5a53b Missed some SPU2-X and all zzogl code in the last commit.
Fixed assumption that all paths received from pcsx2 end in the path separator.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4484 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-25 01:09:18 +00:00
sudonim1 e26693f5d4 Changed plugin API back to system locale for paths since only two plugins (lilypad and spu2-x) were specifically expecting UTF-8 and handling it correctly and breaking them is easier than fixing all the others for now.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4483 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-25 00:45:43 +00:00
ramapcsx2 b5aad0ea06 Committing changes to the MSVC 2010 build system as posted in issue #977.
Thanks for this nice patch, debian.micove :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4466 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-21 21:51:50 +00:00
gabest11 870a86c117 GSdx: BoF DQ fixed
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4459 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-20 00:07:52 +00:00
gabest11 de3333df6c GSdx: sse2 code path still had a little mipmapping bug, tales of legendia does not crash anymore, added a hack for suikoden tactics (http://code.google.com/p/pcsx2/issues/detail?id=972)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4457 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-19 19:29:30 +00:00
arcum42 13e2213f95 Fix a crash when creating memory cards in Linux. Change the warnings when compiling GSdx in Linux to be a little less annoying.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4456 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-19 06:44:22 +00:00
gabest11 4f8bbb2c52 GSdx: please test mipmapping again...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4455 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-19 03:54:22 +00:00
gabest11 b1eac6d058 GSdx: I've mixed up the bits of TEX1.MMIN, sfex looks nice again.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4454 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-19 00:54:03 +00:00
ramapcsx2 a0396f9654 GSdx:
- Toggling mipmapping prints a message to console now. Easier to test this way :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4451 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-18 14:38:05 +00:00
gabest11 0a5c679fe0 GSdx: the TEX1.LCM == 1 mode was still unfinished, the field in PES 2011 for example.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4449 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-18 01:58:16 +00:00
refraction eb1b8e4d2e FireWire: Probably should increase the version number too
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4448 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-17 18:42:16 +00:00
refraction c704b89cd1 FireWire: Improved Null emulation to help games like Silent Scope 2 and Unreal Tournament (possibly Time Splitters 2) etc boot.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4446 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-17 18:39:57 +00:00
gabest11 2d93d8a15b GSdx: ... at 6am. (4444 get!)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4444 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-17 05:00:34 +00:00
gabest11 bbd43d5fe6 GSdx: commit, commit, commit, that happens if you code in assembly.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4443 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-17 04:58:31 +00:00
gabest11 542a4a6747 GSdx: one more thing to remove...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4442 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-17 03:34:32 +00:00
gabest11 9870249b17 GSdx: forgot to remove something...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4441 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-17 02:59:54 +00:00
gabest11 243a0f4ad1 GSdx: (almost) complete mipmapping support, if the min/mag filter differs then bilinear is used.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4440 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-17 02:55:20 +00:00
ramapcsx2 f064b44f52 SPU2-X:
Fix the timestretch "Reset Defaults" Button to actually work (Winodws. Linux already works, I think.)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4436 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-15 13:17:21 +00:00
gabest11 1d759c852d GSdx: When mipmapping is on, LOD is calculated per pixel, it isn't used for anything, but it's there. I cannot really measure any significant slowdown, but rest of the fun is yet to come.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4428 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-14 03:32:28 +00:00
gabest11 0df52e40cc GSdx: one more fix for vs2008.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4426 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-12 23:48:32 +00:00
gabest11 2cfe05d290 GSdx: the usual fixes for gcc.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4424 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-12 23:15:23 +00:00
gregory.hainaut@gmail.com 0f2e588ba2 gsdx: really close the windows when closing/shutdown emulation
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4422 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-12 22:38:07 +00:00
gabest11 b2254a7937 GSdx: just a typo again
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4421 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-12 22:23:56 +00:00
gabest11 b31634df8f GSdx: using mipmap levels (only per batch, no tri-linear) and a couple of small changes, including the stdcall fix for linux.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4419 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-12 22:10:58 +00:00
sudonim1 7edaa221b8 SPU2-X: moving some code out of a header.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4411 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-10 22:56:29 +00:00
gabest11 9586e38dd4 GSdx: still working on the rasterizer, would be nice to add some avx code there, but it's just so unfitting for anything.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4407 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-09 11:52:53 +00:00
gabest11 fe88ee4102 GSdx: optimized the triangle setup of the rasterizer a bit, while it isn't the bottle-neck of drawing, it can still add a few percent to the fps.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4404 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-08 01:48:15 +00:00
gregory.hainaut@gmail.com a61c657717 onepad, zeropad: init the sdl video subsystem (sdl 1.3).
cmake: allow to compile pad with sdl 1.3


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4394 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-06 14:26:17 +00:00
gregory.hainaut@gmail.com fffd1328f2 cmake:
* add new cpp files for GSdx
* Ensure V2 API include files of portaudio


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4385 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-02 18:18:26 +00:00
gabest11 913f384fe4 GSdx: ... and codeblocks.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4383 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-02 08:44:16 +00:00
gabest11 f9da2669a7 GSdx: fixing the vs2008 project
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4382 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-02 08:32:30 +00:00
gabest11 a96a345077 GSdx: the x64 ABI on windows is not so nice after all.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4380 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-28 11:08:52 +00:00
gabest11 34749b1406 GSdx: another example why unions are not portable, this even fails between vc x86 and x64, m_vm8 is placed at offset 0, m_vm16/m_vm32 at offset 8 of the anon union.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4376 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-27 09:03:51 +00:00
gregory.hainaut@gmail.com 4bd5322dc6 cmake: WIP to build sdl and GSdx
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4373 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-26 20:02:22 +00:00
arcum42 9d26ae1241 GSdx: A bit more work on the Linux dialog box.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4369 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-26 05:19:18 +00:00
arcum42 49568c3d85 GSdx: Correct the sdl library output name, and add sdl to the main codeblocks workspace.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4366 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-26 03:05:31 +00:00
ramapcsx2 4adb41f3d9 Whops..
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4365 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-26 01:31:32 +00:00
ramapcsx2 697f78afe6 Made 2 spamming logs go to DbgCon and fixed a few compiler warnings.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4364 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-26 01:18:56 +00:00
gabest11 959580cd2e GSdx: window management should be redone next.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4358 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-25 01:01:00 +00:00
gabest11 a820423c4b GSdx: SDL works on linux now, there are still random crashes though.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4357 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-24 23:46:26 +00:00
gabest11 bc6060d318 GSdx: just updating visual studio project files (redundant settings, broken x64 compilation, etc.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4350 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-24 04:55:35 +00:00
gabest11 84ee819258 GSdx: fixing windows side...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4347 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-23 09:25:13 +00:00
gabest11 7dd16f1b1b GSdx: renamed None to something else because X11 defined it for itself.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4346 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-23 09:16:00 +00:00
gabest11 e7cc739f56 GSdx: I'm restoring the original SDL_config.h, it broke the windows build. No idea how to proceed under linux, letting it use its own window works, trying to use the one provided by pcsx2 does not. Could be a multi-threading problem with X, or not using a top-level handle. Just guessing.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4345 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-23 06:02:04 +00:00
gabest11 879aad9fd5 GSdx: working on linux port again, almost ready to run.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4344 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-22 23:39:02 +00:00
gabest11 3de18d0526 Undoing last commit, it was a mistake, linux tools are not easy to use.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4342 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-22 21:12:04 +00:00
gabest11 23a6b85852 GSdx: more alignment fixes for gcc.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4341 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-22 20:58:21 +00:00
gabest11 1b909d7a30 GSdx: enabled SDL output under windows, known problems: after shutdown it won't show anything again, deinterlacers aren't done yet.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4339 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-22 18:50:51 +00:00
gabest11 57cb0afa2a GSdx: SW+SDL output, commented out until it can be compiled on every system
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4336 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-22 09:43:59 +00:00
gabest11 9b658615f5 GSdx: The revision makes every super robot taisen game look perfect! Just joking :P But I tested OG and Alpha 3, and didn't notice anything terribly bad till the beginning of the first battle stage.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4335 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-21 23:25:25 +00:00
avihal@gmail.com feda59bf99 GSDX: Fixed broken window title info (native resolution, deinterlace mode).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4334 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-21 22:36:10 +00:00
gabest11 a2b7176cab GSdx: memory leak fix.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4332 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-20 23:53:00 +00:00
gabest11 eeb9757e94 GSdx: GSDeviceSW almost ready, just need an image resizer.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4331 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-20 22:33:22 +00:00
ramapcsx2 b62d4801ac SPU2-X:
- Set default interpolation mode to "Catmull-Rom". It most closely mimics the original sound.
- Bit of documentation and a fix for Async mixing core resets.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4330 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-20 21:00:08 +00:00
gabest11 564c44bf7e GSdx: updated linux project files.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4329 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-20 19:21:18 +00:00
gabest11 dcf81693f6 GSdx: started a hardware independent device, will be useful for GDI/SDL/etc output later.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4328 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-20 18:59:02 +00:00
gregory.hainaut@gmail.com 870da347be cmake: add GSdx compilation (based on codeblock)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4327 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-20 17:01:03 +00:00
gabest11 31a22bb57b GSdx: made dx11 detection code a bit nicer, but not sure what happens on vista without the dx11 runtime, it probably won't detect dx10 either.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4325 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-20 16:09:46 +00:00
gabest11 b8f1d1e60e GSdx: more alignment fixes for gcc.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4324 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-20 02:22:00 +00:00
arcum42 4388d5d464 GSdx: A start at a configuration dialog for Linux.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4323 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-20 01:57:43 +00:00
ramapcsx2 922ab848ca SPU2-X:
Fixed an ENDX register bug and switched the dealias filter with the frequency response filter.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4322 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-20 01:54:23 +00:00
gabest11 d4b300a8ac GSdx: gcc build runs, and judging by the frame rate it may even draw something.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4321 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-19 23:41:52 +00:00
gregory.hainaut@gmail.com 32911cb7c5 gsdx: add svn:eol-style metadata
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4319 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-19 10:57:28 +00:00
gabest11 5860de1cce Implemented virtual alloc functions and changed the event class to use semaphores.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4318 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-19 10:27:10 +00:00
gabest11 2ac76bbdad ... adding the missing GSdx project file for GCC...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4317 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-19 09:09:14 +00:00
gabest11 6743959a3c GSdx fix0red for GCC
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4316 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-19 09:05:15 +00:00
gabest11 3030166596 The core of GSdx is now compatible with intel's compiler on linux.
- GSWnd is not implemented, no config dialogs either
- no output, just the null device
- threading classes were not tested (my first experience with pthread)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4315 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-19 03:36:30 +00:00
gabest11 2b858e60e3 adding a missing file
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4313 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-18 04:51:55 +00:00
gabest11 d23d7e2617 Just moving code around.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4312 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-18 03:50:12 +00:00
gabest11 d44def8c0b Fixed many gcc errors, there are still plenty. Intel's compiler might be a better alternative.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4311 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-18 01:56:05 +00:00
gabest11 257d57ba52 Tweaked the rasterizer to be about 10% faster in multi-threaded mode (2 or 3 threads), still far from optimal.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4308 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-17 18:22:47 +00:00
gabest11 8355fa7aa3 Fixing typos...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4306 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-17 03:41:16 +00:00
gabest11 6f18c0dabe Trying to isolate the rasterizer step-by-step, for better multi-threading in the future.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4305 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-17 03:24:37 +00:00
gabest11 65fc196688 Local static initializers are evil, avoid them like plague.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4304 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-16 03:19:36 +00:00
gabest11 1e6f280021 - more project cleanups and small code changes, also added the psx emu interface again
- someone should check __xgetbv under linux (avx/fma detection)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4295 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-12 21:45:16 +00:00
gabest11 77f392edac vs2008 compatibility fix
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4288 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-07 10:09:58 +00:00
gabest11 ca7abd983a Mostly code cleanups, XBYAK 2.99, VEX conversion for the sw renderer (3-5% faster), GSState::Move fix for dark cloud 2 invention crash.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4287 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-07 01:59:05 +00:00
arcum42 cdc3be5067 GSnull: Dialog box fix.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4276 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-30 12:14:05 +00:00
gabest11 4cd3e3a552 - fixed VS2010 project files and added configuration for AVX
- ConfigIcon_Appearance.h seems to be missing

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4270 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-28 08:21:05 +00:00
gregory.hainaut@gmail.com 2d38e89194 zzogl: align_16 array before sse2 instruction + minor stuff
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4263 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-25 19:29:08 +00:00
ramapcsx2 ac552aae56 SPU2-X: Minor change on the ADPCM decoder. 2 other known decoders do this as well.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4226 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-16 21:02:37 +00:00
gregory.hainaut@gmail.com 53a5e3fd25 spu2x: fix previous commit: restore correct api at startup
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4225 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-16 15:33:21 +00:00
gregory.hainaut@gmail.com fb2a02af42 spu2x:
* fix linux compilation debug build 
* Add a linux option to select the API output of portaudio (ALSA, JACK and OSS)


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4224 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-16 15:02:21 +00:00
gregory.hainaut@gmail.com 351f894fa0 spu2x: linux compilation fix
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4223 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-16 12:35:25 +00:00
ramapcsx2 20b4c25671 SPU2-X: Disable the frequency response filter until good config parameters are found. It currently overemphasizes the highs.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4220 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-16 03:33:07 +00:00
ramapcsx2 6f1b8c23af SPU2-X: Further tweaks and additions to the debugger.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4218 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-16 02:10:19 +00:00
gigaherz c46f8ae224 Undo some changes that shouldn't have been commited.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4217 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-15 23:55:38 +00:00
gigaherz 8bb14a6c0a I misscalculated some coords in the previous commit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4216 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-15 23:51:50 +00:00
gigaherz 1e2dbc6a22 SPU2-X: Some improvements to the developer debug window.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4215 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-15 23:41:22 +00:00
gregory.hainaut@gmail.com e8666897ba spu2x: drop liba52 of codeblock project. (liba52 have been dropped since last beta)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4213 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-15 21:10:00 +00:00
ramapcsx2 8a1e8958ed SPU2-X: Made the visual debugger available via configuration dialog.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4211 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-15 17:08:10 +00:00
cottonvibes 3b88defb36 rewrote zerospu2's pcsx2_aligned_malloc/free which linux builds might use.
the old logic was wrong for a few cases.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4206 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-12 23:05:46 +00:00
gregory.hainaut@gmail.com 90eda53e42 zzogl: print the full string of extensions...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4197 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-10 17:45:16 +00:00
gregory.hainaut@gmail.com b9948d67c7 zzogl: restore the opengl3 method for fill extension, fallback to the old method if not supported
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4194 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-09 17:19:41 +00:00
arcum42 bdc4e2caf4 zzogl-pg: Revert some changes to CreateFillExtensionsMap for the moment.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4187 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-09 06:21:47 +00:00
ramapcsx2 cfb47e2e19 Ran Cppcheck on SPU2-X, fixed a few things it found.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4179 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-06 12:25:01 +00:00
ramapcsx2 74ee0835fd GSdx:
Avih renovated the configuration dialog a bit. It makes lots more sense now, thanks :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4173 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-02 10:24:36 +00:00
arcum42 ae61d6010c zzogl-pg: Merge some of the changes from the NewRegs code into the normally used Reg code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4155 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-27 12:32:38 +00:00
Jake.Stine ed7638488c zzogl-pg: compilation fixex for MSVC builds:
* resolve a namespace conflict between std::count (due to a 'using namespatce std;' directive)  [debug builds only]
 * switch all MSW-specific code to be unicode compliant so that unicode-only Utilities lib can be used under Windows.  [should work, but needs proper testing]
 * fix some properties sheets so that windows-specific DLL dependencies (common controls and UUID stuff provided by Windows) are linked automatically into wx/utils based plugins.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4140 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-25 04:38:44 +00:00
arcum42 0297a6d364 Various changes to avoid using deprecated Gtk+ code. Gtk+ 3.0 is slated to remove most of the currently deprecated calls...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4139 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-24 23:58:56 +00:00
arcum42 def52f300e spu2-x: compilation fix; pcsx2: fix the codeblock project; zzogl-pg: Add some comments and debugging code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4122 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-22 10:43:20 +00:00
ramapcsx2 57dd103e0d SPU2-X:
Adapted the de-alias and frequency response filters from nenolod's "UPSE", a high quality PSF player.
(http://nenolod.net/projects/upse/)
These 2 filters are present on the real SPU(2) as well and are meant to increase the audio quality
by fixing aliasing and then equalizing the final result.
It currently mostly seems to accentuate the presence and highs.

Thanks a ton for hinting at this and for letting us adapt your code for SPU2-X, nenolod! :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4118 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-22 05:37:38 +00:00
gregory.hainaut@gmail.com 6a96e46920 zzogl:
* increase a little the hack window (better for screenshot, not too big for small screen)
* Use generic clut function in FlushDecodeClut
* Various clean and comment


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4113 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-20 19:57:50 +00:00
sudonim1 02818b0304 GSDx: fixed incorrect use of CComPtr that would leave a dangling reference in the settings dialog code (only affects old pcsx2 versions and wouldn't be a significant resource leak even there)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4110 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-20 07:14:18 +00:00
sudonim1 375a766cf1 GSDx: Disable MSAA if all checks failed. Also, prefer normal 32 bit depth to lockable 32 bit depth on D3D9. I was anticipating a use for locking but further examination of the code revealed that to be impractical.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4099 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-17 01:32:40 +00:00
gregory.hainaut@gmail.com c8ebbdc00f zerospu2: Use local copy of wavfile like spu2x
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4089 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-12 11:08:04 +00:00
arcum42 f68eb19543 zzogl-pg: Fix compilation in Debug mode.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4086 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-12 00:33:10 +00:00
Jake.Stine f2c0ff23a9 PCSX2, GSdx (patch from avih): Fix broken backward/forward compatibility regarding GSgetTitleInfo
* PCSX2: Added GSgetTileinfo2 and deprecated=removed GSgetTitleInfo
 * GSdx: moved to the new GSgetTitleInfo2
 * New PCSX2 with new GSdx will have the new functionality, all other combos remain with old functionality.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4073 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-03 21:18:29 +00:00
Jake.Stine 49527d952c Plugin API for GS: Changed the new GSgetTitleInfo callback to use a more sensible parameter passing system.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4072 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-03 03:45:34 +00:00
Jake.Stine aaaa71e13b Minor fixes for the earlier GSdx titlebar feature.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4071 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-03 03:04:55 +00:00
ramapcsx2 1b1f112533 Avih (of Firefox plugin "Smoothwheel" fame ;) ) worked on bringing back that extended GSdx information we lost in the merge to the new WX Gui.
Here's his changelog:

GSdx, PCSX2: Fixed broken GS info at the title bar
* If the plugin doesn't support the API, PCSX2 will display only the image mode (progressive/interlaced field/frame), NON i18n!
* If the plugin does support the API, PCSX2 will not display the image mode, and instead display the info from the plugin
* GSdx now properly sends title info: resolution, image mode, deinterlace mode (weave - bff, etc)
* To enable the full GSdx title info as it used to work before it got broken: uncomment //#define GSTITLEINFO_API_FORCE_VERBOSE at GS.h of GSdx.
NOTE: When using an older pcsx2.exe with newer GS plugin, the title would contain duplicate image mode info. All other combos work fine.
* PCSX2 still displays the performance info, etc in the title bar.

Thanks a bunch for bringing this information back, Avih! :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4070 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-02 22:48:56 +00:00
arcum42 5f1d99188d zzogl-pg: Mess around a bit with FlushReGetTarget.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4067 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-02 11:12:42 +00:00
gregory.hainaut@gmail.com 8d974015d5 zzogl:
* Create a nice FORCE_TEXDESTROY_THRESH define
* do not call GetMemoryTarget twice in a row. There is already a check in the core function.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4062 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-01 14:17:12 +00:00
ramapcsx2 0c87450816 SPU2-X:
Fix ADMA not getting read when in spdif bitstream mode (which some games offer for FMVs).
This option would cause them to hang indefinitely.
There's something wrong with the read audio but at least it doesn't die ;)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4055 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-25 15:59:33 +00:00
arcum42 c09df50a58 zzogl-pg: Fix a compilation error when not building a Release build.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4051 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-24 04:45:24 +00:00
arcum42 b3e7bea66e GregsMisc: zzogl-pg: Rename ZZKick.{cpp,h} to ZZoglDrawing.{cpp,h}, to make syncing with zzogl easier.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4046 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-23 03:35:01 +00:00
arcum42 5e73b1ca7e GregsMisc: Sync with trunk (r3983-r4044)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4045 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-23 03:11:08 +00:00
arcum42 21d90150ab GregMiscellaneous: zzogl-pg: Quick fix to the last commit.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4018 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-14 02:21:18 +00:00
arcum42 951d45677f GregMiscellaneous: zzogl-pg: Work on the GLWin functions a bit.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4017 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-14 01:38:10 +00:00
arcum42 0779f7bc32 GregMiscellaneous: zzogl-pg: Rework CreateFillExtensionsMap to be less depreciated (and so it writes the extension list to the log, but doesn't print it except in debug mode). Fix a few minor potential bugs. Other minor changes.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4011 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-10 11:15:48 +00:00
arcum42 3aabab685a GregMiscellaneous: zzogl-pg: Get rid of an extraneous function or two, straighten up some includes, and move some things around to appropriate places.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4009 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-09 12:04:07 +00:00
gregory.hainaut@gmail.com 9f5abc9953 GregMiscellaneous: zzogl-pg:
* Clean the mem swizzle interface


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4008 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-07 10:27:27 +00:00
arcum42 b8e88c4b69 GregMiscellaneous: zzogl-pg: Fix Windows compilation issues.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4007 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-07 09:14:48 +00:00
arcum42 38c229a350 GregMiscellaneous: zzogl-pg: Use some of the routines in the Utilities library instead of the copies in ZZOgl. (Which were basically older versions of the same code.)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4006 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-07 05:51:54 +00:00
arcum42 5c4512c5a9 GregMiscellaneous: zzogl-pg: Start gathering the hack code in one place.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4005 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-07 04:45:10 +00:00
arcum42 031a3cb7a0 GregMiscellaneous: zzogl-pg: Fix up NewRegs.cpp so it compiles again.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4002 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-06 07:00:48 +00:00
arcum42 fb7e2fad1a GregMiscellaneous: zzogl-pg: Have the Windows version use the Utilities version of memcpy_amd like the Linux version does, and get rid of the redundant file...
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4001 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-06 06:41:56 +00:00
arcum42 be3d71272c GregMiscellaneous: zzogl-pg: Windows compilation fixes.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4000 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-06 06:28:45 +00:00
arcum42 7501916896 GregMiscellaneous: zzogl-pg: Move the time functions over to be by the Profile code.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3999 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-06 06:05:00 +00:00
gregory.hainaut@gmail.com 0970117f81 GregMiscellaneous: zzogl-pg:
* Improve a little previous commit
* Remove a fixme that was fix long time ago


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3990 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-31 15:27:36 +00:00
gregory.hainaut@gmail.com 3a7aca738e GregMiscellaneous: zzogl-pg:
* Fix a regression of my commit r3965 (missing draw in god of war)


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3989 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-31 14:19:46 +00:00
gregory.hainaut@gmail.com 447d0e72b4 GregMiscellaneous: zzogl-pg:
* Backport prim change from regs to newregs


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3988 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-31 11:47:56 +00:00
gregory.hainaut@gmail.com 9f571aa9b8 GregMiscellaneous: zzogl-pg:
* Mem swizzle: fix mask scrambling & bad copy paste


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3987 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-31 10:34:37 +00:00
arcum42 d6a418d71a GregMiscellaneous: zzogl-pg: Consolidate the context-specific Registry code, as was already done in NewRegs.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3986 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-31 08:17:56 +00:00
arcum42 07ecc09711 GregMiscellaneous: zzogl-pg: A few minor changes.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3985 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-31 07:10:21 +00:00
gregory.hainaut@gmail.com 28b01737a4 GregMiscellaneous: zzogl-pg:
* For 24 bits texture: there is some spare room in gsmemory so do not bother to avoid overflow in the copy
* Port some swizzle function to sse2. It would avoid some copy in a temporary buffer


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3984 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-30 21:42:40 +00:00
gregory.hainaut@gmail.com 9d2f81d142 GregMiscellaneous: sync with trunk (3805:3982)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3983 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-30 11:24:03 +00:00
gregory.hainaut@gmail.com 3c6dd04c19 GregMiscellaneous: zzogl-pg:
* use a size of 4 for the gsvertex array (allow compiler to optimize a % into an and)
* Reuse previous computed vertex for _strip & _fan primitives


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3973 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-26 21:14:15 +00:00
gregory.hainaut@gmail.com 9f2e92f31b GregMiscellaneous: zzogl-pg:
* Use addvertex in register (stole from the new register code).
* Use primNext at the end of KickVertex function allow to use current index in draw primitive.
* Create a primPrev


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3971 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-25 18:31:38 +00:00
gregory.hainaut@gmail.com 6eedbaf346 GregMiscellaneous: zzogl-pg: * Revert previous commit and remove the = overloading
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3970 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-25 17:34:10 +00:00
gregory.hainaut@gmail.com d99d8d5745 GregMiscellaneous: zzogl-pg:
* Use an union to improve a little the copy of vertex


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3969 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-24 12:05:18 +00:00
gregory.hainaut@gmail.com 43a83b3be9 GregMiscellaneous: zzogl-pg: Forget 1 line in previous commit ....
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3968 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-24 10:44:09 +00:00
gregory.hainaut@gmail.com 3bd80b020c GregMiscellaneous: zzogl-pg:
* Improve a little sprite vertex processing


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3967 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-24 10:23:06 +00:00
arcum42 8219ed5527 GregMiscellaneous: zzogl-pg: Remove the Gust hack from Mana Khemia. A few misc changes.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3966 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-24 04:09:42 +00:00
gregory.hainaut@gmail.com b199b57a76 GregMiscellaneous: zzogl-pg:
* Regoup drawing primitive in one function
* Increase the inital size of the vertex buffer
* various clean


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3965 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-23 23:02:19 +00:00
gregory.hainaut@gmail.com 02efc340e8 GregMiscellaneous: zzogl-pg:
* copy some vertex instead of re compute them twice
* pass vertex as reference avoid useless copy on the stack...


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3964 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-23 17:59:10 +00:00
arcum42 aa64da2561 GregMiscellaneous: zzogl-pg: Get zzogl-pg working in Windows again.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3963 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-23 12:14:15 +00:00
arcum42 d49a34a44f GregMiscellaneous: zerogs: Revert an accidental change to zerogs...
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3962 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-23 08:22:32 +00:00
arcum42 465dd47bde GregMiscellaneous: zzogl-pg: Give VB its own header. Some changes to the Kick functions.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3961 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-23 08:15:39 +00:00
arcum42 c544ec7ca6 GregMiscellaneous: zzogl-pg: Continuing to work on zerogs.cpp and zerogs.h.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3960 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-23 04:14:19 +00:00
gregory.hainaut@gmail.com 4171a67c4d GregMiscellaneous:zzogl-pg:
* Add a sse test to compare GSMem and clut buffer 
* minor 16-bits clut fix


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3957 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-22 15:53:17 +00:00
gregory.hainaut@gmail.com 0b4eb9479a GregMiscellaneous:zzogl-pg:
* More clut fix.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3953 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-21 12:11:28 +00:00
gregory.hainaut@gmail.com d886dbfadb GregMiscellaneous:zzogl-pg:
* fix sse2 code for 16bits cluts.
* Fix debug build


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3952 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-21 11:13:49 +00:00
gregory.hainaut@gmail.com 0fc2e87809 GregMiscellaneous:zzogl-pg:
* Forgot one line in previous commit


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3951 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-21 07:19:08 +00:00
gregory.hainaut@gmail.com 8920c4a059 GregMiscellaneous:zzogl-pg: Rename also the include....
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3950 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-20 09:29:35 +00:00
gregory.hainaut@gmail.com e353292caf GregMiscellaneous:zzogl-pg:
* rename filename (Clut to ZZClut)


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3949 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-20 09:09:31 +00:00
gregory.hainaut@gmail.com 9b987a959b GregMiscellaneous: spu2x:
* Copy wavfile back to spu2x directory. Note I shrink the file to only usefull feature to keep it small.

Rationale: Wavfile is not delivered by the soundtouch library (it is an example).



git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3948 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-19 20:29:01 +00:00
gregory.hainaut@gmail.com f4584d3c9c GregMiscellaneous: zzogl-pg:
* 16 bits aligned the local clut array to allow sse2 operations


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3947 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-19 17:53:36 +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
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
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
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
arcum42 0d4e02995d GregMiscellaneous: zzogl-pg: Work around a windows crash by temporarily disabling DO_8_PIX in Windows.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3867 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-03 11:43:38 +00:00
gregory.hainaut@gmail.com fc2bedad66 GregMiscellaneous: zzogl-pg:
* Add an emms because msvc is not happy.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3866 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-03 10:46:04 +00:00
gregory.hainaut@gmail.com ace7ddb1aa GregMiscellaneous: zzogl-pg:
* Windows compilation fix
* Fix alpha value & mask value


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3864 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-02 12:13:25 +00:00
gregory.hainaut@gmail.com 9c1618b2d0 GregMiscellaneous: zzogl-pg:
* Fix a long copy/past error in hostmemory


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3863 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-30 18:51:00 +00:00
gregory.hainaut@gmail.com 7fabbcf065 GregMiscellaneous: zzogl-pg:
* Properly update the different part of the pixels.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3862 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-30 17:34:21 +00:00
gregory.hainaut@gmail.com 523f063f3c GregMiscellaneous: zzogl-pg:
* Really add the new resolve function (the good things is I fix severals issues)
* Fix an issue in 32b to 16b conversions


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3861 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-30 13:03:31 +00:00
gregory.hainaut@gmail.com 28d04d4fbb GregMiscellaneous: zzogl-pg:
* Redo update_4pixels_sse2. Do 128 bits transfer instead of 32bits.
* fix regression on target code. The address was bad in 16bits


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3860 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-29 18:44:53 +00:00
gregory.hainaut@gmail.com 8d7edf440d GregMiscellaneous: zzogl-pg: Nice comment to decipher asm code.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3851 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-28 19:36:23 +00:00
arcum42 c48a820cd5 GregMiscellaneous: zzogl-pg: Disable the Resolve messages by default.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3848 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-28 10:40:08 +00:00
gregory.hainaut@gmail.com 175afa91b1 GregMiscellaneous: zzogl-pg: restore the reverse order loop
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3847 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-28 09:09:18 +00:00
gregory.hainaut@gmail.com 703927056e GregMiscellaneous: zzogl-pg:
* use a fence after non temporal move
* fix a crash in write clut


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3839 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-26 09:25:43 +00:00
gregory.hainaut@gmail.com 8435ad3f01 GregMiscellaneous: zzogl-pg:
* Finish GAS removal. I use SSE2 instead of mmx because it was easier to write (faster anyway).
Code seems equivalent between GAS & intrinsics but control flow will need a good testing (and some explanation)

Note: I also add a basic C version for reference/debug (not tested yet)


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3837 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-25 14:01:36 +00:00
arcum42 8036106b07 GregMiscellaneous: zzogl-pg: Move a few functions into CMemoryTargetMngr.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3836 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-25 13:33:58 +00:00
arcum42 0f38318fab GregMiscellaneous: zzogl-pg: Fix for a bug in the new intrinsic code.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3835 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-25 12:23:33 +00:00
arcum42 cd4692a327 GregMiscellaneous: zzogl-pg: Split out some code into a separate function.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3834 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-25 08:57:44 +00:00
arcum42 7578b6c51e GregMiscellaneous: zzogl-pg: Let's use _mm_setzero_si128 to zero the register.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3832 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-25 01:24:29 +00:00
gregory.hainaut@gmail.com 9895bb6b45 GregMiscellaneous: zzogl-pg:
* ASM port round 3 + add some comment to understand the algorithm.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3829 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-24 15:38:47 +00:00
gregory.hainaut@gmail.com 3a1ef55cb1 GregMiscellaneous: zzogl-pg:
* Port more ASM to intrinsics. Note use non-cacheable store instead to reduce cache pollution


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3825 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-23 18:00:38 +00:00
gregory.hainaut@gmail.com 79c4b1825d GregMiscellaneous: zzogl-pg:
* Fix wrong integer size.
* Enable sse2 version on windows too.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3822 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-23 11:24:02 +00:00
gregory.hainaut@gmail.com 6e1b11c2b5 GregMiscellaneous: zzogl-pg:
* port ASM GAS to intrinsic.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3820 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-22 19:48:50 +00:00
gregory.hainaut@gmail.com 709a79f513 GregMiscellaneous: zzogl-pg:
* init completely the mask array...
* fix the offset (count is byte not double word)


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3819 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-22 17:30:01 +00:00
arcum42 f850b72e36 GregMiscellaneous: zzogl-pg: Try out using modifications of some of GSdx's code for ZZoglMath.h.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3818 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-22 12:39:39 +00:00
gregory.hainaut@gmail.com 5e97756e83 GregMiscellaneous: zzogl-pg:
* GAS seem only support standard C type


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3817 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-22 11:52:03 +00:00
gregory.hainaut@gmail.com 5e4afde9c1 GregMiscellaneous: zzogl-pg:
* remove convfn parameter template. Use instead a boolean (easier & fix windows)
* Protect asm statement with __LINUX__ for the moment
* apply the fbm mask in SSE2 also for 32bits texture. Reduce stack activity.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3816 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-21 19:10:19 +00:00
gregory.hainaut@gmail.com b6a224c4f9 GregMiscellaneous: zzogl-pg:
* fix shift direction in sse2.
* Reduce memory transfter to load pixel.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3815 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-21 11:29:03 +00:00
gregory.hainaut@gmail.com eb10a257cb GregMiscellaneous: zzogl-pg:
* Rework sse2 with somethings easier ans smaler ;)
* do fbm mask with sse2


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3814 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-20 16:16:31 +00:00
arcum42 ac04a4ec3e GregMiscellaneous: zzogl-pg: Rewrote ZZoglMath.h.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3813 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-20 13:03:40 +00:00
gregory.hainaut@gmail.com 189d92b34d GregMiscellaneous: zzogl-pg:
* Use sse2 instruction to convert pixel from 32bits to 16bits.
Note: Seem slower than basic C. I need to opmitize some memory access...


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3811 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-20 12:20:04 +00:00
arcum42 cfb4ba8b2b GregMiscellaneous: zzogl-pg: Apply Zeydlitz's changes from r237 of zzogl. Improves code readability, and gives a slight speedup.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3810 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-20 10:09:46 +00:00
arcum42 1fe66e55e7 GregMiscellaneous: zzogl-pg: Switch to _aligned_malloc in GetMemoryTarget, take 2. (If at first you don't succeed...)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3809 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-20 09:00:22 +00:00
gregory.hainaut@gmail.com baa78266f2 GregMiscellaneous: zzogl-pg:
* replace previous macro with a template. (could be improve with some template recursion, but no important for the moment)


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3808 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-19 18:57:13 +00:00
gregory.hainaut@gmail.com 129ffacf0a GregMiscellaneous: zzogl-pg:
* Lost a -1 somewhere...


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3807 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-19 10:29:09 +00:00
gregory.hainaut@gmail.com 2156384bd5 GregMiscellaneous: zzogl-pg:
* port resolve32 to 16bits texture
* add an assert to help debug


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3806 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-19 09:34:15 +00:00
arcum42 0a832acabb GregMiscellaneous: Sync against trunk. (3768:3804)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3805 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-19 08:01:48 +00:00
gregory.hainaut@gmail.com 28819c2098 GregMiscellaneous: zzogl-pg: Test and benchmark the code ;)
* speed resolve 32bits functions
Note0: I restore a positive counting in the inner loop (was simpler for a first try)
Note1: I need to update the template to support 16bits textures.
Note2: If someone can nicely template the update_pixel macro feel free to do it ;)


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3804 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-19 00:00:26 +00:00
arcum42 29db810a06 GregMiscellaneous: zzogl-pg: Revert r3800.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3803 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-18 23:36:24 +00:00
gregory.hainaut@gmail.com 5799164f37 GregMiscellaneous: zzogl-pg:
* Fix my previous stupid limit...


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3802 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-18 23:02:46 +00:00
arcum42 7056c862e3 GregMiscellaneous: zzogl-pg (Linux): Bilinear has 3 states, and therefore should probably not be represented by a checkbox in the configuration dialog box.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3801 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-18 21:45:39 +00:00
arcum42 4d5f4ad81b GregMiscellaneous: zzogl-pg: Use _aligned_malloc in GetMemoryTarget.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3800 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-18 19:27:11 +00:00
gregory.hainaut@gmail.com 7afdf9e7c7 GregMiscellaneous: zzogl-pg:
* Some boost tuning: do big loop in reverse order.
* Add a function to get ns timing. Could be useful for benchmark.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3799 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-18 16:53:32 +00:00
arcum42 57f1e7badb GregMiscellaneous: zzogl-pg: Remove path3 hack.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3798 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-18 12:20:01 +00:00
arcum42 39d015fbc3 GregMiscellaneous: zzogl-pg: Tweak the hack list controlled by F9 not to have unimplemented hacks, as well.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3797 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-18 10:42:04 +00:00
arcum42 b9110cb399 GregMiscellaneous: zzogl-pg(Linux): Revise hack config dialog not to include options that don't do anything. Clean up the descriptions a bit. Add comments indicating what hacks aren't in the dialog, and whether they are implemented or not.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3796 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-18 10:20:10 +00:00
gregory.hainaut@gmail.com ce38e0a2b3 GregMiscellaneous: zzogl-pg: try to fix automatic hack that dissapears
* Force the setting of the auto hack after GS was closed
* Always enable path3 hack


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3793 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-17 19:06:52 +00:00
gregory.hainaut@gmail.com aac5ab18ca GregMiscellaneous: zzogl-pg:
* Update f_0(a) function to call f(a,0).
* Add a dbg message on Resolve_32_Bit to track some slowness.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3792 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-17 16:20:47 +00:00
gregory.hainaut@gmail.com 5d75ab97cb GregMiscellaneous: zzogl-pg:
* replace magic number with a symbolic name
* Remove 16 bits texture survivors.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3781 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-16 18:07:23 +00:00
arcum42 6ff8e61ef7 GregMiscellaneous: zzogl-pg: 'Transfer error, width exceeded.' spams a little too often for me. I'm making it Debug build only.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3780 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-16 12:56:19 +00:00
gregory.hainaut@gmail.com 14174a8c9a GregMiscellaneous: zzogl-pg:
* #if 0 some codes that are not called anymore.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3779 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-16 11:57:25 +00:00
gregory.hainaut@gmail.com 337e573c35 GregMiscellaneous: zzogl-pg:
* Remove support of 16bits pixel. Very slow and same quality that 8 bits.
* Fix a compilation error on debug...


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3778 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-16 11:18:56 +00:00
arcum42 bee08966dd GregMiscellaneous: zzogl-pg: #if 0 this code out, so I don't forget that it's currently not called again.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3776 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-16 05:16:30 +00:00
arcum42 dc597d763b GregMiscellaneous: zzogl-pg: Expand out the swizzle defines in x86.cpp.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3775 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-16 00:12:53 +00:00
gregory.hainaut@gmail.com 16a86bef44 GregMiscellaneous: zzogl-pg: Mega clean of zerogsmath.h (1000 lines to 80...) which is good because the file does not have a clear copyright status.
It remains mostly trivial things and basic vector operations.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3774 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-15 21:57:24 +00:00
gregory.hainaut@gmail.com a51455656a GregMiscellaneous: zzogl-pg:
* Properly fix the 'missing external linkage' thanks to Gigaherz.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3773 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-15 21:26:59 +00:00
gregory.hainaut@gmail.com bed38e12a0 GregMiscellaneous: zzogl-pg:
* Remplace RESOLVE_32_BIT with a nice template (only a 8bytes format for the moment, the others part is not used anyway)
* copy the function RGBA32to16 due to 'missing external linkage' ???
* Remove trailling space


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3772 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-15 21:04:45 +00:00
gregory.hainaut@gmail.com 30c9763c34 GregMiscellaneous: zzogp-pg:
* Replace some macro by basic functions. Use a switch to emulate the ##.
* merge similar functions


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3770 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-15 17:09:03 +00:00
gregory.hainaut@gmail.com 888a309e1a GregMiscellaneous: sync and refresh the branch (3728:3768)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3769 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-15 16:54:19 +00:00
arcum42 59bccbccb4 GregMiscellaneous: zzogl: Clean up the configuration dialog code a bit. Make the experimental skipdraw option only exposed on devel builds.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3747 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-11 04:26:20 +00:00
gregory.hainaut@gmail.com 2a9e644b18 GregMiscellaneous: zzogl: Restore the good size when quit fullscreen.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3743 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-08 19:04:11 +00:00
arcum42 ff33ea5348 GregMiscellaneous: zzogl: Remove screen size settings from the configuration dialog. (The window can be resized normally, and the startup size can be changed in the ini file still...)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3742 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-08 12:03:49 +00:00
gregory.hainaut@gmail.com b6dcd319fd GregMiscellaneous: zzogl:
* restore widescreen option. Force a 4/3 mode when disabled.
* Also force 4/3 in window mode. In widescreen and fullscreen uses all the screen.
* Clean


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3740 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-08 11:16:27 +00:00
gregory.hainaut@gmail.com 873cb9656f GregMiscellaneous: zzogl:
* add more locking to X11. Never too safe.
* Free the visual (memory leak)
* Only search event of the current window
* force 4:3 in fullscreen mode (will need a toggle box to enable/disable it)
* do not grab cursor on debug (this one will need more test)


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3739 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-06 22:21:07 +00:00
gregory.hainaut@gmail.com ddb33652ab GregMiscellaneous: Minor clean
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3737 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-06 12:23:45 +00:00
arcum42 3dcb931a49 Remove fullscreen from the configuration dialog, and make esc go back to windowed mode.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3736 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-06 12:09:49 +00:00
arcum42 a468a27523 GregMiscellaneous: zzogl: Got rid x & y in GLWin. Make sure nBackBuffer gets set to the right width and height.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3735 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-06 09:46:33 +00:00
gregory.hainaut@gmail.com dc49a995d6 GregMiscellaneous: zzogl: Fix fullscreen setting & remove useless library
Major issue left: widescreen.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3734 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-05 22:08:55 +00:00
gregory.hainaut@gmail.com 65b985698e GregMiscellaneous: zzogl: add some locking. Work far better.
The trick was to call XInitThreads in the beginning.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3732 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-05 16:30:47 +00:00
gregory.hainaut@gmail.com 0845dffb5b GregMiscellaneous: zzogl: rework fullscreen (to be friend with the WM). Note: it is not crash free for the moment.
* use alt-enter to toggle the fullscreen mode. (toggle quickly multiple time to crash it...) I suspect need of XLockDisplay & XUnlockDisplay
* escape: will quit for both mode

Not yet done: 
* good support of fullscreen conf flag. Which is wrong for the moment. (actually may be a source of crash)
* Better support of widescreen screen


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3731 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-05 15:47:09 +00:00
gregory.hainaut@gmail.com 5e8f776adb GregMiscellaneous: sync from trunk (3679:3727)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3729 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-05 15:33:08 +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
gregory.hainaut@gmail.com 9f2720540f GregMiscellaneous: Add a FRAME_RECORDING_ON define to record skipped frame based on Zeydlitz version.
Note: it dumps some .tga picture in current folder.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3699 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-29 12:44:55 +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 ec44d0f8cf GregMiscellaneous: Sync from trunk. Before there are too many conflict
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3679 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-22 10:48:23 +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 26c742b45b GregMiscellaneous:
* Fix compilation (PSM_)...
* Invert FBMSK value for haunting ground


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3676 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-22 09:06:31 +00:00
gregory.hainaut@gmail.com 1b0aac7871 GregMiscellaneous:
* add a new hack (linux only) to enable the automatic skip draw (ease testing and probably remove later)
* forget GSC_HauntingGround from my last copy-past....


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3675 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-21 22:31:32 +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
gregory.hainaut@gmail.com c394c408d0 GregMiscellaneous: Some cleanup. Convert boolean function to bool.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3670 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-20 10:01:38 +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 c84d820c35 GregMiscellaneous: Implement a Linux dialog box item for skipdraw.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3668 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-19 09:21:28 +00:00
gregory.hainaut@gmail.com 581a2b83c8 GregMiscellaneous:
* Use memset instead of GSC_Null, It saves a function call and I do not thinks it was related to the previous crash. Arcum can you test it ?
* Tune the GOW value.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3666 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-18 16:55:45 +00:00
gregory.hainaut@gmail.com 1c1eef8bde GregMiscellaneous: Various clean
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3665 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-18 14:04:10 +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 e7b0d43544 GregMiscellaneous: Fix a typo from the last commit. Add Skipdraw to the configuration file.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3662 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-18 13:15:43 +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 a265546ddb GregMiscellaneous: Add in GSdx's crcs. Fix a crash I encountered.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3660 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-18 12:32:24 +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 74895f189a GregMiscellaneous: Update the codeblocks project file for ZZOgl.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3658 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-18 09:26:51 +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 7f5b0f49a3 GregMiscellaneous: Forget to clean one structure.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3656 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-17 22:16:20 +00:00
gregory.hainaut@gmail.com cd1a4b7d15 GregMiscellaneous:
* Fix some parameter
* Use some functions created by Zeydlitz to reduce the code.

Current status: blur effect is removed in FFX with UserHacks_SkipDraw=1 and various random crashes ;)


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3655 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-17 22:14:45 +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
gregory.hainaut@gmail.com fbdf7521e5 GregMiscellaneous: Try to remove blur from some games. Gets the code from GSdx.
note: it is not working for the moment.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3653 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-17 13:38:57 +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
gregory.hainaut 2544f4c320 zzogl: update the size of the default advance panels. Avoid resizing every times.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3637 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-13 16:00:52 +00:00
gregory.hainaut fa793cca25 cmake:
* move machine optimization in the global setup. In same time use i686 instead of i486
* Also build the debug with fvisibility=hidden No reason to use it only on devel. (actually same as codeblock)


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3628 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-09 19:05:02 +00:00
gregory.hainaut df436f1583 zzogl copyright:
* common.h is mostly based on multiple file in ffmpeg. So apply the same licence as the original files
* Others zerofrog's file: add a note on the missing copyright notice.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3627 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-09 18:57:00 +00:00
ramapcsx2 dceb9a78bb GSdx:
- Few more CRCs

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3623 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-08 20:14:06 +00:00
arcum42 5cb169be42 GSnull: Add a function back in.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3619 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-07 08:25:10 +00:00
arcum42 4cccc7a3b1 Apply the same visibility flags from CMake to CodeBlocks. GSnull: Remove some legacy gif code. Hook up the register code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3618 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-07 05:46:25 +00:00
arcum42 02403e4c6d GSnull: Add preliminary register code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3617 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-06 22:58:30 +00:00
Jake.Stine e6e8992218 GSnull: Fix compilation errors in Win32 and Debug builds.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3614 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-06 13:24:10 +00:00
gregory.hainaut 527b589f79 USBnull, CDVDiso, dev9null and FWnull: Same jobs as previous rev.
Note: zzogl is the only left (well zero plugins also) but I will wait that we port CALLBACK to EXPORT_C_ 


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3612 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-06 12:13:05 +00:00
gregory.hainaut 04e6c5ab02 Spu2null, padnull, gsnull, CDVDnull, onepad, spu2x:
Add 2 attributes to the interfaces functions
 - externally_visible: avoid gcc to remove the function when lto is enabled 
 - visibility("default"): default == public... Allow to hide all others symbols: see http://gcc.gnu.org/wiki/Visibility for details

onepad:
* Remove __cplusplus define, everythings is in C
* define 2 interfaces functions with EXPORT_C_ instead of CALLBACK.

cmake:
* add recent added .h files
* add fvisibility optimization. Plugins size was reduced of ~10% much more than expected :)


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3611 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-06 11:43:21 +00:00
arcum42 cfc4c9b3ec GSnull: Work on the GifTransfer functions, to bring them up to date, and straighten them out. Now enabled by default.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3610 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-06 09:30:36 +00:00
Jake.Stine 912872af80 Introducing a mostly revamped Tracelog and Console log system. Various console log sources can now be toggled on/off on the fly, allowing end users to enable more verbose logging when they encounter problems. Both console and trace sources can be given automatic prefixing.
DevNotes:  DevCon logs are now available in *Release* builds as well as Devel builds, and can be enabled from the Console window's "Sources" menu.  They are disabled by default in Release builds, and are always enabled regardless of the ini setting in devel builds.  Debug logs are still strictly available in debug builds only.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3609 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-06 05:46:09 +00:00
Jake.Stine 411454c03c GSdx: bugfix for corrupted titlebar info, and possible crashes, when running from the legacy gui. (fixes Issue 826)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3608 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-05 14:06:57 +00:00
Jake.Stine 70e8c3cf41 SPU2-X: Communication error. We didn't want to remove the option; just make it a little more clear that *most* of the time it sucks and shouldn't be enabled.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3599 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-04 17:18:40 +00:00
ramapcsx2 181836b5d4 SPU2-X:
- Remove the DSound output module hardware buffer option which caused more harm than good.

Also fixed that IOPx2 hack leftover.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3597 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-04 16:14:37 +00:00
gregory.hainaut 844bfd297a SPU2null, PADNull, CDVDNull: remove useless gtk include
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3583 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-31 09:01:41 +00:00
arcum42 2e77e2f9c8 zzogl-pg: Reworked Linux configuration dialog.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3582 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-31 00:29:49 +00:00
arcum42 7d5dbc64fc zzogl-pg: More minor changes to the Liux config code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3581 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-30 09:52:34 +00:00
arcum42 7b522ea680 zzogl-pg: I seem to have overlooked this somewhere along the way.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3580 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-30 09:26:23 +00:00
ramapcsx2 17465d1302 GSdx:
Move the dx11 check to GSInit, didn't like it only getting called on renderer changes in the middle of emulation.

PCSX2:
Report the savestate version as hex if loading an incompatible state. Looks better than -19793434481 :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3579 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-28 19:00:42 +00:00
arcum42 ed9bf27015 pcsx2: Update the project files to no longer have coroutine. Fix a compiler warning. (zzogl-pg: Modify comments.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3569 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-26 10:51:06 +00:00
gregory.hainaut 83604ec59d cmake: properly separate ldflags from cflags
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3567 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-25 14:20:03 +00:00
gregory.hainaut 4e90b10c76 cmake: Use same variable name for output. Allow easier copy-paste between files. Do not know why I did not do it earlier.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3566 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-25 13:54:26 +00:00
arcum42 fb034eda2a zzogl-pg: Copy ps2hw.dat into the plugin directory when building.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3561 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-24 11:08:43 +00:00
arcum42 abc73d506c zzogl-pg: A few minor changes to the last commit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3560 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-24 08:08:42 +00:00
arcum42 b4e2bf4366 ZZOgl-pg: A bunch of work on the Windows dialog. Based off of an rc file given to me by SonicPCSX2, then hacked on a bunch by me.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3559 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-24 08:05:53 +00:00
arcum42 a496f3d81d ZZOgl-pg: Yet more new register work.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3558 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-24 04:51:39 +00:00
ramapcsx2 1aec04a0b5 GSdx:
Apply hackfix for Wild Arms 4. Thanks Lana and 89CamaroIROCZ :)
We're still missing the PAL and JAP CRCs though. Issue 185 collects them.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3557 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-24 00:04:54 +00:00
arcum42 aee1e94a13 zzogl-pg: Apply the same changes to the new register code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3538 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-19 20:52:52 +00:00
Jake.Stine b6af82efa8 GSdx / zzogl-pg / pcsx2:
* Implemented support for legacy GS plugins (considered anything prior to the Reordering merge).
 * Added a lot of 'const' qualifiers to the GSgifTransfer functions in both GSdx and zzogl.

DevNote: GS plugins shouldn't be modifying the data provided to them from PCSX2 -- zzogl wasn't, GSdx was.  I had to do a little bit of juggling to remove the mem modifications from GSdx's TEX0/TEX2 handlers.  With luck, nothing's broken. ;)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3536 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-19 15:49:30 +00:00
arcum42 4c03fb26d3 zzogl-pg: More blocks stuff.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3534 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-19 11:17:46 +00:00
Jake.Stine 856ffe4c65 Merge optimizations and code cleanups from the ReorderingMTGS branch (r3523) into Trunk. Summary of changes:
* GIFpath parsing copies as it parses (speedup!)
 * Improved memcpy for 128-bit copies (speedup!)
 * MTGS ringbuffer uses free-flowing wrapping now, which simplified ringbuffer management logic considerably (speedup!)
 * Various MTGS-related refactoring (var renames and such)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3532 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-19 03:48:37 +00:00
arcum42 6972792a4e zzogl-pg: Messing around with the BLOCK struct.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3528 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-18 06:59:23 +00:00
arcum42 b58a43cdf6 zzogl-pg: Revise the TransferHostLocal functions a bit. More arrays.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3526 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-18 04:53:50 +00:00
arcum42 48bbe19bd3 zzogl-pg: Add Swizzle function arrays.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3525 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-18 04:14:09 +00:00
arcum42 30a911f9f8 zzogl-pg: remove an unneccessary structure.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3524 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-18 03:45:28 +00:00
Jake.Stine 9ba58e1398 ReorderingMTGS: Sync with trunk!
git-svn-id: http://pcsx2.googlecode.com/svn/branches/ReorderingMTGS@3523 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-17 22:42:18 +00:00
sudonim1 b5f1ef528a GSDx: fixed incorrect RGB->YUV conversion when capturing video which was producing off colour results.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3517 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-17 14:04:38 +00:00
arcum42 8e7a7cf5fe zzogl-pg: Now it lists all the enabled hacks, and if they were manually or automatically enabled.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3514 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-17 11:39:04 +00:00
arcum42 a0225a2318 zzogl-pg: Lets try that again.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3513 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-17 10:56:26 +00:00
arcum42 c2804a2806 zzogl-pg: Change the messages when finding a game crc a bit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3512 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-17 10:55:22 +00:00
arcum42 155e0a1bfa zzogl-pg: Cleaning up a bit after the last commit. Expand a hack to remove lines when AA is on to cover AA at x8 & x16.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3511 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-17 06:56:07 +00:00
arcum42 ecad8b7a4f zzogl-pg: Convert the helper function into arrays. Use them in other places as well.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3510 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-17 06:10:39 +00:00
arcum42 1a3373a9a4 zzogl-pg: Add some helper functions, and rework the _TransferLocalLocal functions a bit. (Needs more testing)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3509 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-17 01:52:46 +00:00
arcum42 3143be1da1 zzogl-pg: Converted the TransferLocalLocal defines into inlined functions.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3508 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-17 01:12:33 +00:00
arcum42 cfe4d607b3 zzogl-pg: Working more on the new register code. Combined the KickVertex functions.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3506 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-17 00:12:07 +00:00
Jake.Stine f2d637a6e0 zzogl-pg:
* Removed extern "C" and applied static const to s_clut16 vars.  Should be fine since the old x86.S files that needed extern "C" have been removed from zzogl.
 * Fixed a compilation error in Win32/Debug builds.
 * Changed some references of DEVBUILD ZEROGS_DEVBUILD.  Not sure if all of them should be changed over or not, so I just stuck to some of the more obviously correct bits.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3500 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-16 03:48:13 +00:00
gregory.hainaut 71bcec243e [zzogl]: ooups forget 2 lines.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3495 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-15 16:52:25 +00:00
gregory.hainaut 4a23585a55 [zzogl]: asm work. Asm was totally broken. At least in release build.
* use volatile keyword to avoid gcc removing the function...
* Use name variable in asm code instead of %n
* Fix constraint on s_clut16mask. There are input, not output...

Arcum can you look at this 2 things thanks.
-> code is still broken in one place. s_clut16mask & s_clut16mask2 
re null in the code generated by gcc ! To fix it (do not know why), we can declare them as static. But I'm not sure
on the impact and I can not test windows...
-> s_clut16mask is declared as a 256bits numbers instead of 128 !


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3494 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-15 16:32:59 +00:00
Jake.Stine 1a8dcc5598 ReorderingMTGS: Sync with trunk
git-svn-id: http://pcsx2.googlecode.com/svn/branches/ReorderingMTGS@3492 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-15 05:36:38 +00:00
gregory.hainaut 266fb8d73e [zzogl] Square asm constraint. No change, just better bug-proof.
* add xmm register to the clobber list.
* Add input contrainst (avoid to depend of the function attribute and easier to understand)


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3480 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-13 19:11:07 +00:00
arcum42 f6d0222a8c ReorderingMTGS: Hackfix Linux, until some assembly is written.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/ReorderingMTGS@3476 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-13 09:28:24 +00:00
gregory.hainaut b326504054 [cmake]
* Major rework of the linker flags. Use some globals flags for -s and -m32
  Add a USER_CMAKE_LD_FLAGS variable. Easier to play with advanced link flags for future gcc version (>=4.5)
* Remove useless stub file
[debian]
* minor dependency fix


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3475 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-13 09:16:13 +00:00
Jake.Stine 742b9c5535 CDVDnull: Fix an MSVC compilation error.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3466 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-12 02:38:40 +00:00
gregory.hainaut f0f0cef2d5 [autotool] Remove autotools for *null plugins, CDVDiso, zerospu2. Superseed by cmake & codeblock, no reason to keep them.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3463 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-11 12:35:36 +00:00
gregory.hainaut eb88a12a5d [CDVDnull] Completely remove unused files.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3462 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-11 12:04:51 +00:00
gregory.hainaut 9522b1b9e4 [CDVDnull]
* include a common file to define sysmessage
* Do not compile useless CDVDnull/Linux/* files


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3460 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-11 10:45:14 +00:00
arcum42 472358345a ReorderingMTGS: zzogl-pg: Add GSgifTransfer. pcsx2: Add an include so Linux compiles.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/ReorderingMTGS@3459 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-11 06:16:16 +00:00
arcum42 2e3ca85647 zzogl-pg: Bug fig on new register code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3457 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-11 04:53:09 +00:00
Jake.Stine e85da0dfe1 GSdx: Add support for the new hack-free GSgifTransfer callback, which will supercede the various hacky GSgifTransfer1/2/3 callbacks in use now. This version of GSdx will be *REQUIRED* by PCSX2 soon.
DevNote for zzOgl coders: Implementation of this callback can just double up on m_path[0].  I used a separate instance at m_path[3] mostly because it was easier than trying to fight around the existing PATH1 nloop hack, which is still needed for backward compat with existing and earlier versions of PCSX2.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3454 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-11 04:38:33 +00:00
arcum42 749b180005 zzogl-pg: Removed some redundant code in the new register code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3452 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-11 03:30:35 +00:00
arcum42 fab3d1d4b7 zzogl-pg: A few Windows changes, and fix an incorrect variable type.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3450 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-10 12:41:49 +00:00
arcum42 7020f82fc7 zzogl-pg: Add some register logging code. Fix a bug in the new register code I noticed.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3448 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-10 10:25:48 +00:00
arcum42 f03c302ae2 zzogl-pg: Be more consistant about the plugin name and years in the headers.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3447 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-10 08:20:50 +00:00
arcum42 4c6dc19aa0 zzogl-pg: Here I go, splitting code into separate files again...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3446 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-10 08:08:36 +00:00
arcum42 088aa28cde zzogl-pg: Fix mistake in last commit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3445 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-10 06:05:57 +00:00
arcum42 f07f522238 zzogl-pg: More changes to the new register code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3444 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-10 06:04:32 +00:00
Jake.Stine 9d5a1b44ba SPU2-X: Remove obsolete utf8 files.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3441 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-09 16:41:31 +00:00
gregory.hainaut 64450c5711 [cmake]
* Do not compile useless utf8.* files.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3440 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-09 16:02:24 +00:00
gregory.hainaut 6bd3aa9889 [copyright]
* another bunch of copyright fix.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3439 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-09 15:36:09 +00:00
arcum42 d536cc5cde zzogl-pg: Work on the FOGCOL & GIFRegHandlerTEXA registers in the new register code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3437 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-09 09:26:35 +00:00
ramapcsx2 1adf69bfb2 GSdx:
- Fix a tiny GUI bug. Thanks for spotting it, KrossX ;)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3436 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-08 23:24:36 +00:00
gregory.hainaut 57161ec785 [copyright]
* Upgrade SGI license to 2.0, opensource compliant :) and GPL compatible :)

Note: previous version (1.1) is not free. And therefore not compatible with GPL. Fortunately for us, there is a license clause that allow upgrading the license.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3433 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-08 18:59:44 +00:00
gregory.hainaut 83d71700d9 [copyright]
* same as previous commit except for zzogl


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3430 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-08 16:51:56 +00:00
gregory.hainaut 84d94276e1 [copyright]
* Add missing copyright according issue 792
* Miss few files from the previous commit ^^


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3429 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-08 16:40:44 +00:00
gregory.hainaut 0e9030689c [copyright] * second round of bad FSF postal address.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3428 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-08 16:34:39 +00:00
ramapcsx2 19c03083a2 SPU2-X:
We overshot the final pre-clamp shift by one bit. Should be final now ;)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3422 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-07 20:49:55 +00:00
Jake.Stine b62dbc545a SPU2-X: More volume! Expect to have to turn your speakers down a bit. (made possible by proper clamping)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3419 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-07 19:20:53 +00:00
gregory.hainaut 8864c8bbaf [cmake] Move flags clean in the build modules. Next step allow user to control them.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3416 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-07 11:08:05 +00:00
arcum42 83adf0f0d4 zzogl-pg: Add -fno-strict-aliasing to zzogl-pg's compiler flags. (Fixes FF X-2.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3415 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-07 10:41:17 +00:00
arcum42 b5d8508989 zzogl-pg: Change a few assertions into warnings. (Makes it possible to run Final Fantasy X-2 with Debug builds. With tons of console spam, mind.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3413 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-07 10:14:42 +00:00
arcum42 6a3f1bdab2 zzogl-pg: Mucking around with the new register code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3412 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-07 09:59:29 +00:00
gregory.hainaut 6e30a41931 [asm] * Set a good default GNU-stack note. Need to properly support the nx bits (security concerns)
See http://www.gentoo.org/proj/en/hardened/gnu-stack.xml for details.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3396 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-05 15:56:38 +00:00
gregory.hainaut f8163336b7 [cmake] remove -fPIC. Expect a little speed up.
[plugins] remove __forceinline on variadic function that has been broken by the removal of -fPIC.
[debian] update readme about fpic status. And add some lintian overrides.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3395 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-05 15:43:21 +00:00
arcum42 1a593a4134 zzogl-pg: Fence off an area where I can work on the register code without worrying too much about it.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3394 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-05 13:22:02 +00:00
gregory.hainaut 1394b9e03c [copyright]: * Update copyright to use the new postal address of the Free Software Foundation. Nothing to see.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3391 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-04 22:49:00 +00:00
arcum42 cc06570bd4 zzogl-pg: Minor fix from my last commit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3385 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-04 10:53:41 +00:00
arcum42 cc47fdbb8c zzogl-pg: Enable a GifTransfer shortcut from GSdx. Comment out two variables that weren't being used.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3382 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-04 03:53:01 +00:00
arcum42 84c5073b7c zzogl-pg: Hack and slash at zerogs.h.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3379 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-03 07:57:56 +00:00
arcum42 841e326e0c zzogl-pg: Shuffle stuff out of zerogs.h to ZZGl.h and Util.h.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3377 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-03 06:34:27 +00:00
arcum42 4eb20d3f47 zzogl-pg: Add a new header. Remove a few includes that didn't seem to be used, or were included from elsewhere.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3376 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-03 06:16:28 +00:00
Jake.Stine 2fda352baf GSdx:
* Fix BIOS graphical errors by re-introducing part of the PATH1 hacks, which is still needed until further notice.
 * Likely fix for DX10+ cards crashing on Configure...  (still can't test directly because MSI sucks, sorry folks)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3370 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-02 14:31:50 +00:00
arcum42 4289d544d2 zzogl-pg: Move various stuff related to GSmain around.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3368 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-02 12:10:40 +00:00
arcum42 e35211addb zzogl-pg: Move the Keyboard code to a separate file.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3367 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-02 10:33:44 +00:00