Commit Graph

2058 Commits

Author SHA1 Message Date
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
arcum42 cab7a894e4 zzogl-pg: Move the logging code to its own file.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3366 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-02 09:32:04 +00:00
gregory.hainaut d4fdb08049 [cmake] Fix a typo
[debian] Multiple lintian (package checker) fix


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3365 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-01 22:50:18 +00:00
Jake.Stine 390b811a1a ... and it helps when I save both files before committing.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3364 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-01 20:22:26 +00:00
Jake.Stine 7c156efb2b zzogl-pg: Bugfix for g_bSaveFlushedFrame, which is *not* used as a boolean, in spite of the fact it used to be a BOOL type in zerogs (must have started as a bool that zerofrog later added a few extra bits and toggles to).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3363 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-01 20:21:26 +00:00
Jake.Stine bba618beed GSdx: Improved DX10/11 detection. Fixes crashes using the Configure... button mid-game.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3361 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-01 17:46:25 +00:00
Jake.Stine 1b587538a2 LinuzCDVDiso: Second part for fixing Issue 679. Have CDVD plugin return "1" from Open() if the user cancels iso source selector.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3358 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-01 15:09:36 +00:00
refraction a9b8160d9e removed path1 hack from gsdx (not needed) and the redundant path3 hack
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3356 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-01 00:40:19 +00:00
gregory.hainaut f8365215c4 [pcsx2 gui]: For first time wizard panel, use PathDefs::GetDocuments instead of wx GetDocumentsDir (more accurate).
[zzogl]: fix a bad path for snapshot.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3344 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-29 16:05:54 +00:00
gregory.hainaut 0a012aec25 [pcsx2]: use a local implementation of GetUserLocalDataDir. Follow the xdg specification for linux.
IMPORTANT NOTE FOR LINUX USER: the "main" pcsx2 configuration is moved from $HOME/.pcsx2 to $XDG_CONFIG_HOME/pcsx2 (or $HOME/.config/pcsx2 if xdg var is not defined).
A first time wizard is expected. Just import you previous settings.

[cmake]: add a missing h file. 


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3336 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-28 19:46:54 +00:00
arcum42 f058e38f5b zzogl-pg: Commit patch from zzogl-213 for shaking when interlace is on in FFX-2. (Issue 768).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3334 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-28 10:54:26 +00:00
Jake.Stine b7f2af1160 zzogl-pg: fix a warning on win32, and remove the non-existent gssoft.def file form the vsproj.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3329 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-28 03:01:06 +00:00
ramapcsx2 9a9c41f59e SPU2-X: This should be more correct.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3327 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-27 14:39:28 +00:00
Jake.Stine af40a22ee8 SPU2-X: Reverb compatibility improvements (fixes Ys6).
* EEA / ESA writes are ignored when Effects are enabled.
 * When effects are disabled, reverb does not process IRQs or produce sound.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3326 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-27 13:11:38 +00:00
arcum42 dceefdf22b zzogl-pg: Get rid of some annoying spam when debugging, and remove some old code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3324 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-27 08:51:24 +00:00
arcum42 8f46aea568 zzogl-pg: Some work on the Gif Registers. I'm trying to bring them a bit closer to the way GSdx handles them.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3323 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-27 08:38:50 +00:00
arcum42 621fb5bd24 zzogl-pg: Fix a silly typo. Issue 766.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3322 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-27 03:36:39 +00:00
arcum42 2787e6e2a1 zzogl-pg: Assorted cleanup. Added ZZoglCRTC.h, to clean up some clutter in ZZoglCRTC.cpp.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3319 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-27 00:53:06 +00:00
ramapcsx2 15782fefdd SPU2-X:
- Some preliminary work on better resets. Also some commented out yet changes.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3318 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-27 00:44:00 +00:00
ramapcsx2 fe92409fd4 SPU2-X:
Revert all reverb area tryouts, caused bleeps in many games (breaking Ys and that shonen jump game, but oh well).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3315 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-26 15:00:32 +00:00
Jake.Stine c3f2320994 GSdx and some other plugins no one cares about: remove ddraw.lib.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3296 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-25 02:36:21 +00:00
sudonim1 61f7a4ddab SPU2-X: Double IRQ prevention found on real hardware. Only affects developers who didn't read the SDK documentation properly, like me. Nothing fixed as far as we know.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3294 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-25 01:49:26 +00:00
Jake.Stine 4ad1e48950 GSdx: minor fixes to movie recording.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3291 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-24 20:25:33 +00:00
Jake.Stine c394708651 GSdx: Fix cases where DX9 cards detected as having DX10/11 under Windows 7. Changed the device selector to display either DX10 or DX11 depending on the supposed feature set availability reported by drivers/dx.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3277 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-23 05:32:50 +00:00
Jake.Stine 24ae022a74 Fully implement hash-based database lookup. Fix some bugs that caused startup crashes in previous revisions of mine.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3273 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-22 18:57:48 +00:00
Jake.Stine fddc5afe38 GSdx: Remove ddraw.h references, which were long since obsolete anyway.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3270 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-22 13:42:41 +00:00
gregory.hainaut 3d9c63b0f0 [cmake]:
* Print a fatal_error when users do not source the good CMakeLists file.
* Do not search system libraries if the user force the internal libraries


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3269 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-22 13:30:36 +00:00
arcum42 b8267258bf spu2-x/pcsx2: Fix the path used for wav files. (Hack; I'll fix it properly later.). Add a missing header into the cmake build.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3268 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-22 12:09:32 +00:00
ramapcsx2 bd9606ab0b Yay, typo :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3262 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-21 15:37:26 +00:00
ramapcsx2 5f85a0c956 SPU2-X:
- Double the audio output volume before sending it to the output modules. Was way too quiet.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3261 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-21 15:34:32 +00:00
arcum42 4adb345a86 spu2-x: Remove some debugging messages I accidentally left in the last commit...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3260 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-21 12:06:21 +00:00
arcum42 85657682da zzogl-pg: Printing to the console now works. Fixed AA+/-. Misc. pcsx2: Took care of two non-POD safe objects.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3259 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-21 12:03:14 +00:00
arcum42 8bbb5848af spu2-x/ZeroSPU2: Let's add in clobber lists, and take out volatile on the rng as well...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3253 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-21 10:09:19 +00:00
arcum42 10576c5b01 spu2-x: Fix a crash in Linux. (Do the same thing to ZeroSPU2 for good measure.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3252 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-21 09:40:15 +00:00
Jake.Stine 7461f83414 UI / Cmdline:
* Fullscreen mode should be remembered/applied properly now.
 * implemented --fullscreen and --windowed options
 * Made the --help popup a lot prettier

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3249 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-21 04:04:32 +00:00
arcum42 7c8170d582 ZZOgl-PG: Suppose I should have left this line in...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3248 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-20 09:38:35 +00:00
arcum42 6db8dd3bd7 zzogl-pg: Fix Windows again.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3247 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-20 07:33:47 +00:00
arcum42 fd28ec1012 zzogl-pg: Forgot to remove this...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3246 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-19 22:36:20 +00:00
arcum42 344bdb8739 zzogl-pg: Go with gregorys dummy key limit change for the moment. Gets rid of garbage in Grandia III. Needs more testing with other games.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3245 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-19 22:32:53 +00:00
ramapcsx2 23f63c37cc SPU2-X:
Another relocation of Reverb Address space. Ys and Shaman King work.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3244 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-19 16:19:22 +00:00
ramapcsx2 c996934a1e SPU2-X:
- Clamp requested pitch values to 0x3fff. Fixes games that set a too big pitch, run that voice and expect it to hit an IRQA (Romancing Saga).
- Gigaherz and Pseudonym worked out better modulation support. Should make some sounds better (FFX battle sound, etc).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3242 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-19 14:52:37 +00:00
arcum42 a04e71cf9d zzogl-pg: A bit more refactoring. Rename DrawTriangle. Move some code around.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3237 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-19 12:59:51 +00:00
arcum42 49d929c19c spu2-x: Get Spu2-X compiling in Linux again.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3235 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-19 11:15:05 +00:00
ramapcsx2 15d296cca0 SPU2-X:
We're free to put the ESA wherever we want. So let's use an area that makes the game Ys not die. :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3234 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-19 11:04:02 +00:00
arcum42 1681fa0b76 zzogl-pg: Fix the Windows port back up.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3233 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-19 09:07:21 +00:00
arcum42 328d046d6c zzogl-pg: Revamp configuration code. (Likely breaks Windows. I'll take care of that. Also, you may need to reset a few settings in ZZOgl after this commit...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3232 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-19 08:46:40 +00:00
arcum42 9f21cc3dcd zzogl-pg: If ZZOgl automatically turns a game hack on, it shouldn't leave it on.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3231 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-19 06:23:40 +00:00
arcum42 d3266a3921 zzogl-pg: Some refactoring, a bit of work on logging. Some disabled stuff I was fiddling with.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3230 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-19 05:41:06 +00:00
Jake.Stine 0f39ecb725 SPU2-X: Comment gigaherz hack better and disable it by default. (doesn't seem to make much of a diff either way though)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3228 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-19 03:39:17 +00:00
Jake.Stine 29fc645157 SPU2-X: Reverb tweaks. Still shooting in the dark, so no promises on if this helps or hurts. -_-
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3227 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-19 03:33:41 +00:00
gigaherz 6857acbadf SPU2-X: Voices used for modulation are not supposed to be played out loud. The actual modulation could still be wrong, but at least it will avoid annoying sounds to be played (e.g. Romancing SaGa main menu).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3224 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-18 17:47:50 +00:00
ramapcsx2 668a425a18 SPU2-X: Small fix for bad resets.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3219 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-17 20:10:28 +00:00
ramapcsx2 9390afdbf1 SPU2-X: Some changes to make debugging easier.
-ADMA can now be logged undependable from DMA.
-Visual core activity display works again.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3218 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-17 11:06:28 +00:00
gigaherz 067b30caa0 SPU2-X: Experimental Reverb engine changes. Since I don't have any game that shows any obvious reverb usage, and I can't properly test this, I'll leave it here and let other people yell at me later if it makes any game noisy.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3217 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-17 01:17:41 +00:00
gigaherz d5878d783b I was just reminded savestates do exist, and my changes make current states incompatible.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3216 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-16 20:28:17 +00:00
gigaherz 16bceab316 Silly me for not proofreading the patch BEFORE commiting.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3215 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-16 20:19:15 +00:00
gigaherz c6ad0e52b5 Remove the AutoDMA buffer hack, using its own allocated space as it's supposed to.
If there's any regression we should look at what CAUSES it, instead of hacking it back.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3214 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-16 20:15:33 +00:00
arcum42 ee1d7f137b ZZogl-pg: In the Debug build, downgrade various assertions to log messages.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3209 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-15 11:20:52 +00:00
arcum42 6de9dbeca0 zzogl-pg: A bit of refactoring and debugging code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3208 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-15 10:32:22 +00:00
Jake.Stine 87ebbb652b SPU2-X: Woops, missed a writeback.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3207 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-13 02:10:22 +00:00
Jake.Stine f752038f65 SPU2-X: Fixed Core1 writeback areas; probably fixes quite a few things.
Details: (0x1800 to 0x1fff were being mis-written to 0x2000->0x2800, roughly).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3206 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-13 01:54:59 +00:00
ramapcsx2 c9dc18053f SPU2-X: Fix a small bug with voice volume in linear interpolation mode.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3205 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-12 16:45:14 +00:00
Jake.Stine 5e33e270fd ZeroSPU2: Fix compilation errors and warnings under Windows/MSVC.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3204 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-11 19:06:35 +00:00
gregory.hainaut 1e9be9eab2 [spu2null, padnull, gsnull, zzogl]: use the setLogDir API to select the log path.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3203 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-11 17:31:45 +00:00
arcum42 b43d8b650f Bring codeblock in sync with the new soundtouch path.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3201 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-11 14:03:37 +00:00
gregory.hainaut 6e118887a5 * Apply a co-patch of Air and me to use linux friendly include path
[cmake]:
* Update to use the above patch.
* Remove a52. Need to use system version.
* Remove stub file. Append pcsx2 to 3rparty library to ease futur support.

Important Note: codeblock will probably need some update. (add 3rdparty/soundtouch_linux_include in include path)


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3200 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-11 13:51:43 +00:00
arcum42 68eeefd130 zzogl-pg: Shuffle things around a bit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3199 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-11 11:48:07 +00:00
arcum42 54b89a4717 zerospu2: Redo the dialog, and get rid of all the crufty Glade 2 files.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3198 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-11 08:56:54 +00:00
gregory.hainaut c34bb28087 [gsnull, padnull, spu2null] : remove the deprecated glade interface.
Note: I updated the codeblock xml to remove the file. It is normaly ok but I do not test it (only cmake one^^)


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3195 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-10 17:38:09 +00:00
gregory.hainaut 080d68927e [spu2null, gsnull, padnull]: Use the same configuration interface as others null plugins. Drop the glade dependency ^^
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3194 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-10 16:30:08 +00:00
sudonim1 6a79fef67a GSDx: bug in D3D11 CopyRect, does not affect anything.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3193 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-10 13:26:31 +00:00
arcum42 00404edfbc spu2-x: Added a define in to make it easy to disable the decoder code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3186 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-09 10:38:14 +00:00
gregory.hainaut aa430319c0 [pcsx2 ui]: update Game fixes panel to look like speed hack one
[spu2x]: explain why one inline fail on linux
[cmake]: Prepare some include directory updates


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3185 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-08 17:08:00 +00:00
sudonim1 ec989a50cf GSDx: Fix D3D11 leaks. (Completely, forever.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3183 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-07 18:41:37 +00:00
gregory.hainaut f775d20cbc [cmake]
* Better separation between pcsx2/plugins/3rdparty => no need anymore to download everythings :)
* Drop build dependency on unused libBPM (from soundtouch)


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3180 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-07 13:32:10 +00:00
gregory.hainaut a849202d28 * Simple fix. Avoid a segfault with GSnull and GSoutput disabled.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3177 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-06 22:25:11 +00:00
gregory.hainaut 275a923911 * Declared a local function static. Fix compilation error on gcc/linux. Spu2x is now ok
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3174 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-05 21:38:52 +00:00
Jake.Stine 581d17e282 SPU2-X: Remove antiquated use of __fastcall, from a time long ago when I was paranoid and overly in-love with fonction prototype red tape. (should fix linux/gcc compilation errors).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3173 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-05 15:59:59 +00:00
gregory.hainaut 7883180ab9 [cmake]
* align cmake flags with codeblock one. (note spu2x may still fail to compile with inline problem)
* Some final cleaning. You must be able to see your reflection now ;)


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3169 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-05 11:56:52 +00:00
arcum42 e7b2379b03 onepad: various cleanup.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3168 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-05 11:03:12 +00:00
arcum42 fb89acafe9 onepad: fix up a few things in the tree code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3167 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-05 09:22:26 +00:00
arcum42 eb3ebc422a onepad: Add a modify button.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3166 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-05 09:09:12 +00:00
arcum42 a372eaf2eb onepad: Fix my last commit. A few minor changes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3165 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-05 09:01:38 +00:00
arcum42 d39bdfcd1e onepad: Switch to the new dialog code and remove the old code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3164 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-05 08:22:14 +00:00
arcum42 d51d36d65f onepad: More dialog work. It's starting to get functional, but not totally there yet.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3163 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-05 05:35:36 +00:00
Jake.Stine b7c9aa63cd GSdx: Fix an unfriendly crash when trying to create a device on a machine that only supports DX9 when DX10/11 is configured (Think temporary downgrading your video card, and then running PCSX2).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3161 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-05 04:06:24 +00:00
arcum42 492488a15d onepad: Commit some work in progress on onepad's gui. (Currently disabled, because I haven't hooked anything up yet.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3157 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-04 22:12:37 +00:00
gregory.hainaut 0d6ba65557 * Do not build spu2x unless all dependencies are ok
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3147 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-03 15:43:10 +00:00
gregory.hainaut 6055ca126b * Grunt work :) Use variables to set flags to ease futur modifications
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3146 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-03 15:12:29 +00:00
Jake.Stine 1083b658b3 * Apply gregory's patch for inconsistent "setLogsDir / SetLogsFolder" usage.
* Fix slomo hotkey (issue 725)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3139 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-01 11:27:10 +00:00
Jake.Stine 899e691781 SPU2-X: Disable MSVC's SSE2 opts (they suck anyway -- nothing more than a novelty option at this point). The SSE2 detection code was causing problems, namely perma-hangs when applying settings.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3138 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-01 03:36:07 +00:00
Jake.Stine 19fb2ec775 zzogl-pg: fix for issue 701 : screwy config dialogs in win32, caused by incorrect 'bool' type on Win32 API CALLBACK functions.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3135 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-01 02:00:48 +00:00
Jake.Stine 644d4cda7f Screwed up my last i18n commit -- forgot that gettext/poedit needs explicit text literals to work from, so my pxE_* macros won't work. This version should be better.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3132 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-31 15:18:49 +00:00
Jake.Stine 62e0ab888e PeopsSPU2: Remove framework version info from the project file (seems to cause problems on runtime version selection).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3131 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-31 13:13:22 +00:00
Jake.Stine f98f565738 PeopsSPU2: Convert to use VC++ shared CRT; so that printf gets properly intercepted by the main exe; so that we can get some log info... maybe.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3130 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-31 12:32:53 +00:00
feal87 fcd9464a1f Removed from GSDX Build (VS2010 side) residues of CG/OpenGL/Glew etc...
Added in the GSDX Build (VS2010 side) the proper link to the DirectX libraries
Updated the GSDXGui project to VS2010.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3120 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-29 18:09:38 +00:00
arcum42 fc22d11966 Readd a line back in.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3117 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-29 14:14:42 +00:00
arcum42 b80f417943 spu2-x: Slap the Linux port back together a bit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3116 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-29 13:37:01 +00:00
Jake.Stine bc11d59438 SPU2-X: Added preliminary support for SPU2setLogDir(). Should probably be tested better, but bleh. I so want to rewrite all of this stuff in a nice wx-based cross-platform manner. >_<
DevNotes: converted some code from wstring to wxString to work a little toward cross-platformness. ... and probably broke the Linux build.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3115 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-29 11:55:53 +00:00
arcum42 5e53c9b2c8 FWnull, USBnull, and dev9null now use SetLogFolder.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3114 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-29 10:46:48 +00:00
arcum42 0f2af9679c zeropad: Patch zeropad to use SetLogFolder. (modified from a patch by gregory)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3112 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-29 04:44:56 +00:00
Jake.Stine 81c35c9fcc Many small memoryleak fixes in PCSX2 (mostly related to newVIF's recompiler) and one memoryleak fixed in USBnull. Had to juggle around the initialization/reset code for VIF a bit to get it happy. This also removes quite a bit of redundant memory allocations and clears when starting/resetting the emulator; expect a small speedup on slower machines.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3103 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-28 16:54:42 +00:00
arcum42 5cc918b9dd The usual Linux things.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3096 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-28 12:15:21 +00:00
arcum42 2a5a0b36c8 spu2-x: rearrange the dialog box a bit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3083 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-26 11:19:28 +00:00
arcum42 651f75f625 spu2-x: fix up a gtk implementation of the sync modes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3082 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-26 11:09:10 +00:00
ramapcsx2 e6580d4b82 SPU2-X:
Added the Async Mix mode to the configuration dialog. 
Users can select between Timestretch, Async Mix or no sync now.
There's a warning for the Async mode, as it breaks games that can't cope
with a variable speed SPU2.

SVN revision users:
Please remember to delete your SPU2-X.ini when switching to this revision (to clear the Sync mode setting).

Linux:
It's missing GTK implementation yes (global vars are already changed though), sorry :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3077 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-25 12:33:51 +00:00
sudonim1 3e81a87c90 Changed MulShr32 to a naive implementation, the generated code is fine already.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3076 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-25 08:24:04 +00:00
arcum42 774f56297a spu2-x: Fix another bug in my ini changes, and change MulShr32 again.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3075 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-25 07:26:55 +00:00
arcum42 321b341030 Only complain about not having a bios if we don't have a bios.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3074 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-25 07:04:57 +00:00
arcum42 ef8039ed1d spu2-x: Fix a bug in my last commit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3073 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-25 05:33:21 +00:00
arcum42 94ae54d6c0 spu2-x: Some changes to how the ini file writing works in Linux. (still buggy)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3072 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-25 05:26:39 +00:00
sudonim1 4a427059d8 Reverted r3063 as the last revision obsoleted it and it was causing suspend/resume issues with the software renderer, removed an unnecessary GSclose() and ResetDevice() call each
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3068 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-23 17:26:37 +00:00
sudonim1 ab77eb4646 GSDx: Free textures that have been in the unused texture pool for a few frames.
GSDx: Reset device on save state load.
GSDx: Made GSRenderer::ResetDevice() actually do the main function in its name and implemented InvalidateTextureCache().  If anything breaks, it's because of this change.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3067 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-23 15:33:50 +00:00
Jake.Stine 0b7bbdc723 Add <> to zlib and bzip includes (matters on Linux)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3065 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-23 15:10:49 +00:00
ramapcsx2 d09c269d17 GSdx:
Fix the worst memory leaks on emulator suspends.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3063 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-23 13:56:44 +00:00
arcum42 ef5124e6d3 cmake: Remove a few unneccessary defines.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3062 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-23 08:10:32 +00:00
arcum42 58786f8218 cmake: commit some cleanup work (done by gregory).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3061 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-23 07:51:43 +00:00
arcum42 a0d7e4a1b8 cmake: Fix the default build type. Add some CMakeList files.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3060 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-23 07:30:36 +00:00
arcum42 d7ac8fd81c zeropad: patch the ini settings as well.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3055 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-22 03:02:37 +00:00
arcum42 f67299ad83 onepad: apply a patch to the ini settings.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3054 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-22 02:52:47 +00:00
Jake.Stine c4e2bfefb7 More UI Progress.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3052 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-20 22:29:30 +00:00
ramapcsx2 951e1ec90e SPU2-X:
KrossX3 coded user selectable audio expansion (Still Xaudio2 only) support.
Since the automatic detection fails on some systems, this is the next best option.

Tested and works as expected. Thanks a bunch, KrossX3 ;)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3041 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-18 15:26:16 +00:00
Jake.Stine 56175a7b26 Remove a handful of export/def warnings from the NULL plugins.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3040 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-18 02:59:50 +00:00
Jake.Stine d843f4bcc3 zzogl-pg: fixed a whole bunch of signed/unsigned warnings in Mem_Transit, and a macro redefinition warning.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3036 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-17 15:56:41 +00:00
ramapcsx2 a11cb73f5b SPU-X:
Committing a patch by KrossX3 that should fix the stereo expansion option for *most* people.
Of course on my setup it fails to grab the correct number of speakers, so will have to think about it..
The code is correct though, so it should fix it for some people :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3035 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-17 13:02:09 +00:00
Jake.Stine 9b4239d81a SPU2-X: Fix compilation errors under windows, and remove the /LTCG warnings when building Devel targets.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3023 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-16 01:03:52 +00:00
arcum42 9baed432c9 cmake: A bunch of 32 bit/64 bit stuff.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3022 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-16 00:36:42 +00:00
arcum42 b363b7c715 cmake: Change the way stripping is handled.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3021 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-16 00:12:10 +00:00
arcum42 de91c8f30b cmake: Some patches from athos and gregory. spu2-x builds in cmake.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3020 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-15 23:36:13 +00:00
arcum42 be28c5a745 spu2-x: I'm pretty sure that these lines should have had breaks after them... (pointed out by gregory.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3015 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-15 12:43:51 +00:00
arcum42 00f7cde4e0 zzogl-pg: Copy all the old zerogs patches that used to be in the patches folder into zzogl (minus the FF X ones, as the FFX hack is no longer relevant). Commented out right now, because I'm not sure how many of these are even useful any more.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3012 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-15 05:02:25 +00:00
ramapcsx2 58697dbe8f GSdx:
Get the offset hack working normally again.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3011 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-15 04:51:15 +00:00
ramapcsx2 1d534c7481 Same fix for cdvdGigaherz as the last rev + workaround for ZeroGS so it also works in default Vista/Win7 installs.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3006 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-15 01:15:41 +00:00
ramapcsx2 6cb3f00f68 Add "setSettingsDir" export definitions to a few plugins that were missing them.
Fixes an issue where they could not access their config files in restrained PCSX2 installs.
Fixes issue 686.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3005 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-14 23:15:23 +00:00
ramapcsx2 9a9f3a6914 There was a slight threading affinity issue with r3000, so we have to revert it :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3003 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-14 17:20:06 +00:00
sudonim1 c7aa146489 I hate D3D.
32-bit depth buffers for D3D9 users if available.  Lots of code shuffling for reasons I don't even remember.  Stuff.  Pretty much just the 32-bit depth buffers.  That's good though, you don't have to envy D3D10 users half as much now.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3002 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-14 14:05:39 +00:00
pcsx2guide cbb865632d * Added support for up to 24 threads. If you have a cluster server at home, enjoy PS2 emulation at 20x normal speed!
* Added DX11 support. DX11 enabled cards now give a +~40% speedup
* New SSE-X instructions we invented for PCSX2. Give a +200% speedup even on old CPUs.
* Full 64bit support. If you have 64 bit windows, be prepared for a 300% speed up.
* Implemented new DMAC, so far we have ~15 games that show improvements.
* Added support for USB-enabled vibrators. Feel the full pleasure of gaming, now also with PCSX2!
* SPU2-X now decodes Dolby Digital 7.1!
* Please test to find any bugs in the 24-thread code, it's a bit complex so some tiny bugs might have crept in.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3000 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-13 21:15:55 +00:00
arcum42 a18e8c74ad zzogl-pg: Patch to prevent compilation issues if fPIC is in the compilation flags.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2999 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-13 20:41:48 +00:00
arcum42 5b4d508053 cmake: Enable zzogl-pg. (There's still a bug in here somewhere, though...)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2996 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-13 11:03:39 +00:00
Jake.Stine 30cf31b7bc SPU2-X: added some safety checks to the savestate code to catch (and ignore) situations where PCSX2 tries to save or load states while the plugins are shut down.
(and fixed compile errors from prev rev -- woops)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2988 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-12 14:18:40 +00:00
arcum42 052506785b Enable cpu detection in spu2-x. Link to the systems copy of zlib, rather then building a separate copy for pcsx2.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2986 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-12 11:25:30 +00:00
arcum42 d24831f0d8 cmake: Start getting zzogl-pg and spu2-x support in the cmake build system. (I'm not enabling it yet, as I don't have time to get it working properly at the moment. That's probably a project for this weekend.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2984 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-12 09:51:46 +00:00
arcum42 e5b02297e9 Copy liba52 into the main 3rdparty directory, and set the linux port of spu2-x in codeblocks up to use it from there.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2968 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-08 02:45:51 +00:00
arcum42 62c15102e4 Add NDEBUG to non-debug targets in Code::Blocks. Remove a few inlines that were causing problems with Linux. Remove a problematic hardcoded initialization of OutputModule I'd forgotten about in Spu2-x.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2967 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-08 01:51:29 +00:00
sudonim1 a3f9d74255 GSDx: very minor change to Z value scaling and a note for future changes based on testing real hardware.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2966 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-08 01:05:32 +00:00
ramapcsx2 575a56dc5c Changed the FFX speedhack to also set all EE timed events to happen near instantly.
This is now a multi purpose hack, which could potentially fix / break a lot of games.
It mostly affects FMV and PATH3 masking issues, but also stops games from booting, or makes them boot.
Use with caution :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2965 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-07 22:10:36 +00:00
Jake.Stine d6eeb6a438 GSdx: Cleanups -- moved the new detection code to GSDevice11.cpp, where it (more or less) belongs.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2964 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-07 14:19:54 +00:00
sudonim1 07eed4ed47 D3D11 check with less D3D10 copy and paste and more working
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2960 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-07 09:49:39 +00:00
Jake.Stine 3005f0d0f8 GSdx: Fixed bug where DX10/11 was always detected under Vista/Win7, even when the video card only supported DX9. This fixes the F9 'renderswitch' hotkey.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2959 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-07 03:32:13 +00:00
arcum42 0918cb42a3 Spu2-x: May as well delete the automake files for spu2-x, as they never worked... (The only way you can build spu2-x in Linux right now is codeblocks.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2957 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-06 09:46:48 +00:00
arcum42 546ead475b Tweak zzogl-pg's C::B file a bit. Slap a quick patch on pcsx2 so it compiles. (Jake will probably want to fix that properly...)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2949 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-05 09:10:22 +00:00
arcum42 f77cc74708 Apply gregory's cmake patch to fix it to compile with recent revisions. (Note: still unsupported.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2943 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-04 10:17:47 +00:00
arcum42 a87adb5f7b Zeropad: Apply the same patch as on onepad.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2942 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-04 09:45:57 +00:00
arcum42 2fed047080 Onepad: Fix PadKeyEvent so it doesn't hang new versions of pcsx2 when you hit a key.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2941 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-04 09:35:23 +00:00
Jake.Stine 70d47bf240 Copyright 2010 : PCSX2 and plugins! (notable exception: didn't update copyright info in any Gabest plugins)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2937 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-03 14:08:02 +00:00
arcum42 b9c8ac3ead zzogl-pg: Add the new files to the codeblocks project.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2935 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-02 06:29:43 +00:00
arcum42 393963f578 zzogl-pg: Separate out some profile code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2934 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-02 03:09:20 +00:00
arcum42 c160aa495a zzogl-pg: Missed the Windows specific files. BOOL->bool in a few places.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2933 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-01 23:34:44 +00:00
arcum42 12ad5308ed zzogl-pg: Part 2 of the re-formatting; ran AStyle over the headers.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2932 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-01 22:54:23 +00:00
arcum42 a6c4df49ea zzogl-pg: Ran a bunch of the files through AStyle, so I don't find myself messing with the source code formatting so much.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2931 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-01 20:33:53 +00:00
ramapcsx2 7e8c22b4f5 Committing "blood's" work on building PCSX2 and plugins under msvc 2010.
Changes: Fixed all compile errors in VS 2010. Added support for new w32pthreads.v4. Fixed all MSB8012 warnings. Fixed LNK419 warnings with /DELAYLOAD. Fixed issues when compiling Devel before Release. Added GSdx Devel target. Minor cleanups.

Thanks a bunch, blood :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2930 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-30 19:46:43 +00:00
arcum42 26e3038683 zzogl-pg: Fix Linux after the last commit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2928 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-30 05:24:27 +00:00
arcum42 e4d42b1e7b zzogl-pg: Work on reducing the amount of platform specific code a bit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2927 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-30 04:40:31 +00:00
arcum42 5c20358c19 zzogl-pg: A quick persistant window hack.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2924 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-28 02:56:40 +00:00
Jake.Stine ac1e1cf7bd SPU2-X: Typo fixed from prev commit; solves lots of audio errors.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2913 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-27 14:12:41 +00:00
Jake.Stine d33e2edb48 SPU2-X: Fix for occasional reset/restart crashes caused by invalid regtable lookups.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2909 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-27 12:48:14 +00:00
arcum42 6a2c745bf4 zzogl-pg: Missed a few ERRROR_LOGs.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2905 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-26 11:46:22 +00:00
arcum42 10b2eedb61 zzogl-pg: A few parenthesis went missing in my last commit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2904 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-25 23:57:55 +00:00
arcum42 64da7dd76b zzogl-pg: Remove a few hardcoded game options that shouldn't be there.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2903 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-25 19:52:33 +00:00
arcum42 2daee33eae zzogl-pg: Revamp the crc code to pull from a table, and add a few crc codes. Based off of code from GSdx.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2902 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-25 11:14:37 +00:00
arcum42 07a16bc76d zzogl-pg: Get rid of RELEASE_TO_PUBLIC, and use ZEROGS_DEVBUILD instead. Fix a typo I noticed.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2901 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-25 09:02:36 +00:00
arcum42 9293c2eb8e zzogl-pg: Got rid of the logging macros. Changed the text of some of the messages a bit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2900 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-25 08:33:05 +00:00
arcum42 0ccd832efe zzogl-pg: Start reworking the way logging works.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2899 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-25 07:21:29 +00:00
sudonim1 4457fe40fc Removed all trailing whitespace in *.c *.cpp *.h because it irritates me.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2897 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-25 00:31:27 +00:00
arcum42 790cd55608 zzogl-pg: I don't think this should be hardcoded to 640x480...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2896 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-24 23:22:49 +00:00
sudonim1 a05e9c62be Set svn:eol-style=native on all *.c *.cpp *.h
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2894 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-24 21:37:39 +00:00
ramapcsx2 86546338ea GSdx:
Fix a memory leak with the blend interlace modes.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2870 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-18 17:11:45 +00:00
arcum42 678f2018d0 pcsx2: A few misc changes. && != &. zzogl-pg: Comment out a log message that was spamming in Mana Khemia.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2866 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-16 05:08:41 +00:00
arcum42 6d6eb253c6 zzogl-pg: Fix a few game crashes in Windows. (Reverted a few misc changes in r2833.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2865 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-16 04:17:46 +00:00
arcum42 9f7032d0f6 zzogl-pg: Comment out a log message left in accidentally. Move the Gust checkbox on the Windows dialog to not be on top of a button.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2864 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-16 02:21:46 +00:00
gigaherz cd36e5fd24 Fix PadSSSPSX building, properly fix ZeroSPU2 and the null plugins too. Remove nullplugin_svnroot.props since it's not used anymore (I misunderstood the way props work).
Silence many of the warnings related to TargetName.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2861 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-15 22:18:32 +00:00
arcum42 a91d499f17 zzogl-pg: Pull a check out of a for loop in Mem.cpp. Break CheckChangeInClut in two. Turn a bit of repeated code in ZeroGS::CRangeManager::Insert into a function. Work on creating a new tex0 struct.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2860 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-15 22:03:23 +00:00
gigaherz a79f87439f Fix the resources' build steps not being run (thanks ltc.inv).
sorta-hack-fix zzogl into linking with libjpeg7 and zlib (having the projects as dependencies is supposed to link to the .libs automatically, isn't it?).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2859 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-15 21:19:51 +00:00
gigaherz e170324d51 Oh I inadvertently commited some changes to cdvdGigaherz, but I missed a file. I'm not even sure the state that code was in, so it could just be plain broken, need to check it later.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2852 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-14 22:25:32 +00:00
gigaherz 73142bb2f2 Apparently ZeroSPU2 has a 3-folder structure like the null plugins, instead of 4-folder like the rest, so make it use the other .props, so that it can be compiled.
Somehow there's a pair of files in wxcore that won't build correctly, even tho they did build before... and it seems to work fine if I turn them off, so i did.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2851 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-14 21:59:18 +00:00
gigaherz 4917361197 Some more missing .props, sneaky bastards. (when you select a bunch of files in search results and use svn > add, it ONLY ADDS A FEW! the rest remain ignored, silently)
Some more wxCore fixes.
Fixed also inter-project dependency warnings.
Also some other fixed to get devel/release compiling.
Oh and apparently my VCproject folder got messed up and detached itself from svn, so it wasn't commiting with the rest...


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2849 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-14 20:46:24 +00:00
gigaherz 204a0fb667 Whee!!! More props added. /me slaps himself repeatedly.
Also fixed wxCore build in Devel/Release targets.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2848 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-14 20:13:08 +00:00
gigaherz a3ca69a620 Made a special .props file for null plugins, since they seem to have a different folder structure than the rest.
Add a ton of missing .props
Tell me if anything else is missing >_<

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2846 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-14 19:57:33 +00:00
gigaherz 954847fca4 Initial work on vs2010 project files for PCSX2 and plugins.
The *null projects don't build, and neither do ZZOgl or ZeroSPU2.
Pcsx2 project has some issues with Resources' custom build steps not being run.
Only Debug target tested.
Needs work before it's usable.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2843 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-14 19:44:04 +00:00
ramapcsx2 a1706ed9f4 Tweaking the GS frame a bit, and reverse the meaning of that SPU2-X timestretch enable boolean. Hate double negations! :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2840 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-13 11:07:18 +00:00
ramapcsx2 d6c2ba9a44 SPU2-X:
A few more adjustments.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2839 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-12 18:38:29 +00:00
sudonim1 bb80927cc3 SPU2-X: Reduce buffer overruns by, um, making the buffer bigger. Apparently I was the first to think of this. (Also force time stretching off when the new sync hack is on)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2838 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-12 17:13:30 +00:00
ramapcsx2 048c1c7573 SPU2-X:
Safer values for the new mix mode.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2837 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-12 15:12:31 +00:00
ramapcsx2 a45c013ff3 SPU2-X:
Moved the async mixing toggle into the ini.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2836 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-12 01:44:59 +00:00
ramapcsx2 ab2897a417 SPU2-X:
New "Peops SPU2-like" async mixing mode.
Can only be toggled in source for now, as it will lower compatibility.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2835 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-11 22:08:32 +00:00
arcum42 3cc6bbf584 zzogl-pg: Mess about with _Resolve.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2834 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-11 08:59:49 +00:00
arcum42 4a32e9b445 zzogl-pg: Turn BUILD_CLUT into a function.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2833 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-11 08:51:50 +00:00
arcum42 d617fe7927 zzogl-pg: Keep in sync with zzogl.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2831 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-11 03:12:17 +00:00
arcum42 3546591de5 zzogl: Rework things in Mem.cpp & Mem_Transfer.h some more.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2827 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-09 04:23:27 +00:00
ramapcsx2 a57761c934 Crashfix for ZZogl / ZeroGSogl. Thanks "jur".
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2825 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-08 21:58:14 +00:00
Jake.Stine 8d57ed3eeb LinuzCDVDiso: quick svn:props fixes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2821 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-07 13:08:02 +00:00
arcum42 6b37b43e96 zzogl-pg: Fix an issue I noticed in the new Mem Transfer code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2820 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-07 11:59:03 +00:00
sudonim1 81c2318fea GSDx: made some nonsense code more obviously nonsense so that it might get fixed some day
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2817 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-06 21:14:15 +00:00
Jake.Stine 6ae7408b8c zzogl-pg: Remove obsolete PS2E*.h files; fix a compilation error in Win32/Debug targets; set a bunch of eol-style:native props.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2816 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-06 02:43:22 +00:00
ramapcsx2 2cba5ebd33 GSdx:
- Disabling all post processing removal hacks for Shadow of the Colossus. Can't see what they fix(ed).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2815 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-05 22:39:16 +00:00
arcum42 ea04f34136 zzogl-pg: Reduce the # of compiler warnings.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2813 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-03 12:48:27 +00:00
arcum42 564f443644 zzogl-pg: Get Windows working again.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2812 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-03 11:17:40 +00:00
arcum42 176c451008 zzogl-pg: Use path->StepReg in the transfer code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2811 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-03 10:53:42 +00:00
arcum42 1254cd22a5 zzogl-pg: Borrowed enough of the old transfer function in the new one to get it to work properly. Needs more testing.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2810 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-03 09:47:20 +00:00
arcum42 9b6a27bbb9 zzogl-pg: Committing a start of a GifTransfer rewrite so I can go back to it easily. (Unless you like seeing what games look like with missing graphics, I'd leave the define for it disabled for the moment.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2808 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-02 10:23:49 +00:00
arcum42 58bed4713d zzogl-pg: Still working on the tag transfer code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2807 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-02 06:49:30 +00:00
arcum42 a34a783f6d zzogl-pg: Update the c::b project as well...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2806 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-02 05:53:53 +00:00
arcum42 5f032dad64 zzogl-pg: Split off some of GS.h. Keep working on the tranfer code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2805 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-02 05:53:14 +00:00
arcum42 a8841d6e77 zzogl-pg: Work on the transfer code a bit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2804 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-02 02:44:14 +00:00
arcum42 9ea97041fb zzogl-pg: Move WriteCLUT_T32_I4_CSM1_sse2 to inline assembly.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2803 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-01 22:52:59 +00:00
arcum42 19536e2864 zzogl-pg: Use the same version of some of the SSE2 WriteClut functions in both Linux and Windows.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2800 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-31 12:27:36 +00:00
arcum42 fe8250967a zzogl-pg: Get rid of some old 64 bit code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2799 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-31 12:17:05 +00:00
Jake.Stine 05ccea99ce Fix compilation errors in zlib and linuz-cdvdiso (plugin)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2796 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-30 19:22:42 +00:00
Jake.Stine 03ea6e04d6 zzogl-pg: part two of fixing CreateWindow conflict; should compile in Windows without error now.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2793 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-29 21:15:49 +00:00
Jake.Stine dc95fc1d6c zzogl-pg: compilation error fix, caused by windows.h gratuitous namespace pollution (it's a common problem, CreateWindow being a macro and all)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2792 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-29 20:45:48 +00:00
gigaherz 294705aea6 Build on the preivous dsp fix so that it can work with dsp plugins that return partial blocks. It's not tested properly since I don't know of any plugin which does that.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2789 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-28 21:27:53 +00:00
ramapcsx2 db63162c0d SPU2-X:
- Various small changes and a fix by gigaherz for dsp plugins when timestretching is disabled.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2788 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-28 20:48:52 +00:00
arcum42 07045d1f4a zzogl-pg: 8x AA != 16x AA.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2784 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-27 05:40:58 +00:00
arcum42 3cfa865057 zzogl-pg: Rewrote the configuration dialog in Linux. It is now entirely in the source code. (No relying on an obsolete version of Glade to generate the dialog code for us any more.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2783 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-27 04:28:12 +00:00
arcum42 fb5e68d7ee zzogl-pg: Simplify a bit of the option code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2782 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-27 02:21:09 +00:00
arcum42 6712765616 zzogl-pg: Misc things that caught my eye.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2781 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-27 01:01:31 +00:00
sudonim1 6dd23f3c8d SPU2-X: Re-enable resets, the games that were buggy with them enabled now seem to be fixed. This fixes music in Fatal Frame, FMVs in Devil May Cry PAL, and may fix music looping in God of War when run without the BIOS skip hack (or that might work without this change).
SPU2-X: Disable IRQs on reset.  This is a guess, but it fixes the BIOS with resets re-enabled.
SPU2-X: More detailed IRQ logging.
CDVD: Ignore the disc type reported by the plugin, we have our own test and it's working more reliably.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2779 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-26 22:31:34 +00:00
Jake.Stine 6346c8f061 zzogl-pg: remove the localcopy of static libjpeg.lib files in favor of the 3rdparty ones. Fix sln errors.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2777 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-26 12:32:50 +00:00
Jake.Stine 60671384e3 zzogl-pg: made the project conform to PCSX2's VC2008 buildsystem mess; added GL/wglext.h to the repository.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2776 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-26 12:14:49 +00:00
arcum42 19054aab92 zzogl-pg: Add the project to the main sln file.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2775 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-26 09:47:41 +00:00
arcum42 02fdc8f9fc zzogl-pg: Use the memcpy_fast routines from Utilities in Linux. (Right now, Windows is using an old copy of it, and Linux wasn't using it at all.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2774 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-26 09:19:41 +00:00
arcum42 0a6b6472c7 zzogl-pg: Get rid of the extra copy of zlib, and use the copy included in the main project. Add a sln file for zzogl-pg.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2773 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-26 06:28:51 +00:00
arcum42 901a399702 zzogl-pg: Left out a file.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2772 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-26 05:56:40 +00:00
arcum42 2d754b3ca0 zzogl-pg: Use SSE2 by default in the codeblock project. Move the swizzle stuff about a bit. A few changes I had sitting around.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2771 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-26 05:17:14 +00:00
arcum42 60c4ed5fcb zzogl-pg: Stop the plugin from crashing under windows.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2770 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-26 04:40:21 +00:00
arcum42 b1e6094408 zzogl-pg: Fix compiling with the build script.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2765 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-24 09:19:10 +00:00
arcum42 adf43a86ab zzogl-pg: A few more changes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2764 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-24 08:46:18 +00:00
ramapcsx2 5b40df17cb GSdx:
- Removed the opengl dependencies and unused /Delayload .dll.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2763 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-23 23:31:59 +00:00
arcum42 4cccb9e034 zzogl-pg: Refactor a bunch of Mem.cpp stuff.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2762 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-23 12:21:46 +00:00
arcum42 6db10003de zzogl-pg: Turn all the TRANSMIT_HOSTLOCAL macros into functions.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2761 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-21 06:22:55 +00:00
arcum42 bd94bc0483 zzogl-pg: More of what I was doing last commit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2759 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-20 10:49:50 +00:00
arcum42 f135c1d9c7 zzogl-pg: More work on Mem.cpp.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2758 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-20 09:45:25 +00:00
arcum42 5cfca09385 zzogl-pg: Fighting with Mem.cpp. (This probably breaks things a bit. This is more of a 'save-my-progress' commit then anything. Basically, I'm expanding out a bunch of tangled macros right now, and creating a bunch of repetitive code that hopefully I'll be able to reduce afterwards. )
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2757 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-20 07:24:19 +00:00
gigaherz 3e6b6c86c1 Prevent the WASAPI code from trying to compile in linux/mac, and add a setting to enable exclusive mode selection from the settings (.ini only for now)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2756 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-19 21:47:24 +00:00
ramapcsx2 86dcb0a1a9 SPU2-X:
Work on support for Wasapi's exclusive mode. Not enabled yet.
Also lower (/8) sound out packet size. Helps the timestretcher 
responsiveness and quality.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2755 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-19 20:28:10 +00:00
sudonim1 8c0fc49f61 GSdx: Removed DX10 support in favour of DX11. I am told that this shouldn't affect anyone and it reduces code duplication. (DX11 was already missing some changes in DX10, I have ported them.)
GSdx: Removed OpenGL "support".  Nobody showed any interest in getting this working.
GSdx: Removed PS1 GPU support.  pcsx2 does not use this and it is unmaintained, likely broken, and frequently confuses intellisense.
GSDumpGUI: Use the correct export for the library name, was using the PS1 version.

If any of the above code is needed in the future, we have this wonderful technology called version control.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2754 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-19 20:27:06 +00:00
sudonim1 c09114e08b GSdx: Slightly more sensible input layout handling. No functional change.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2753 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-19 18:02:56 +00:00
arcum42 df401326aa zzogl-pg: Fix various compiler warnings, and one or two things I missed earlier.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2750 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-19 06:38:44 +00:00
arcum42 dfeb416833 zzogl-pg: Fix Linux after my last few commits.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2749 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-19 05:46:55 +00:00
arcum42 e80b5c5af5 zzogl-pg: Work more on separating out the windowing code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2748 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-19 05:24:36 +00:00
arcum42 686b08b7de zzogl-pg: Get it compiling in Windows. (May very well break compilation in Linux. I'll deal with that later.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2747 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-19 04:36:28 +00:00
arcum42 28df00c2a3 zzogl-pg: Move a bunch of X11 stuff to a separate file.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2745 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-19 02:04:55 +00:00
arcum42 0a8c267991 zzogl-pg: Move the transfer code to a separate file.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2744 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-19 01:33:59 +00:00
arcum42 4f6cbe476d zzogl-pg: Remove old 64 bit code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2742 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-19 01:17:42 +00:00
arcum42 50bddb85d5 zzogl-pg: Add a preliminary codeblocks project file.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2741 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-19 01:00:53 +00:00
arcum42 0edf2d26e7 zzogl-pg: Delete a few stray files that crept in.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2740 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-19 00:37:09 +00:00
arcum42 799da2100e zzogl-pg: Create a local fork of ZZOgl to play with. Currently just ZZOgl 211 with name and version changes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2739 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-19 00:31:15 +00:00
arcum42 1f2f855f36 Get SoundTouch working in Linux again.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2737 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-18 23:43:34 +00:00
ramapcsx2 ccfb4e1ea9 Updated the SoundTouch library to version 1.5.
It works fine and without further modifications in Windows, for SPU2-X and ZeroSPU2.
Linux is untested, but hopefully also fine :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2734 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-18 20:04:51 +00:00
arcum42 70a3940d75 spu2-x: Update the Linux dialog with the new interpolation options.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2733 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-18 08:30:52 +00:00
Jake.Stine a24e08fe83 SPU2-X: Stupid typo fix.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2731 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-17 19:59:14 +00:00
Jake.Stine cc4b78d7ae SPU2-X: Optimized interpolation to use a switch-template-based lookup table.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2730 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-17 19:55:35 +00:00
Jake.Stine c173002be0 SPU2-X: Added IRQA testing to Reverb Effects Processing.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2729 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-17 15:26:31 +00:00
Jake.Stine 4c700bc17e SPU2-X: Remove unsaturated version of the XA-ADPCM decoder (unused for a while now). As it turns out, saturation is definitely part of the spec, and some encoders expect/rely on it.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2728 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-17 14:11:38 +00:00
Jake.Stine 48fae1a824 SPU2-X: Better version of pseudonym's bugfix.
Details: Properly initialize SCurrent in V_Core::Reset so that it need not be checked during Dummy processing, and add some asserts to test for SCurrent validity.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2727 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-17 14:07:25 +00:00
sudonim1 58b9768c61 SPU2-X: Voices that have never been started have SCurrent=0, which broke the dead voice handling. Fixing this should reduce stray interrupts and improve FPS slightly. Apparently the interrupts affect Wizardry: Tale of The Forsaken Land's music, but the game is quite broken anyway.
Also fixed small timing error in dead voices, probably doesn't affect any game.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2726 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-17 11:49:36 +00:00
ramapcsx2 8c3ea7d766 SPU2-X:
- Altered interpolation descriptions based on testing. Also fixed slight issue with Hermite interpolation.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2725 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-16 19:30:14 +00:00
gigaherz 50dfe253e7 More interpolators. Implemented Catmull-Rom interpolation. It's simpler than hermite, but doesn't really sound "better" than cubic as far as I can tell.
Feel free to test them.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2724 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-16 18:48:06 +00:00
gigaherz 329617d351 HIGHLY EXPERIMENTAL implementation of Hermite interpolation method.
Test at your own risk. Tension can be changed in the code.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2723 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-16 15:33:59 +00:00
gigaherz ad4bbbf920 This should properly fix cubic interpolation. If it seems to dull the audio, it's because it's meant to.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2722 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-16 14:39:36 +00:00
sudonim1 b9fc6d43e9 Fixed error in blending table. Mostly white displays in Ghost Rider and Silent Hill: Origins now display correctly. Large diff because I reformatted comments to make it easier to verify, only rows changed are 0112 and 0210.
Added logging for blending modes that can't be handled natively.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2718 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-15 21:07:58 +00:00
sudonim1 bda5b06e37 Made resources recompile when a shader is modified, though I'm not happy with the solution.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2717 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-15 19:13:51 +00:00
ramapcsx2 7f6f27b9d9 One of these days I'll get it right. Sigh :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2715 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-14 21:34:16 +00:00
ramapcsx2 d29b968e51 GSdx:
- Moved the offset hack to CreateSource(), it can work a bit more selectively there.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2714 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-14 19:35:10 +00:00
sudonim1 ee467127eb Forgot to save before committing. Just a comment.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2713 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-14 11:35:42 +00:00
sudonim1 ad21a894fc GSDx: Fixed channel masking in DX9 HW. The red and blue channels were reversed.
GSDx: Removed discards from partial colclamp support as it wasn't doing much good and definitely won't be necessary with the next stage of support.  No significant functional change probably.

As before, please do a full rebuild of gsdx.  I hate it as much as you but don't know how to make VS smarter about this.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2712 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-14 11:33:12 +00:00
ramapcsx2 cbad1f9bd5 Small cleanups: Fixed a typo in HwWrite.cpp (could fix games) and removed double system reset call.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2709 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-13 22:29:14 +00:00
sudonim1 3f36d66116 I'm an idiot and committed with the crippling macros uncommented, undoing the work in r2702 and taking the software renderer down a peg.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2705 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-13 02:19:06 +00:00
sudonim1 3f45a3b8b1 GSDX: added a couple of macros to cripple gsdx for developer use in diagnosing problems.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2703 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-12 22:47:59 +00:00
sudonim1 e8c73cef42 GSDX: Partial COLCLAMP support.
Fixes shadows in Ico and Shadow of the Colossus and hopefully fixes more effects in other games.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2702 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-12 19:01:05 +00:00
arcum42 58c75437d4 Take care of a few compiler warnings, and get rid of a bit of redundancy in the codeblocks projects.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2701 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-12 09:06:12 +00:00
Jake.Stine 001a286415 SPU2-X: Attempt to fix Cubic Interp mode; plus some cleanups to the XA Decoder.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2700 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-12 02:55:30 +00:00
sudonim1 72ce9993d2 GSDX: unify blending tables. No functional change, but one may be coming soon if I can make it work.
Also, screw you, Stroustrup! You don't make me cast short to int, so don't make me cast int to an enum! PS: arithmetic operators, you stingy bastard.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2697 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-11 18:41:31 +00:00
ramapcsx2 77a40e3c6e Increase version of SPU2-X and GSdx, as enough changes have accumulated.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2693 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-11 06:46:19 +00:00
ramapcsx2 6c4c4e316d GSdx:
- Hopefully hacked up the "wall of fog" problem in GoW2. Used an adapted patch from ZeroGravity.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2687 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-10 10:10:36 +00:00
ramapcsx2 ba8495dc94 SPU2-X:
- More fixes to "slides". The few games using them should sound mostly correct now.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2686 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-09 19:18:48 +00:00
ramapcsx2 a7aac122d6 SPU2-X:
- Fix Silent Hill Origins, Max Payne 2 and a few others. This was a really old bug :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2681 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-08 02:19:58 +00:00
ramapcsx2 0244097a26 SPU2-X:
- Fixed the clipping audio in many game's sound effects by using a saturating XA decoder.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2679 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-07 02:38:33 +00:00
arcum42 39a628ab9a Get spu2-x working in Linux again.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2677 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-06 06:06:45 +00:00
Jake.Stine 1461281f5f SPU2-X: Improved fix for wave recoding crashes; using thread-safe mutex locks. :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2662 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-03 19:06:22 +00:00
ramapcsx2 ad62866bcb GSdx:
- The earlier FFX fix killed fmv in Xenosaga 2. Hacked up a bit more now! :p
- Few more CRC (Note: I will look at GoW 2 once I have time and dumps, not before!)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2660 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-02 17:30:03 +00:00
feal87 db616b0690 SPU2-X : The safe_delete on the WaveDump wasn't "safe" enough and was causing the error on end of wav dump.
Test it and tell me if it works fine now. (F12 is the key for start-end)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2659 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-02 15:52:03 +00:00
feal87 d541f28425 Gsdx : Added scaler x5 and x6 (the maximum available, no other values are possible as the limit for texture/render target is 4096x4096 (probably some new card/API support more, but we need compatibility) and with x6 we are at 3840x3072). It is VERY gpu intensive, use it with extreme care, it may give heavy slowdown. :P
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2658 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-02 13:48:20 +00:00
feal87 ea385c4da8 Fixed the capture video functionality of GSDX. Let's hope I'll make bositman happy with this. :D
It was a series of very old bug. 
1) After the passage to the WX system the CoInitialize was not anymore called on the GS thread causing the Filter enumeration on DirectShow to fail.
2) After the "MFC Free" commit of Gabest, if you selected the Uncompressed functionality a nullpointer exception trigger (as there is no filter for that)
3) Strangely there was no code path to connect the source with the mux when Uncompressed was selected (without an encoder in the middle). I added it.
Test it and report problem. I already know there is a problem with the closing of the sound recording, but that's a PCSX2 problem, not a GSDX one.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2657 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-02 12:55:26 +00:00
feal87 e0b9f75a3c Now GSDX does not close the hosting application on the end of the GS Dump reproduction. (A dll shouldn't try to close the hosting application. That's bad behaviour.)
Fixed a little problem with the last commit. (I was pointing out of the string instead of the end. :P)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2656 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-02 10:29:30 +00:00
feal87 0bac0a6217 Fixed again the GS dump creation in the new GUI by adding 2 new accelerator to the global table.
Now the snapshots and gs dumps are correctly created in the snaps folder (or the one choose by the user). (GSDX was missing a check to understand if the directory passed by pcsx2 was or not slashed at the end. :P)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2655 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-02 10:17:50 +00:00
Jake.Stine b86a9477e4 GSdx: fix a crash on Intel GM 910/915 and other PS 2.0-only cards, by removing a reference to VPOS (which is PS3.0 only).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2651 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-03-01 15:26:25 +00:00
ramapcsx2 5da01c90b9 GSdx:
- Some corrections to dx9 hw mode, by Feal87.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2649 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-26 19:24:01 +00:00
ramapcsx2 ef313a579d GSdx:
- Scene menu and pause screen transitions in FFX, FFX-2 and Grandia3 get invalidated (fixed) again.
No idea why Gabest ever turned that fix off. Coded by Feal87.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2648 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-26 17:03:58 +00:00
ramapcsx2 a9578e53dc GSdx:
- Feal87 found and fixed a problem with shadows in Silent Hill Origins. Might help other games as well.
- Bit better fix for GoW's "wall of fog" problem. Patch originally from ZeroGravity.

Thanks guys :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2647 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-26 14:38:13 +00:00
arcum42 e6bb0125ec spu2-x: In Linux, add a Debug dialog. Add frames to the other dialogs.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2646 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-26 11:48:15 +00:00
arcum42 8fef9fc0c3 spu2-x: Start working on the debug settings a bit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2645 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-26 09:07:26 +00:00
arcum42 d3311db6df spu2-x: Advanced dialog box implemented in Linux.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2644 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-26 07:39:08 +00:00
arcum42 7a254b5308 spu2-x: It'd help if we actually check the value of OutputModules.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2641 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-26 06:04:16 +00:00
arcum42 59459a5df5 spu2-x: Implement most of the configuration dialog in Linux (minus logging and advanced).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2640 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-26 05:45:52 +00:00
sudonim1 ea766db4ce I guess I should've tried this from the beginning. Actually, I did, but it wasn't quite the same code and rama benchmarked it instead of me. Other optimisations are irrelevant, speed is now within measuring error of r2634, I feel like an idiot.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2638 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-25 07:32:55 +00:00
sudonim1 a564d4bbae Runaway voices should be faster with this. My previous ideas for optimising this were based on the principles that there's no way a game could rely on this feature other than requiring interrupts to fire when the muted voice hits the interrupt address. Well... Fatal Frame 2 proved me wrong. SPU2 interrupts aren't even enabled. I have no idea what it's doing.
Rougher granularity than this probably doesn't break anything, this is the finest that should have observable effects.

Not running voices when they're in a special sentinel block may also help games... but not Fatal Frame 2.  It resets the loop register constantly.  I really have no idea what it's playing at and it's driving me crazy.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2637 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-25 07:04:28 +00:00
ramapcsx2 155c96c0aa SPU2-X:
- Pseudonym made the voice free-run system a bit faster. Also fixes some odd sound skips introduced with the first version of this fix.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2636 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-25 05:32:51 +00:00
ramapcsx2 b13e917eb2 SPU2-X:
- Continue voice processing even if the voice is off, as per SPU2 specs.
This fixes Fatal Frame 2 (and likely 3 as well). A really long standing bug we had :) 

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2635 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-25 01:18:27 +00:00
arcum42 f86876f9fe Spu2-x: Hack in some ini file support for Linux.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2630 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-23 13:45:36 +00:00
ramapcsx2 a7507d6e4a Mimic old GSdx behavior (skipping all depth textures with a skip value of 1), to avoid floods of bug reports that games are broken, when the user hasn't found the skiphack yet. (God of War, sigh..)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2621 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-21 19:50:21 +00:00
ramapcsx2 5dba50645b SPU2-X:
- Added a configurable reverb volume boost, sounds nice in some games :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2620 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-21 17:44:48 +00:00
ramapcsx2 1b00ce0803 GSdx:
- Fixed the resource issue I had, so the new options are now also available in the old config dialog.
- Added some code that hides the hack options completely when they're disabled. By Bositman :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2619 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-21 12:56:25 +00:00
arcum42 df39878a9e Spu2-X: And we have sound in Linux! (Uses PortAudio; Absolutely no configuration right now. Not even in an ini file.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2618 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-21 08:33:49 +00:00
arcum42 5a564ab7b6 Clean up the last commit a bit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2617 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-21 08:18:25 +00:00
arcum42 dcb76739c8 Hack at spu2-x until it compiles in Linux, and is usable as a null plugin. (No, no sound yet, or configuration dialogs. It's a step in the right direction, though.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2616 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-21 08:04:45 +00:00
arcum42 b98e4b9b12 Add an enable game fixes checkbox that behaves the same as the enable speed hacks checkbox, for ui consistancy. (Defaults to off, so if you are currently using game fixes, you'll need to go in and check it.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2614 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-20 10:45:49 +00:00
ramapcsx2 c509869535 GSdx:
- Disabling the "pitch conversion" again. Don't ask. :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2611 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-20 02:50:58 +00:00
ramapcsx2 eff9506cd8 GSdx:
- Hide the hacks from users, unless "allowHacks" is written to the GSdx.ini first.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2609 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-19 22:01:28 +00:00
ramapcsx2 ef8fe6639e GSdx:
- Found out that the blur detection filter was busted for some time now.
It worked by chance, due to the pixel crop hack.
Disabled that hack now and made PCSX2's GS frame handle that functionality instead.
This is a somewhat nicer method, although users of 4:3 and 16:9 aspect ratios might get flickering pixels on the borders again.
I'll see if I can think of something for those cases, should there be demand for it.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2608 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-19 19:05:35 +00:00
ramapcsx2 f874d0d1a3 GSdx:
- Added multi sample anti aliasing options to the gui. Remember those aren't tested much, and we have reports of memory leaking with it enabled. Those could be outdated by now though.
- Removed the "enable output merger blur effect option", since I can't imagine anyone wanting to enable it anyway. :p
- Cropped one more pixel on the final output image, should fix some issues with msaa enabled.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2607 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-19 15:45:23 +00:00
ramapcsx2 e50fb6ec9f GSdx:
- Finally made some user hacks available in the configuration dialog.
There are no warnings yet, and I don't like the placement either, but that'll have to wait.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2606 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-19 10:37:31 +00:00
ramapcsx2 42cb1c4bb1 SPU2-X:
- Ok, that interrupt commit in r2600 was silly. The "special register write" is a simple set audio to max volume. We don't interrupt those :p
NEW IOP DMAC:
- Make the adma interrupts happen early, as in the previous commit for old dmac.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2602 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-17 22:37:13 +00:00
ramapcsx2 f6119e02f0 SPU2-X:
- Don't delay the adma irq callbacks, call them directly.
Should finally fix all those sound dropouts that only happened with this plugin :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2601 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-17 21:12:02 +00:00
ramapcsx2 8d7971466d SPU2-X:
- Added an interrupt call on a special register write, which mimics peops spu2 behavior.
This lets Silent Hill Origins get further when booting up.
Note that it's not complete and hackish, need someone with spu2 experience to make it right :p
- Also added various logging stuff

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2600 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-17 17:35:06 +00:00
ramapcsx2 9960c24af7 GSdx:
- Added a hack that changes how alpha is handled.
This can be used to fix stuff like too bright blending, bad effect leftovers or "ghost layers".
Enable via ini > UserHacks_AlphaHack = 1

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2594 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-14 15:19:35 +00:00
arcum42 3b4ccf8a31 Fix for my last commit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2592 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-13 01:06:10 +00:00
MattMenke@gmail.com 32c7e80634 LilyPad: Yet another minor change to window hook cleanup that probably isn't really needed. "LilyHaxxor" property wasn't always being removed.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2591 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-12 23:28:42 +00:00
MattMenke@gmail.com cd5c262e7f LilyPad: Oops...Forgot to copy two lines. Don't think they're really needed, but can't hurt.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2590 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-12 23:09:27 +00:00
MattMenke@gmail.com 3a725ee6f6 LilyPad: Fix for testing rumble breaking test button. Jake was the one who broke it, not me. Honest. Should fix issue 531.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2589 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-12 23:07:07 +00:00
arcum42 7f46f80015 ZeroSPU2: Various cleanups, refactors, and general mucking about with code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2588 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-12 11:42:29 +00:00
MattMenke@gmail.com 742bae8d94 SSSPSX: Slight change to analog stick zero position, at rama1's suggestion. Zero should be 0x7F instead of 0x80. Untested, as I don't use the plugin and am rather lazy.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2587 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-11 16:09:00 +00:00
ramapcsx2 706c68c1cd PCSX2:
- Fix SPR interrupts to a delay of 4 cycles always. Makes sure they're handled first.
(Fixes Obscure2 and Alone in the Dark FMV.)
GSdx:
- One more CRC :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2584 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-10 18:44:58 +00:00
arcum42 fbbe9c3299 Forgot this in the last commit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2575 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-07 13:04:37 +00:00
arcum42 dc79e34ac9 ZeroSpu2: Add some placeholders for new iop dma code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2574 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-07 12:36:49 +00:00
arcum42 e4702bf67a Various IPU & logging stuff.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2573 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-07 06:29:58 +00:00
gigaherz 582ec766e4 "Fix" dev9null to allow the new iop dmac stuff. It's null, so it has no other purpose than to check if the plugin loads correctly. Which it does.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2572 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-06 22:33:45 +00:00
ramapcsx2 19b9ef1cea Some more CRC's for GSdx and altered speedhacks descriptions.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2570 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-06 16:34:36 +00:00
gigaherz cdb5de009b Experimental stuff, "newly discovered" flag from some old ps1 source code (so yeah not new, just I had never seen it) which appears to indicate the status of the spu's internal transfer queue (both dma and non-dma transfer styles).
Only applied for DMAs, and only in the new dmac code. Please tell if it breaks anything! and also if it fixes anything!


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2566 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-06 01:35:36 +00:00
ramapcsx2 0de9848106 GSdx:
- Just a few more SMT games CRC's. Too many versions of these games.. :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2565 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-05 23:43:03 +00:00
arcum42 cc585042ce Spu2-x: A few quick changes to get it compiling in Linux again.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2562 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-05 03:59:19 +00:00
gigaherz 8ef8958e2d Forgot to check if my changes compiled with the new dmac stuff disabled. Thanks Pashifika.kasuru for pointing it out.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2560 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-04 21:04:48 +00:00
gigaherz 7090edf371 Chagne a few thigns around for the spu2-x Irq flagging. If this breaks anything please tell.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2559 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-04 18:39:15 +00:00
gigaherz 34e44e4956 Experimental sliced transfer stuff for spu2-x in the new dmac code. Probably doesn't make anything better, and it could slow down the iop a tiny bit while doing DMAs.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2558 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-04 18:17:41 +00:00
gigaherz b05733a8fb "giga: PlainDMAWrite((u16*)data,bytesLeft); << not bytesLeft/2 ? Fixes sound in many games" whoops.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2557 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-04 16:59:48 +00:00
gigaherz 06db5bba38 Hackfix a problem with sio2 in the new dmac. It needs some changes to the dmac system (possibly a dmaStart function with more accurate information) to be implemented properly but for now, this will do.
Also make the autodma messages work like before so they are configurable again.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2555 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-03 03:59:21 +00:00
gigaherz 9ae807134e Experimental implementation of spu2 interface for the new iop dmac.
It's implemented only on SPU2-X and disabled by default.
FF12 and Atelier iris had working FMVs and bgm, other games might not
Try at your own risk.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2554 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-03 03:37:55 +00:00
MattMenke@gmail.com 1fd51a635e LilyPad: Fix for detecting devices whose instance IDs have changed (Either due to to changing OS or USB port).
Modified unplugged device behavior to match PadNull.  May work better with unplugged pads, may not.  No clue, just know the old behavior didn't work that well.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2552 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-02 06:40:02 +00:00
ramapcsx2 909a7de4f6 SPU2-X:
- Ok, skip the whole runtime reset, since we don't know (yet) what vars need to be reset, and more importantly, when.
- Makes it possible to disable the specific BIOS hack we had. :)


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2551 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-02 06:28:50 +00:00
ramapcsx2 300717df6c SPU2-X:
- Don't the whole core on a core reset. Fixes sound in Silver Surfer, Silent Hill Shattered Memories and prolly others.
(SH becomes playable with this. ;) Still needs GSdx software though. )

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2548 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-02-02 04:50:51 +00:00
Jake.Stine c2c48b91c5 GSdx: better version of my previous commit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2534 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-28 13:25:18 +00:00
Jake.Stine 8473436ae4 GSdx: Another attempted fix for Issue 553.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2533 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-28 13:07:06 +00:00
Jake.Stine d43282c1ac GSdx: Crash on config ok'd fixed.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2531 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-28 04:44:07 +00:00
Jake.Stine 9fa4944536 GSdx: Removed obsolete/redundant options from the configuration dialog (vsync, fullscreen, and other things now controlled by 0.9.7). This only affects GSdx when run from 0.9.7 -- older versions of PCSX2 still have the same options.
PCSX2: Added an optional PS2EsetEmuVersion callback for plugins, so that plugins (like GSdx) can alter behavior based on the version of emulator calling them.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2530 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-28 02:53:10 +00:00
Jake.Stine fc5a91096e Linuz CDVDiso: Fix compilation errors in debug builds.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2526 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-26 16:54:57 +00:00
Jake.Stine eba108114c SSSPSXpad: Fix crash when binding keys (Issue 550).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2525 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-26 16:39:16 +00:00
Jake.Stine e2581e5c72 LinuzCDVDiso: Added the dual layer detection fix already present in the internal iso loader (fixes running some DVD9 games from iso, like God of War 1 and Rogue Galaxy).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2524 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-26 16:28:55 +00:00
Jake.Stine e747337d63 A big old crapload of UI and thread management changes. Recoded the EventSource/EventListener system to be more C++ and less hacky C. Probably breaks Linux!
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2474 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-22 15:22:01 +00:00
arcum42 b76d7c164b Just a few minor things.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2469 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-22 08:49:54 +00:00
arcum42 4f2601a687 SPU2Null: Fix the release version.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2468 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-22 05:07:34 +00:00
arcum42 b64452f074 Commit Athostr's latest patch to the cmake build support to svn. Standardizes the CMakeList files a bit, copies ps2hw.dat in to plugins, preliminary PortAudio support. Only uses the builtin SoundTouch now.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2467 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-22 04:36:49 +00:00
arcum42 cbb2000400 Commit a modified copy of the CMake files from issue 513. (Note: work in progress. Not currently for general use. Builds made using cmake are currently not supported, and unlikely to work properly.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2464 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-21 15:12:50 +00:00
gigaherz c1cd29a534 Started implementing configuration support for PortAudio. Since PortAudio doesn't have any kind of "Unique ID" for the listed devices, I have to rely on the "host api" name and the descriptive name of the device, but it doesn't seem to be 100% reliable. In case the device name can't be found, it will try to use the default device for the specified API. If no api is specified, then it will fall back to using whatever default device PortAudio provides.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2445 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-17 16:46:28 +00:00
arcum42 ea254bac5e ZeroSPU2: Exclude a few files from the project in Visual C++, to avoid potential issues.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2444 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-17 13:45:21 +00:00
arcum42 f04235177c ZeroSPU2: Add PortAudio, and make it possible for it to be compiled as Alsa, OSS, or PortAudio on the Linux side.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2443 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-17 11:19:01 +00:00
arcum42 78aa3de579 Bring Windows in sync with the earlier changes I made to ZeroSPU2.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2442 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-17 03:21:23 +00:00
gigaherz f878a438ff Fetched a snapshot of the source from portaudio site, and embedded it into the project. I might have missed something, so this will need some more work before it's fully stable.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2441 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-17 01:04:46 +00:00
gigaherz ce396272d1 SPU2-X: Experimental PortAudio module. No config dialogs. Will use the system default output device & whatever the default "api" is in portaudio. Requires user-compiled portaudio lib, might commit later.
Widnows users probably don't have any interest in this unless you want to play the audio through portaudio's ASIO driver. Arcum was interested so I commited.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2439 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-16 17:59:00 +00:00
arcum42 03e29f3f71 Missed the project file.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2438 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-16 16:08:48 +00:00
arcum42 e3687d6027 ZeroSPU2: Made the way different sound archetectures are done a bit more flexable so we could conceivably switch them at run time rather then compilation. And it occurred to me that the dynamic sound buffering Zedr0n is doing with PulseAudio is probably how it should be done in Alsa as well...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2437 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-16 16:08:17 +00:00
arcum42 37611e4eb0 Tweaks to Elfheader & cdvdReadKey. For the moment, lets not read or write Dev9 memory locations in the null plugin...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2436 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-16 12:29:24 +00:00
ramapcsx2 4327e93053 Minor logging stuff.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2430 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-15 15:21:43 +00:00
ramapcsx2 b1ef60c0f7 Should fix Issue 538: Linuz plugin compression broken.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2428 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-15 03:14:33 +00:00
Jake.Stine 1511703bdb Null plugins should probably disable HW/addr logging by default...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2427 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-14 00:57:01 +00:00
ramapcsx2 adde9249f0 GSdx:
- Depth texture removal hack can now be configured via gamefix_skipdraw = x. (Front Mission 5)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2423 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-10 18:04:12 +00:00
ramapcsx2 ff30e8148b GSdx:
- Converted an upscale hack to the format I plan to use from now on. (Also makes this hack work better :p)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2422 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-10 05:18:44 +00:00
arcum42 b23499887a Quick fix to FWnull.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2421 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-09 06:03:07 +00:00
arcum42 20f5dbde3d FWnull & USBnull have been converted to use PS2Enull.h as well.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2420 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-09 05:11:18 +00:00
arcum42 d6a1ff4a93 DEV9null: A few minor changes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2419 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-09 02:14:28 +00:00
arcum42 c307caffdc Convert DEV9null over to use the new header, as a test case.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2418 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-09 02:04:07 +00:00
arcum42 8528fd305f Fix Linux compiling, and remove vestigal x64 code in ZeroGS.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2412 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-08 08:09:10 +00:00
arcum42 e4ff3b8014 GSdx: Just committing this so I don't have to recreate it at some point.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2406 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-01 06:20:23 +00:00
arcum42 01aff16aac GSdx: A few minor cleanups to nudge GSdx a little closer to being cross-platform compatible,
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2405 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-01-01 05:18:32 +00:00
ramapcsx2 c3d2d20c47 Whops :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2404 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-12-30 13:29:24 +00:00
ramapcsx2 7a349ca360 GSdx:
- Bring the latest upscale hacks to dx9 mode as well.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2403 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-12-30 13:27:28 +00:00
arcum42 e5546267b9 GSNull uses GSOpen2. Hacked Openpad to work whether GSOpen or GSOpen2 is used.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2401 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-12-26 00:01:30 +00:00
arcum42 b795e7a306 ZeroGS: It'd help if I modified the project file to reflect the new file... :(
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2399 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-12-25 19:12:15 +00:00
arcum42 4b0b270776 ZeroGS: Move most of the X11 window code to one file, to make it easier to switch from using an X11 window to a Gtk window.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2394 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-12-24 05:53:29 +00:00
Jake.Stine 2f38decdab Fixing some more bone-headed project file compilation errors (my fault, don't know what I was thinking when I did this w32pthreads lib change int he first place)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2393 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-12-24 02:36:58 +00:00
arcum42 61d8406c09 Take care of Issue 512.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2390 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-12-23 20:38:56 +00:00
ramapcsx2 67b55648ae SPU2-X:
- Slight adjustment on the timestretcher, stops it from going to "emergency" mode too often (even on bigger buffers).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2385 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-12-22 17:05:40 +00:00
Jake.Stine 3c03e15dc1 SSSPSXPAD: Fix for a random crashing bug when doing suspend/resume type stuff (caused by multiple threads trying to initialize directinput at the same time)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2383 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-12-22 14:18:05 +00:00
Jake.Stine 171dc422be Add PADnull to the MSVC solution, and set eol-style:native props on PADnull and OnePad.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2381 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-12-22 03:17:35 +00:00
Jake.Stine 203979c16b SSSPSX: Updated to v1.7, fixed savestate/freeze callback bug that caused the public version to crash in 0.9.6 betas.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2379 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-12-22 03:08:16 +00:00
Jake.Stine 74c73295f4 PadSSSPSX: Added to PCSX2 Suite, and updated to work with PCSX2 v0.9.7.
Changes: Implemented PADupdate and PADsetSettingsDir, added thread sync mutexes.

Note!  This is based on v1.6 of SSSPSX, since we don't currently have v1.7 in the repository.  I did just realize that 1.7 comes with sources online, so I'll upgrade the repository to 1.7 shortly.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2378 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-12-21 16:21:07 +00:00
Jake.Stine 9ca90c747b Interface stuffs:
* Enable word wrapping on the console window (maybe could make it an option... hmm).
 * Slight bugfixes to main window/console focus linking (windows only)
 * Fix linux compilation error in ZeroGS.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2374 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-12-21 00:33:15 +00:00
Jake.Stine 6c75ee61e5 ZeroGS: Add support for GSsetSettingsDir.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2371 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-12-20 15:29:38 +00:00
arcum42 d36ba78392 Fix Linux compilation (and I suspect a crash). Fix up some of the null plugins so that they actually load in Linux.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2369 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-12-20 13:45:26 +00:00
ramapcsx2 c86fc2c9b9 GSdx:
- Added a macro that disables any upscale hacks.
- More work on the dx10 renderer upscale hacks.

PCSX2:
- Changed a warning so it reads more like a notice :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2366 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-12-20 02:50:34 +00:00
Jake.Stine bb319266fc Lilypad and PCSX2 ini/config bugfixes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2362 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-12-19 23:02:05 +00:00
Jake.Stine 9f41fc4793 (Most Plugins) Updated plugins to obey PCSX2's ini folder requests. This will fix problems with plugins failing to save settings on Vista/Win7 due to lack of Admin rights, and also ensures all the plugin inis show up where you would expect them to.
Fixed a couple UI bugs: FirstTime Wizard display bug and the "Configure..." button in the plugin control panel grays out when it should.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2361 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-12-19 18:30:56 +00:00
ramapcsx2 1b4de736cc GSdx:
- Decrease upscale glitches in dx10 (dx9 later) by hacking the UV coordinate system in borderline cases.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2348 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-12-16 00:22:01 +00:00
ramapcsx2 f03cdbcdb3 GSdx:
- Fix the Dark Cloud 2 crash when inventing stuff.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2332 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-12-09 19:05:28 +00:00
ramapcsx2 1bb1b71544 GSdx:
- Crashfix for Dual Hearts, fixes part 1 of Issue 314.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2330 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-12-08 17:32:25 +00:00
Jake.Stine 94cdfb6a8b Add debug versions of Null plugins (helps fix some stack tracing problems having a full set of debug-built DLLs, even if they aren't the source of the crashes).
DevNote: Moved jNO_DEFAULT from the Pcsx2Defs.h, since it's too dependent on the Common libraries.  It's now in Assertions.h.  Plugins can use __assume(0); directly instead or roll their own.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2326 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-12-07 22:39:52 +00:00
ramapcsx2 bb309c8d65 GSdx:
- Unbreak Ratchet and Clank by re-enabling the broken pitch conversion.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2320 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-12-07 09:46:33 +00:00
Jake.Stine 2baa81c997 w32pthreads/spu2-x/gsdx: add proper "debug" build of w32pthreads, instead of both debug and release overwriting the same dll.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2319 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-12-06 15:33:20 +00:00
ramapcsx2 a97e97fbc6 GSdx:
- Let's use dx10 software rendering for the F9 renderer switch, if it's available.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2307 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-12-04 21:16:06 +00:00
Jake.Stine 2675957851 GSdx: Implement DX9 "on the fly" vsync enabler/disabler, and fix some dx9 vsync bugs in legacy gui (hopefully)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2302 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-12-04 04:50:49 +00:00
Jake.Stine a3dee78c6c GSdx: Fix some vsync enable bugs. Add "GSsetExclusive" API, which is meant to be a hint for setting exclusive fullscreen mode in DX10 (no plans to support it in DX9 due to complications that would require significant changes to DX9 resource management).
I don't have DX10 so this is (as usual!) untested.  I'll be adding support for it to PCSX2 soon.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2301 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-12-04 03:24:59 +00:00
ramapcsx2 60fd4beb5f GSdx: Small fix.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2298 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-12-03 23:30:59 +00:00
Jake.Stine 97041701ae GSdx: SW rasterizer converted to use pthreads semaphores in the place of spinwaits. Performance mileage will vary on this; probably favors dual core machines over quads or i7's. Some tinkering might ink some more fps out of it and get it to be a speedup in all cases though.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2296 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-12-03 23:08:52 +00:00
Jake.Stine 9675fe8108 Add a vsync callback to GSdx, managed by PCSX2.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2293 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-12-03 15:49:12 +00:00
ramapcsx2 f1f6236a02 GSdx:
- Re-enable the D3D10_CREATE_DEVICE_SINGLETHREADED flag, since it seems to be stable again.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2283 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-12-01 16:16:48 +00:00
Jake.Stine 62384ea56a GSdx: Remove some DXGI stuff, which is being moved to PCSX2.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2281 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-12-01 15:31:31 +00:00
Jake.Stine a34c09fe01 GSdx:
* Disable GSdx's internal AspectRatio setting when using GSOpen2 (pcsx2 0.9.7 controls aspect ratios internally now)
 * DX10 should be able to startup in fullscreen mode now, without needing to hit alt-enter (legacy 0.9.6 versions only)
 * Added some comments for a failed attempt to disable DX10's default Alt-Enter behavior.  If someone knows how to do that properly, please feel free to submit a patch because DX10/Com breaks my mind. (see GSDevice10.cpp)
 * Remove DX11 for now since it's entirely unfinished anyway.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2279 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-12-01 05:59:43 +00:00
Jake.Stine 3dfdf5029c Lilypad: bugfix for crashes when used with pcsx2 0.9.6
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2278 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-12-01 05:13:38 +00:00
Jake.Stine 1ea29b0e62 Lilypad: Implemented full support for child-window GS viewports (fixes windows messaging being broken from the prev rev).
DevNotes: The main change here was to turn WndProcEater into a class and create multiple instances of it, so that it could manage the WndProcs for multiple windows concurrently.  The "frame" (top-level window) gets a WndProc that sets title and handles screensaver/alt-enter hacks.  The "viewport" (provided by PCSX2) gets the usual keyboard input handler WndProc.  Config buttons also have their own WndProc that avoid fuzzy logic conflicts with the other two.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2277 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-30 20:52:09 +00:00
ramapcsx2 97332663c2 GSdx:
- Let's try that pixel cropping again. Hope it doesn't blur ffx this time.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2270 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-28 15:46:51 +00:00
ramapcsx2 d95b317082 GSdx: Turn of the spam :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2249 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-24 22:25:50 +00:00
ramapcsx2 651a73a16c GSdx:
- Removed the outer pixel cropping, it causes blur in some games. (I knew I should've done it elsewhere :p )

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2248 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-24 21:41:26 +00:00
ramapcsx2 856bcef278 GSdx:
- Remove the silly upscale hacks from an earlier commit
- Replace them with a less silly version in CreateSource() :p
- Remove a few of the outer pixels from the visible area, as they often contain glitches

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2241 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-23 23:58:25 +00:00
Jake.Stine 1dced84153 Linux compilation fixes and fix some signed/unsigned stuff in IsoReader.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2217 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-18 16:53:44 +00:00
ramapcsx2 d8c495b064 SPU2-X:
- Set the "latency" slider adjustment resolution to 1, so it's actually possible to set the value the user wants.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2215 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-18 08:52:06 +00:00
Jake.Stine 2709f3c29c GSdx/SPU2-X: Perform SSE checks before entering Configuration dialog (prevents crashes on non-SSE2 machines)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2213 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-18 08:13:28 +00:00
Jake.Stine 4f9cd96e50 * Added a 'master' toggle to the Speedhacks panel.
* ... more WIP stuff on the Video options panel.
 * Spent 12 hrs working on crap text wrapping and window sizing issues.
 * Moved several UI classes to utilities (lots of project changes, breaks linux)
 * Fixed stilly bug in SPU2-X that prevented it from working (at all).
 * Lots of code cleanups, and 1 or 2 bugfixes.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2212 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-18 07:53:02 +00:00
arcum42 0cac04b028 Fix the definition of VERSION in ZeroSpu2 and OnePad.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2211 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-17 22:24:20 +00:00
Jake.Stine c942e3aaca * Implemented more support for on-the-fly CDVD source changes (not well tested, probably need work).
* Fix Reelease mode compilation errors. 
 * More misc bugfixes to the UI.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2207 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-16 17:14:10 +00:00
Jake.Stine af7bb73948 Fixed the Recent Iso List, which got broken a few revs back... and many more wee bug fixes, most are too unimportant to list here!!
Code Cleanups:
 * cpuDetect: Split Win32/Linux code portions into separate modules. (probably breaks linux)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2205 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-16 13:54:32 +00:00
Jake.Stine 40ed711445 SPU2-X: Implemented SPU2test - it now reports an error and returns failure on CPUs not supporting SSE2.
DevNote: SPU2-X now links against w32pthreads and x86emitter.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2202 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-16 13:14:02 +00:00
Jake.Stine dd0b49e80d Lots of wee bugfixes to user interface stuffs
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2199 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-16 00:40:09 +00:00
arcum42 7c0d91ce86 Fix up Linux, as well as make a few minor changes to onepad.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2196 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-14 09:02:10 +00:00
ramapcsx2 4ac00ea969 GSdx:
Gave up on the smart m_width / m_height adjustments for now. This just won't work the way I imagined it :/
Using a "common" size of 640*512 instead. This means some odd games might use a wrong output surface again (they always did this on the normal upscaler).


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2190 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-12 09:50:05 +00:00
ramapcsx2 8a9582f73b Fix a mistake. Thanks for spotting it, dhaft.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2176 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-10 14:11:43 +00:00
ramapcsx2 b7a5c067ba GSdx:
- Detect more games that blur (Dragon Quest 8)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2175 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-10 13:05:56 +00:00
ramapcsx2 efdeabd865 GSdx:
- Reduced the overhead of the new scaler. Instead of just using 1024*1024 blindly, it tries to adapt to games native resolutions.
- Yet another change to IncAge(), since it seems to be (mis)used to do texture invalidation. (Fixes Disgaea 2 when booting through the BIOS)
- Added some comments

Note: 
Before working on the texture cache GetDisplayRect(),GetFrameRect() and GetDeviceSize() really need fixing. It's useless to try and find surfaces when not knowing the real size of things.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2174 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-10 11:38:32 +00:00
ramapcsx2 03fc72dd3f GSdx:
- Added some sad attempt to fix small upscale annoyances. It's very hackish but better than nothing :p 
- Small cleanups

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2169 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-09 00:32:52 +00:00
gigaherz 3c54e2ba75 WIP work towards adding support for non-trivial image files (multitrack cue+bin, ccd, nrg, ...).
This is only refactoring, there shouldn't be any behavior change.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2157 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-08 02:45:09 +00:00
gigaherz 909714d08e Since pcsx2 itself can now identify the specific disk type based on the base media type, cdvdGigaherz does not need to replicate the same work anymore.
This means cdvdGigaherz builds will no longer work on older versions of pcsx2 from before I integrated the detection code into the emu.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2155 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-08 01:42:27 +00:00
gigaherz 3b0f524417 Seems when I made the internal iso reader I changed some code that shouldn't have been changed. This should make dual layer stuff work "as well" as in cdvdiso.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2151 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-07 19:28:47 +00:00
Jake.Stine 34f30969bf GSdx: likely fix for the infamous DX10 memleak and resume/loadstate instabilities. Likely because I don't have DX10 capabilities, so I'm coding blindly as usual. ;)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2150 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-07 17:50:48 +00:00
ramapcsx2 35ec28eb48 GSdx:
- Bring back IncAge() for textures to avoid excessive memory usage by some games.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2140 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-06 17:13:36 +00:00
Jake.Stine 8102692d36 LilyPad: Fix for occasional loss of input when suspending/resuming emulation.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2132 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-05 00:30:48 +00:00
Jake.Stine 36946c97b4 GSdx: Deleted a little too much in the last rev. >_<
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2131 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-05 00:29:39 +00:00
Jake.Stine 93798be614 GSdx: Remove a hack I put in when I introduced GSopen2 -- it's obsolete since adding Device deletion to GSclose (and was causing some bugs on the F9 render switcher).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2130 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-04 22:06:51 +00:00
ramapcsx2 3b4550cdc8 GSdx: Few more CRC's.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2129 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-04 10:56:38 +00:00
Jake.Stine 4fc93dded4 SPU2-X: Minor fix for very rare cases of hang-on-suspend when using the XA2 driver.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2120 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-02 21:07:22 +00:00
ramapcsx2 9ccc7b2465 GSdx: More work on the effects. Found out I need to handle depth stencils ><
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2111 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-01 11:42:12 +00:00
Jake.Stine 4e69680c81 GSnull: Update to GPLv3.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2108 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-01 06:47:32 +00:00
ramapcsx2 655038be45 GSdx:
- Fixed many flickering scene change transitions (FF12, Gust games, etc).
- Found more info on how games do some special effects. Preliminary code included, but disabled.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2101 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-31 10:56:10 +00:00
Jake.Stine 4cb8e21f94 Much work on menus, gui features. Partially-working recent-isos menu list. Bugfix for some of the new console stuff that could have caused some funny bunny business, or crashes, in a few games. Why dat wascaly wabbit! >_<
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2100 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-31 10:03:07 +00:00
Jake.Stine c274d4e43c GSdx: Cleanups to the vsync framelimiter linkage. Ensures that the vsync settings are preserved across plugin shutdown/init, and removes a lot of function parameter mess trying to pass a single parameter across some 6-8 classes and 4 nested function calls.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2099 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-31 01:06:23 +00:00
Jake.Stine 5326ae7686 GSnull: remove obsolete makefiles, add eol-style:native property.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2098 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-30 22:34:27 +00:00
Jake.Stine 5270b02b89 Fix some linux compilation errors in GSnull and PCSX2.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2096 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-30 18:37:51 +00:00
Jake.Stine eabfe8bf4f Fix GSnull under Win32; plus minor fixes to the console logger.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2095 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-30 17:26:53 +00:00
ramapcsx2 fdde56115c The Digital Devil Saga reverb fix "fixed" too much. It's gone :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2090 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-27 23:44:08 +00:00
Jake.Stine 1cc740a9c0 SPU2-X: Revert Neill's x4 buffer indexers -- Fixes feedback. Update savestate version to fix prev savestates.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2089 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-27 14:08:25 +00:00
MattMenke b0b928d4f4 LilyPad: Minor fix for redundant initialization of critical section.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2088 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-27 07:06:19 +00:00
Jake.Stine 7e63cc820d LilyPad: Better fix for the stuck pad keys (Issue 458). Fully re-implemented the GS window message pump stuffs. :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2087 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-27 06:52:18 +00:00
Jake.Stine da46df4d7c SPU2-X: More reverb work (mostly).
* Fixed some bugs from the prev rev that ended up disabling all reverb completely.
 * Expanded reverb buffers to x4, as per Neill Corlett's recommendation; this should give reverb a lot more "body"
 * Implemented what I suspect is correct behavior for EEA register handling.  When set to zero, effects are disabled.  This fixes nasty reverb and feedback loops in Digital Devil Saga.
 * Reverb down/up mix buffers are now processed even when effects disabled; fixes the reverb being cut off prematurely during the BIOS splash screen.
 * Fixed some silly clamping bugs (should fix distortion problems in some titles)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2086 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-27 05:50:50 +00:00
ramapcsx2 62d2532a1e GSdx:
- More work on the configuration, preparing for some reorganization.
- 8 Bit textures default to off again, since there are issue reports (mainly from ATI users).
- Add a gamefix that allows users to set an amount of "bad" frames to be skipped.
Add gamefix_skipdraw = x to the GSdx.ini to enable. (More work on this soon)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2085 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-26 15:52:45 +00:00
Jake.Stine 6032a142dd SPU2-X: Slightly better algo for the new reverb. :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2084 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-26 08:58:07 +00:00
Jake.Stine 16be400a71 LilyPad: Bugfixed cause of occasional hangs and lost input. Also, I've implemented an experimental fix for Issue 458 (laggy/sticky controls every 10-20 seconds).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2082 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-26 07:36:04 +00:00
Jake.Stine 99c62c6501 SPU2-X: (experimental) New reverb implementation using a more correct downsampler, as borrowed from "sexypsf."
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2081 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-26 02:38:27 +00:00
Jake.Stine beed14bfee SPU2-X: Added SVN revision info to the SPU2-X name reported back to PCSX2, so that it shows up in the plugin lists. (previously only did so in dev/debug builds, now does it for release too).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2068 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-24 19:18:44 +00:00
ramapcsx2 e8d858c675 GSdx: Some fixes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2066 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-24 18:39:36 +00:00
ramapcsx2 2ede953125 GSdx:
- Worked on the configuration dialog, bringing in the scaler option
- Changed the DeviceSize code to use Jake's kinda better method. Fixes some odd resolution games :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2061 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-23 14:32:01 +00:00
ramapcsx2 6a2cca9795 GSdx:
- The Xenosaga fix was wrong, this is better.
- Disabled the pitch conversion code, it's too broken to be used :/

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2058 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-22 01:52:41 +00:00
ramapcsx2 fb2169f64d GSdx:
Added a somewhat more accurate upscale option via GSdx.ini. Not tested much! :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2055 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-21 22:57:20 +00:00
Jake.Stine d0ffa6bbc0 aligned_stack: sync with trunk, preping for merge.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/aligned_stack@2053 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-21 19:38:22 +00:00
Jake.Stine 5b279e629d GSdx: Fixed a memory leak in m_weavebob when changing interlacing modes (same thing that caused the m_merge leak -- I chose to delete instead of recycle since I doubt the texture would be useful for anything besides the 1-time interlacing setup, so no point cluttering the pool with it).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2051 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-21 13:06:41 +00:00
ramapcsx2 81bdda2d27 GSdx:
Fix Xenosaga 2 and 3 fog effect, not sure it's handled correctly but at least it's handled.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2050 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-21 12:36:32 +00:00
Jake.Stine 00461fdac6 aligned_stack: synced with trunk, to bring in the new console code for additional testing under a (properly working!) linux.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/aligned_stack@2046 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-21 01:25:55 +00:00
Jake.Stine 0f77c1a885 GSdx: Possible fix for DX10 leaking memory.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2042 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-20 11:44:43 +00:00
Jake.Stine b1fb7f80ae aligned_stack: sync with trunk; some bugfixes to the stack prep on entry; and re-enabled the esp/ebp integrity assertions.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/aligned_stack@2032 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-18 14:56:48 +00:00
ramapcsx2 c3cbdaf016 SPU2-X:
New default values for soundtouch, fix the sound quality somewhat.
Also got rid of a small configuration dialog glitch.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2021 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-17 17:49:33 +00:00
ramapcsx2 1ae5d07a3f Quick fix for GSdx10 crashing when entering/leaving fullscreen on pcsx/wx.
Ideally this should be reverted one time, it really made a difference in fps for some DX calls heavy games.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2019 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-17 15:11:21 +00:00
Jake.Stine f64876203a cdvdGigaherz:
* Plugged up some various thread sync issues with the sector cache (caused problems mainly on startup.init and during disc change detection)
  * Added a thread sleep to the ReadThread when the dvd tray is empty or open (speedup).
  * Replaced a thread sleep with an Event when waiting on pending events (speedup).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2007 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-14 23:17:41 +00:00
Jake.Stine 6447ef282a GSdx: Recycle the m_merge texture instead of deleting it; and made a note about a debug assertion that happens in XS2 (probably nothing useful, but no harm in making a note for future references)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2006 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-14 16:42:59 +00:00
MattMenke 22d31831e6 LilyPad: Minor fixes to alt-F4 detection code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2001 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-13 02:35:25 +00:00
Jake.Stine c5c21f06cb GSdx: Fixed a couple memory leaks.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2000 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-12 19:58:03 +00:00
Jake.Stine 8b0cbe445a SPU2-X: Minor bugfix to suspend/shutdown code which caused SPU2-X to hang in very rare occasions.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1999 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-12 19:55:54 +00:00
Jake.Stine 28473c1436 Fixed: Savestate bug when saving caused erratic freezeups.
Fixed: More savestate slowness, and less savestate memory hogging.
SPU2-X: Fixed crash bug on using savestates while suspended.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1994 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-09 17:28:17 +00:00
Jake.Stine e8e61a5cf8 Settings work again!
* Switched the SysCoreThread to a static (fully persistent) thread.
 * Added some listeners for when the CoreThread status changes
 * fixed some slowness in savestates, and the emu will now stall until savestates complete, if you try to exit too quick (avoids savestate corruption)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1993 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-09 15:17:53 +00:00
Jake.Stine 5cf69e328d Minor cleanups -- removed unnecessary "using namespace std;" declares, etc.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1988 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-08 19:37:28 +00:00
Jake.Stine 67957b13b6 wxWidgets/Win32: Added a private heap allocation feature, which directs all wxString and wxObject allocations through a Windows private Heap (should reduce fragmentation and multithreaded contention when allocating/freeing blocks)
(and fix some oddball compilation errors in spu2-x in rare circumstances)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1987 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-08 19:26:57 +00:00
Jake.Stine 9b213aeffa SPU2-X: fix a memory leak that dropped a few Kbytes of memory on every suspend/resume (it's been there for ages too; SoundTouch object wasn't being deleted).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1983 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-08 11:58:56 +00:00
Jake.Stine eda5d1d834 Savestates work! Not much else does yet (settings, etc), but at least this monkey's off my back. I can work on tying up more loose ends now. :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1975 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-07 19:20:11 +00:00
Jake.Stine ed444cb876 More MSVC/Win32 buildsystem fixes: Made is so you can now optionally unload all 3rdparty libs (after building at least once!) and still build the rest of PCSX2 and plugins without linker errors. This is useful for reducing the memory overhead of working in the MSVC IDE, and reduces the size of the .ncb file and the bugs that come with it.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1969 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-06 01:52:22 +00:00
Jake.Stine b71b837efa Linux: Added more correct __asm__ qualifiers and conditions; including __volatile__ on a lot of asm code (it should really be the default behavior and non-vlatile the specifier, but whatever >_<), and added register clobber specifiers. Might help unbreak some of GCC 4.4's optimization problems, although VIFdma's uber-hack SSE optimization looks like a real problem.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1964 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-05 11:05:11 +00:00
Jake.Stine 6412271470 Renamed PCSX2_ALIGNED to __aligned and removed the need for excess parenthesis and oddball qualifiers. Left the old macros in Pcsx2defs.h for now, just in case. Redid some of the storage organization of microVU and iFPU consts and temporaries while I was at it, using structs instead of naked vars -- should improve cpu cache behavior a wee bit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1959 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-05 02:15:49 +00:00
Jake.Stine 8ba39b71de SPU2-X: Fix CDDA playback, which got broken a few revs back; and remove regression test code (ReadInput is pretty well confirmed to be good now, anything still broken is because of something else).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1951 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-04 08:47:43 +00:00
Jake.Stine 638740b53d Win32 build system:
* Re-enabled function-level linking in the shared properties sheets (applies to debug and devel builds, and is ignored in release builds).  Can't remember why it got disabled in the first place, but whatever errors it was causing seem to be gone now.
 * Removed the wxWidgets 2.9/3.0 copy of wxScopedPtr (wx/scopedptr.h), since we have a new superior implementation of our own.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1949 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-03 16:51:27 +00:00
Jake.Stine 910669f937 SPU2-X: Fixed some more major bugs and typos; most sound *should* be working again now. Added a hackfix for a crash in the BIOS cased by what *should* be correct handling of IRQAs.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1947 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-03 13:32:23 +00:00
gigaherz d386ce0ac6 Just a tiny cosmetic change in the plugin name string.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1946 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-01 15:24:28 +00:00
gigaherz bdb20ebe29 Unbreak Debug too.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1945 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-01 15:21:09 +00:00
gigaherz 4f19b1036d Fix error on release build.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1944 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-01 15:04:48 +00:00
gigaherz 0672d6c00b Remove custom settings from the vcproj which were already globally defined in the vsprops.
Fix a silly bug too, and silence a warning.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1943 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-01 15:01:15 +00:00
gigaherz 7dde0087ad Properly add the project stuff so it "fits" with the build system used on all the other plugins.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1942 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-01 14:21:40 +00:00
gigaherz 985dd97aad Whoops missed 2 files.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1941 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-01 14:21:00 +00:00
gigaherz c440e41859 Undo my little mess. Fix it next commit
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1940 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-01 14:20:18 +00:00
gigaherz b6a19e6b2c Bring in cdvdGigaherz (step 1).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1939 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-01 13:40:22 +00:00
arcum42 a45be47bea Fixed SPU2null.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1936 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-30 20:08:00 +00:00
Jake.Stine 03972b07de SPU2-X: Fixed a huge bug in my last commit that broke most everything except the bios -- Core indexes were set to -1 instead of 0 and 1 (heh). Also a Speedup: Switched to a lookup table for dispatching SPU hardware register writes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1933 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-30 05:35:37 +00:00
Jake.Stine 158b01b58d SPU2-X:
* Potential Bugfix: Core1's DMA IRQ trigger was being ignored in some instances; might fix some hangs.
 * Major code cleanups, using C++ structure member methods and functions.
 * Improved gui / plugin api / core emulation code separation -- hoping to switch to wxWidgets eventually.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1930 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-29 19:18:50 +00:00
Jake.Stine 93d4f5a39c GSdx: Force the plugin to terminate via PostQuitMessage() when running GSReplay (fixes bug where GSdx would remain loaded in the background indefinitely).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1923 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-28 11:13:40 +00:00
mattmenke c252b0f4df LilyPad: Default deadzone increased. Note that will only apply to new bindings, or ones from inis made before I added deadzone support. Hope it's high enough for most cases, but not high enough to break anything...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1920 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-26 18:21:57 +00:00
mattmenke c82cb222d7 LilyPad: Less sensitive (Higher pre-set deadzone) for copying analog state to d-pad state when in digital mode.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1919 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-26 18:06:39 +00:00
mattmenke 2193e5aec6 LilyPad: Fix for non-pressure sensitive buttons with dead zone < 0.0625 or so.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1918 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-25 19:34:59 +00:00
mattmenke ff60b3b882 LilyPad: Give "credit" where credit is due...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1915 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-25 10:20:32 +00:00
mattmenke 3a0ad40159 LilyPad: Experimental deadzone code. Old pressure sensitive button bindings must be rebound (DS3 buttons, XInput triggers).
Currently anything below deadzone is mapped to 0.  deadzone and above are mapped as if the control's true zero is 0 and 1/sensitivity is fully down (As opposed to deadzone being zero).  May change in the future.
Modified precompiled header to fix no-CRT build.
List of bindings noew automatically jumps to new bindings.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1914 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-25 08:36:42 +00:00
ramapcsx2 4a1b52a22a SPU2-X:
Just changed the config dialog a bit to prevent performance seeking users from disabling timestretching (and then posting threads about bad sound :p ).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1909 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-23 10:24:47 +00:00
mattmenke cd7f88aa73 LilyPad: Another pair of fixes for related bugs in the thread safety stuff. First could cause crashes when stopping/resuming/restarting emulation, second would cause devices to fail to restart properly (Or, more accurately, restart too early) when doing the same.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1906 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-23 05:19:17 +00:00
mattmenke cfaeb06c05 LilyPad: Quick fix to bug in the thread stuff from last update.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1905 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-23 04:37:15 +00:00
Jake.Stine 1c7719e0ec GSdx: Update delay load DLLs to match Aug2009 DirectX SDK (and yes you need the new SDK to build GSdx)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1901 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-22 00:49:02 +00:00
Jake.Stine fdbabaa11c Linux: Fix compilation errors and warnings. There's still a lot of new warnings in x86Emitter due to __forceinline being disabled in debug builds, but the proper fix for those will come later.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1898 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-21 09:48:31 +00:00
mattmenke fc623d0719 LilyPad: Reverted keyboard messages back to windows messaging.
New method of ensuring thread safety.  Device update code should always run in GS thread, even if the emulator really doesn't want to let me (Basically ancient versions of Pcsx2...Or any 3rd party emulators with their own version of MTGS).  Updates on PADpoll, PADkeyEvent, or PADupdate, if one is called in the right thread.  Updates in thread's WndProc otherwise.  Overkill, perhaps, but I prefer to keep things compatible.
Removed "Update in GS thread" option.
Windows Messaging/Raw Input keyboard event queuing should work a little better.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1896 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-21 00:24:04 +00:00
Jake.Stine 0f259e62d5 Implemented keyboard accelerator tables and a hashed global command table (should be ideal for eventual GUI extensions via plugin, and toolbars and other fanciness). Removed Pause menu and replaced it with a Suspend/Resume menu. Closing GS window behaves more nicely.
Projects: Removed FrameworkVersion descriptor, don't think it matters for C++ code.  Removed all translation files, since they're grossly out-dated and need to be remade anyway.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1894 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-20 20:54:45 +00:00
mattmenke 705ca3d92a LilyPad: "WM Keyboard" now actually uses GetAsyncKeyState(). Just simplifies some dependencies on the window thread. Note that WM Mouse and raw input still have those dependencies, and they can't really be worked around, unfortunately.
Also, just for kicks, made pausing while pressing "escape" check the pause button in the menu.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1891 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-20 10:48:22 +00:00
mattmenke 3cd9c4f2e2 LilyPad: Fixed not adding manifests in debug builds, removed them from CRTless build.
Removed the keyboard disabled option, as using two different pad plugins is really just a bad idea.  Also finally got sick of people saying "I have keyboard disabled, and the keys don't work!  I urgently need help!"
Also will no longer let you enter config mode (And thus crash the program) when emulator is running.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1889 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-20 04:14:40 +00:00
Jake.Stine beb2fd34db ZeroGS: Remove compiler errors under DXSDK Aug 2009.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1874 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-19 13:15:14 +00:00
Jake.Stine 1ca7d5ac95 GSdx: Fixes GSReplay renderer selection, and adds support for using -1 as a renderer (uses the GSdx configured renderer, but only works if the current working directory is set properly, otherwise the ini file won't be found).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1873 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-19 11:20:31 +00:00
Jake.Stine ac88159fb3 Reintegrated GSopen2 branch. Rundown of new features:
* Implemented proper shader management, fixes several bugs where video would be lost or crash, and is a small speedup.
 * Retains GS state across open/close, same as every other PS2E plugin now.
 * Implemented GSopen2(), which is used by wx-pcsx2 to bind the GS output to a window handle of pcsx2's choosing.
 * Retained full backwards compat with the current legacy gui. :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1871 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-19 08:51:11 +00:00
Jake.Stine f4cc055a7d GSopen2: synced with trunk, so that I can reintegrate. :)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GSopen2@1866 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-19 00:14:10 +00:00
Jake.Stine 851354eca3 GSopen2: Detect GSRenderer changes across GSopen/GSclose calls, and preserve the GSState at the same time. Also added proper window closure code, so that STGA mode (legacy gui only) doesn't cause the GS window to be frightfully sticky. >_<
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GSopen2@1864 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-18 23:48:12 +00:00
Jake.Stine 788489f517 GSopen2: Fixed legacy mode compat and STGS operation.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GSopen2@1862 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-18 22:13:40 +00:00
Jake.Stine 27af8d80ca GSopen2: Simplified the multithreaded and irq callback parameter passing scheme, and made them more "robust" so that they can be changed dynamically without the GS exploding (important with the new correct GSState preservation across open/close).
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GSopen2@1860 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-18 19:54:56 +00:00
Jake.Stine 73a39b012c GSopen2: Fixed a bug in gsdx where it didn't properly handle changes to the GS base register memory pointer.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GSopen2@1858 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-18 18:45:37 +00:00
gigaherz 0017eb5ca3 Small fix to remove an assertion in XAudio2.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1857 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-18 18:12:10 +00:00
Jake.Stine 667cf3b5c2 GSopen2: Added GLEW as a static library dependency. We decided it's small enough to merit being packaged with PCSX2's 3rdparty libs, and it fixes GSDX from needing GLEW32.dll.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GSopen2@1856 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-18 16:21:33 +00:00
mattmenke 504082f52d wxWidgets: Clicking on the sliders on the hacks screen now works.
Scroll rate is very inconsistent, but that's just wxWidgets doing what it does best (worst?)...
Also fixed a minor bug in LilyPad version labeling.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1853 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-18 10:18:56 +00:00
arcum42 8a1df8dbb1 Same changes to ZeroSPU2 & spu2-x's projects. ifdeffed out a few things in spu2-x.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1851 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-18 07:37:21 +00:00
mattmenke 8372c48285 LilyPad: Switched to using pre-compiled headers, just for kicks. Compiles significantly faster, though it's not exactly the limiting factor in batch builds.
Changed intermediate debug build directory, for consistency.
Added another LilyPad-only build option, to compile without CRT dependencies, as manifests are evil.
Finally nuked the VC 2005 project.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1850 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-18 06:58:48 +00:00
Jake.Stine e4c0dfb6d3 GSopen2: Fixed GSdx so that it complies with the implied intent of the PS2E plugin API, where GSopen and GSclose retain the current GS emulation state. This required a couple significant changes:
* Removed GSTextureFX classes
 * Built shaders right into GSState classes, using GSStateDX as an interface, so that all shader caches get auto-destroyed along with GSState.

In addition to being a bit of a code cleanup, it should be a bit more efficient too since all of the extra dereferences to GSState from GSTextureFX have been removed. :)

git-svn-id: http://pcsx2.googlecode.com/svn/branches/GSopen2@1849 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-18 00:16:52 +00:00
Jake.Stine e75043b91e GSdx: Fixed GSDialog so that it doesn't cause PCSX2 to minimize into the background when closing the config box.
PCSX2: Reloads plugins a little less often.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1846 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-17 23:49:39 +00:00
Jake.Stine 8de579954f GSopen2: Current status...
* Software mode seems to work fine.  Suspend and resume emulation work nicely, without flaws.
 * Hardware DX9 mode suspends but displays only black after resuming.
 * Hardware DX10 status is unknown.

git-svn-id: http://pcsx2.googlecode.com/svn/branches/GSopen2@1842 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-17 07:40:38 +00:00
mattmenke 323489147a LilyPad: Fix for some bizarre issue with wxWidgets involving property sheets, Microsoft, spec violations, and gremlins.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1838 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-17 05:14:25 +00:00
mattmenke 5b628d5045 wxWidgets: Hooked up plugin config menus in main window.
LilyPad:  Couple very minor string/menu changes, no functionality changes.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1837 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-17 03:25:02 +00:00
Jake.Stine a2d4144ce9 Linux: Fix some of the standard issue compiler errors that come with any changes. :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1836 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-17 02:12:32 +00:00
Jake.Stine c9c924fe35 Yay, craploads of fixups for the new gui:
* Lots of crashfixes and threading rules compliance (like using wxYield instead of ProcessPendingEvents)
 * Killed off some memory corruption
 * Better error handling and reporting
 * Much speedier suspend/resume during emulation
 * Revamped entire savestate system to use a RIFF-style file format (untested, will work on it soon)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1832 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-16 17:23:02 +00:00
mattmenke 77639783ea LilyPad: Minor improvement writing to DualShock 3 device - lights should generally be updated fairly promptly now, rather than depending on how/when the device is initialized. Also removed CRT dependencies, so the MSVC 2005 release build compiles again.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1826 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-15 00:38:50 +00:00
mattmenke 0573f39157 LilyPad: DS3 tilt support. Why? Because it's there. Can't think of a sane use for it, though.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1822 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-14 11:34:53 +00:00
mattmenke 046e10b1a9 LilyPad: Force feedback threading fix. DualShock 3s initalize much more nicely.
Still have issues with DS3 rumble - looks like only one motor can be enabled per communication (Otherwise, always lose connection to the device and have to re-enable it), and enabling one kills the other.  Not sure what to do about this, currently just flip between the two.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1821 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-14 10:30:50 +00:00
Jake.Stine de0442321f Linux: Fixed compiler errors from my prev commit, along with a few verbose warnings and a compile error in SPU2-X. (note, moved Linux's define of SVN_REV macro to PrecompiledHeader.h for now, until a proper solution is implemented)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1819 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-13 20:56:22 +00:00
arcum42 f72c913c4b Fix a few Linux things.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1816 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-13 06:13:22 +00:00
mattmenke c1f8444fe1 LilyPad: DS3 no longer disconnects when vibrating. Partial workaround for a DirectInput threading issue when vibration is triggered at the same time devices are being added/removed - probably do something better at some point. Some other DS3 related changes - change names of some controls, increased sensitivity of boolean buttons values to more closely match the DS3 as well. Poorly calibrated analog axes bound to the d-pad (Or buttons) may cause issues.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1815 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-13 04:55:58 +00:00
mattmenke 3bb0846264 LilyPad: Fixed DS3 motors being flipped, setup default motor bindings on creation, and reduced delay to make sure pads have been initialized when testing force feedback (Probably get rid of it all together once I implement a workaround).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1811 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-12 13:23:16 +00:00
mattmenke 73cace2e54 Highly experimental DS3 support added. Use newly added features at your own risk. Requires libusb installed and DS3 set up as per instructions at http://forums.pcsx2.net/thread-7582.html. Doesn't require sixaxis64.exe/sixaxis.exe, but might have to fool around with starting/stopping Pcsx2 or LilyPad's test device screen and the PS button on your controller until the "1" light turns on.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1810 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-12 13:10:17 +00:00
Jake.Stine b638f52809 Re-ordered the MSVC folder structure to split PCSX2 into two definitive sections: [App]Host and [Emu]Core (the bracketed names indicate the "long" versions which are generally used in the code to differentiate the functions and classes). If the tentative layout is good then I'll sort the files on SVN to match that layout.
(note: Patch.cpp/Patch.h is still the odd child out in this commit, as it's destiny is to become a plugin)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1804 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-12 02:58:22 +00:00
arcum42 f02c04cb3b Added more plugin project files.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1799 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-09 11:28:57 +00:00
mattmenke c6a33eb2f0 May or may not fix certain failure to bind issues. May or may not cause issues in canceling binding when using mouse/keyboard to navigate the bind window when the corresponding mode is set to disabled. May or may not result in Armageddon. Probably not. I hope.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1795 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-09 05:13:31 +00:00
arcum42 e03e8bff40 Fixed Linux up to compile in codeblocks again. Added Onepad plugin project file.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1790 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-08 21:41:46 +00:00
Jake.Stine 4b4422d2dc * Better icon! Transparency in Windows Taskbar icon is still bad, but I can't figure out how to fix it (documented in code)
* Cleaned up the code of the Gamefixes a bit.
 * More svn:native props -_-

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1788 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-08 16:39:37 +00:00
Jake.Stine d2fbb22076 Upgraded PCSX2 core and utilities to GPLv3.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1783 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-08 12:08:10 +00:00
Jake.Stine 50446e6930 * Added preliminary keyboard support back in (probably doesn't compile in linux)
* Fixed a deadlock in thread cancellation.
 * Muted some folder warnings when running pcsx2 for the first time.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1778 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-07 21:16:12 +00:00
Jake.Stine fbae183dcc Linux: Remove code::blocks layout files (those are client/user files, not intended for svn).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1775 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-07 13:43:44 +00:00
Jake.Stine aa3d448c97 Linux: Using Code::Blocks Custom Compile option to generate embedded resources now. :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1774 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-07 13:40:16 +00:00
arcum42 19eaebe9be Created project files for all the null plugins, and added them to codeblocks.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1771 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-07 04:56:31 +00:00
Jake.Stine 43d9aef534 wxgui: sync with trunk (microVU + ee loadstore cycles + improved plugin logging).
* Fixed crash on exit, caused by logging.
 * Updated versioning in main window and console.

git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1751 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-06 05:21:07 +00:00
Jake.Stine b422809d6e wxgui: my excitement in getting a game to run for the first time in months clearly has shattered my ability to commit.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1748 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-06 00:42:24 +00:00
Jake.Stine c1a818386f wxgui: removed dependency on afxres.h, added resource/manifest versioning info to w32pthreads.v2.dll, and fixed a compile error.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1746 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-05 23:46:08 +00:00
Jake.Stine bfdb469347 SPU2-X: Minor cleanups and updated DLL/resource versioning info (which never got updated for v1.2, oops)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1740 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-05 01:05:47 +00:00
ramapcsx2 00e1ac1cfb SPU2-X:
Fixe the dsp (winamp plugin) crashes. Thanks to Gigaherz for this one, too :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1739 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-04 22:39:21 +00:00
ramapcsx2 f06998808a SPU2-X:
5.1 support is back!
Currently for XAudio2 only, and it's not doing much (Simple copy of the stereo source to the other speakers).
Gigaherz is already working on a nice, semi - prologic II upmixer though ;)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1738 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-04 22:15:02 +00:00
arcum42 dbeeca16a1 Might as well copy some register code from GSdx to GSnull, so I have a starting place on register handling in it.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1733 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-03 23:57:59 +00:00
Jake.Stine 396783957e wxgui:
* synched with trunk to pick up all new cdvdiso fixes.
 * configuration wizard now starts if pcsx2.ini is missing/deleted.
 * changed GetWindowChild (MSW specific?) to FindWindow.

git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1696 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-28 13:06:06 +00:00
mattmenke b5264ca7c9 LilyPad: Added setupapi.lib to release build. Was already correctly linked in debug.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1681 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-26 01:49:43 +00:00
mattmenke 143b2f63d3 LilyPad: bugfix that should (hopefully) make it more difficult to accidentally bind an entire axis. May make issues with devices incorrectly reporting initial state worse.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1679 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-25 12:05:08 +00:00
mattmenke 5558ceafb3 Some preliminary HID code that I may or may not build off of.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1673 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-23 03:15:42 +00:00
arcum42 44bb5cdbb5 Odds and ends. Various defines involving vif->stat are now enums, and are now used in various places. Added a new file to GSnull. Moved the new Vif functions to Vif.h.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1670 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-22 09:52:00 +00:00
Jake.Stine 68188a1fe2 wxgui: Changed the method of usermode storage so that it doesn't violate /program files permissions; plus some minor bugfixes/cleanups.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1665 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-21 04:44:47 +00:00
Jake.Stine e25db2a0ba wxgui: sync with trunk (boooring)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1660 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-20 16:19:33 +00:00
ramapcsx2 dc4f05d7c2 GSdx:
Initial pixel offsetting support via gsdx.ini.
Use pixoff_x = somevalue and pixoff_y = somevalue.
This can be used as a workaround for the various upscaling errors :)

Try these values for Takes of the Abyss for example:
pixoff_x=-8
pixoff_y=-8

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1650 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-19 01:08:40 +00:00
ramapcsx2 5b1700f98d Fix a foopah, and get rid of the useless imdct warning.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1644 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-17 10:36:53 +00:00
gabest11 de2d3603a0 GSdx: corrected recording code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1637 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-16 16:45:26 +00:00
ramapcsx2 7a36e448c9 GSdx: Fix for the bad colors when capturing.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1636 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-16 13:46:50 +00:00
ramapcsx2 2dc77cd128 GSdx:
Re-enabled capturing via F12 key. It was missing the callback entirely.
The videos I capture here turn out all blueish though. No idea why :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1635 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-16 11:35:30 +00:00
gabest11 b44e6fcb8a doh, so many missing files
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1619 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-12 22:47:48 +00:00
gabest11 0d40e9963e vs2010 project files for pcsx2 (plugins later)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1617 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-12 22:11:06 +00:00
gabest11 3bd8037573 GSdx: fix for transparent walls in kingdom hearts (or anything else that sets AA1 with ABE off)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1611 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-07 21:11:27 +00:00
mattmenke 3cbd298cff LilyPad: A number of small fixups.
DirectInput devices corresponding XInput devices should be listed as "[Detached]" when XInput is enabled.  No idea if this works, as it requires an XBox 360 controller to fully test.
FF Axes now sorted, rather than being displayed in the order MS returns them.
Small motor DirectInput binding now correctly displays "Square" effect type in list when first created.
Attempt to more accurately model "soft" vs "hard" presses.  Don't have a game where this matters, so no idea if it works.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1607 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-06 04:50:55 +00:00
Jake.Stine 3544bcd118 wxgui: maintenance sync with trunk.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1604 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-04 13:34:52 +00:00
gabest11 3435ca8b74 GSdx: fixed the crash when booting through the bios
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1600 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-03 11:01:36 +00:00
gabest11 570e4ce85e GSdx: fixed dx9 + msaa=0
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1598 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-03 00:17:35 +00:00
gabest11 cea0f395aa GSdx: experimenting with msaa, add msaa=N to gsdx.ini to activate it (N=2,4,8)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1597 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-02 23:07:30 +00:00
Jake.Stine 37b63f8a0c Zeropad/Win32: Make what appears to be a fairly significant bugfix, for what it's worth.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1596 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-02 18:46:39 +00:00
gabest11 3f4f3db3e6 GSdx: little code cleanup
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1591 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-31 23:59:06 +00:00
ramapcsx2 a0828bc8f9 GSdx:
- Trippled the number of cached textures, many games constantly recreated them
- Don't clear some shaders at each drawcall (in dx10) , which is a nice speedup (but could potentially be bad, please check..)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1584 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-30 00:21:33 +00:00
Jake.Stine 71490981bf wxgui: synced with trunk, and started work on an improved plugin initialization procedure. (branch currently does NOT compile, sorry)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1582 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-29 14:00:00 +00:00
gabest11 cc3130660a GSdx:
- Automatic texture filtering should be ok now, occasionally point filtering was used. Tested it on the ps2 and figured with no mip levels LoD and minification settings are just ignored altogether.
- Also run a few tests on the gather instruction with the reference rasterizer and found a fatal flaw with it. It returns the four samples for bilinear sampling (in a funny order, which isn't documented of course, x = bl, y = br, z = tr, w = tl), but there is no way to guess which four were selected exactly. Due to some hidden rounding error it might grab different texels than I would when calculating the position of the upper-left texel, of which the fractional part is be used for the interpolation. When the texel positions do not match it leaves annoying discontinuity errors. Oh well...

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1571 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-26 15:30:25 +00:00
gabest11 4eaa5265df Added vs2010 project files for xpad and CDVDolio, too.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1565 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-24 12:54:54 +00:00
gabest11 319782cf39 GSdx: just updating vs2010 project files
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1564 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-24 09:24:09 +00:00
Jake.Stine 3751c928d3 wxgui: synced with trunk (to acquire new CDVD/ISO api)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1558 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-23 14:58:17 +00:00
ramapcsx2 0b6ed4bc15 GSdx: Disabled requesting of thread safe D3D devices. This is a speedup, and we shouldn't need the safety.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1553 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-22 19:04:48 +00:00
gabest11 3599acc618 GSdx: ffxii fmv works again and even less bogus
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1552 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-22 14:28:14 +00:00
gabest11 3a569dba23 GSdx: disabled "gather" until I can sort it out
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1551 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-22 12:23:58 +00:00
gabest11 83b15dbac0 GSdx:
- trying the dx10.1-only "gather" shader instruction for palletized lookups ("8-bit texture" mode), saves 4 instructions which isn't much but still... (not tested, don't have ati)
- may fix the intel gma "no output" bug (don't have gma either :P)
- and the usual small code optimizations


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1549 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-22 03:55:28 +00:00
gabest11 4a7304d6f7 GSdx: added ltrapper's modifications.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1538 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-17 23:45:32 +00:00
gabest11 e58776e095 GSdx: just squeezing a few more fps.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1534 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-16 21:36:07 +00:00
gigaherz de976b8234 Remove the bool from the GS exports, as Jake said.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1531 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-16 12:38:42 +00:00
Jake.Stine 657660371c wxgui: Fixed crash-on-exit problem in Release builds and made the console logger thread-safe (uses messages instead of direct wxFrame method invocations).
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1529 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-16 09:58:17 +00:00
gigaherz 63a01f76ac Matsuri sent me a cleanup of his previous patch. No changes in functionality.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1528 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-16 03:34:30 +00:00
ramapcsx2 258dc05529 Plugin interface / GSdx changes that binds the GSdx vsync option to the pcsx2 framelimiter.
This patch by matsuri makes playing with vsync a lot nicer, so thanks for that one ;)

Note: For now its directx 10 only, due to dx9 needing a swapchain reset..

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1526 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-15 19:44:06 +00:00
ramapcsx2 fadea3d7bb SPU2-X: Just the version update
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1517 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-15 14:07:42 +00:00
gabest11 aa438a6b73 GSdx: game fixes and small optimizations
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1495 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-12 13:46:05 +00:00
ramapcsx2 f166306276 SPU2-X:
Fixed a problem in volume slides that caused them to update way too slow.
Music in Ys 6 works again.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1490 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-11 23:46:34 +00:00
arcum42 192f602ae7 Fixed up the Linux build. A couple minor OnePad changes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1487 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-11 17:21:23 +00:00
Jake.Stine 3c195e9f9a wxgui: more of the slowly progressing.
* Implemented internationalization (i18n) framework.
 * Made a pretty configuration dialog box!
 * Many minor bugfixes.
 * Removed most of the old Win32 and Linux/GTK gui code because it was causing gettext cataloging to grab about 500 non-relevant strings (can always reference trunk for them anyway).

git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1484 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-11 08:31:38 +00:00
arcum42 b0861c6d81 OnePAD: All around my hat...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1482 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-10 06:07:32 +00:00
arcum42 cae05180f5 Onepad: Added a clear all button, and did some work on the backend.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1481 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-10 00:05:05 +00:00
ramapcsx2 629950a1fa GSdx: New default settings, to avoid common mistakes and problems.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1479 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-08 16:15:33 +00:00
gabest11 af643a38b2 GSdx: 4 bit local-local transfer crash fixed (shadow hearts)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1476 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-07 13:04:56 +00:00
gabest11 a7ce451167 GSdx: couple of fixes for the new palletized lookup mode
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1475 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-07 10:57:04 +00:00
gabest11 90e7944577 GSdx: the new option was accidentally linked to vsync, they got the same control id.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1473 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-06 18:09:31 +00:00
gabest11 f9f056d581 GSdx: fixing/breaking things again... palletized texture lookup can be done by pixel shader now (selectable, off by default), if you have a fast card it may help with texture heavy games, otherwise it is only going to be slower.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1472 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-06 16:35:06 +00:00
gabest11 f24be5c352 GSdx: a few games fixes (one piece grand battle, xenosaga 1, chikyuu boueigun 2)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1469 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-05 12:58:59 +00:00
gabest11 fad91c7ebf GSdx: got rid of that bogus multiple inheritance, it just didn't feel right
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1468 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-05 00:18:33 +00:00
gabest11 2ed180d7c0 GSdx: last commit broke the sw renderer, the compiler seems to misalign the "this" pointer for member callbacks when two base classes have virtual destructors at the same time (or just virtual members, didn't test it).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1467 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-04 23:52:58 +00:00
gabest11 ae62a56cc1 GSdx: more leak cleanup
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1466 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-04 22:54:57 +00:00
gabest11 6eed14ae75 GSdx: fixing the (texture) memory leak
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1464 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-04 17:37:06 +00:00
gabest11 4c76909afe GSdx: small optimizations and tried to fix that dx9 fullscreen alt+tab crash
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1463 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-04 15:14:04 +00:00
Jake.Stine 2a5a32d359 GSdx: Fixed crash when minimizing GS window and alt-tabbing out of fullscreen.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1462 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-04 11:43:05 +00:00
Jake.Stine fb6a8939b0 wxgui: Moved some more files around in Common/Utilities, and merged against trunk.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1460 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-03 20:48:11 +00:00
arcum42 d82c3653ce WIP: Zeropad fork. This is intended more as a backup copy so I have a good copy to work from then as a release. As such, while it works, the gui is glitchy, the Windows port is non-existant, and a lot of things are subject to change...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1457 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-03 11:45:47 +00:00
Jake.Stine c13cc555be A couple minor compiler warning fixes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1455 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-03 01:06:53 +00:00
Jake.Stine da691894c3 wxgui branch: Maintenance merge against trunk, plus many cleanups and project-level changes.
* Moved the x86 emitter to /common, so that plugins can link against it if they wish.
 * Created a new "utility" class in /common which houses string utils, fast memcpy, common exception classes, and other handy dandies.
 * Removed old-style linux automake files from the pcsx2 dir since they were hopelessly out of date (and their multi-file-per-line format makes svn merging impossible >_<)

git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1454 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-03 00:49:40 +00:00
gabest11 ba5823b144 GSdx: added a few CRCs
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1451 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-02 16:05:03 +00:00
gabest11 7ddbaa6cb0 GSdx: the valkyrie profile 2 fix
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1450 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-02 00:47:50 +00:00
gabest11 c68802a334 GSdx: dq8 fix
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1448 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-01 22:29:24 +00:00
gabest11 5a292d202d GSdx: couple of fixes
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1447 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-01 21:14:12 +00:00
gabest11 7c2e51157e GSdx: dx9 texture uploads should be at least as fast as before
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1442 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-28 02:02:14 +00:00
gabest11 8abcc6dab2 GSdx: fixed a crashing in the previous revision, dx9 slowdown problems will be addressed later
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1440 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-27 19:05:36 +00:00
gabest11 7bb9a3cc25 GSdx: changed a lot of things, expect new bugs :P
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1439 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-27 03:32:33 +00:00
gabest11 c1fc72a634 GSdx: small fixes to the last commit
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1426 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-23 12:33:30 +00:00
gabest11 b284fae2d5 GSdx: moved around some code and optimized texture caching a bit, there may be a slight speed-up in hw mode for those games that use many textures.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1425 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-23 04:12:32 +00:00
Jake.Stine c1dbdd7b62 SPU2-X: Upgraded license to the LPGLv3; and changed some #ifdef mess to #pragma once.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1419 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-21 11:00:53 +00:00
arcum42 bd093b41bd Recursive inlining appears to be driving gcc to drink, or at least, to use up all available system memory trying to compile microVU.cpp and then failing. :(
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1418 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-21 10:26:56 +00:00
Jake.Stine 101dbdd132 SPU2-X: *Really* fix compat with older versions of pcsx2 this time (0.9.4 and prior) >_<
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1415 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-21 08:24:17 +00:00
gabest11 5f45219eb9 GSdx: fixes for ffx2 menu
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1412 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-20 20:28:36 +00:00
gabest11 69e3dcfa63 GSdx: everything should be back to normal now
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1406 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-19 20:43:08 +00:00
gabest11 191a3d0c7e GSdx: another useless revision...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1405 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-19 20:31:36 +00:00
gabest11 6ef94cc707 GSdx: ignore this...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1404 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-19 20:24:18 +00:00
gabest11 df8c611084 GSdx: trying to fix gaps between sprites that may still appear with d3d in native res
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1402 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-19 13:03:59 +00:00
gabest11 7ad2d919b8 GSdx: removed the last bit of mfc dependency from cdvdolio
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1398 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-19 00:11:56 +00:00
Jake.Stine bc1b84295f Improvements to the new installer project:
* installer automatically includes all three SSE build targets for GSdx (each built target needs to be built manually prior to building the installer).
 * Fixed some typos and abbreviated install paths from "PCSX2 Team/PCSX2" to just "PCSX2".
 * Added an "SSEtype" user define to GSdx's property sheets, which is used to generate the SSE postfix on the DLLs automatically. (ie, GSdx-SSE2.dll, etc).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1397 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-18 20:44:20 +00:00
arcum42 91be7889e2 Suppose I should do something about the configure.ac files and _DEBUG, as well.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1390 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-18 09:58:56 +00:00
arcum42 816e39851a Linux: Quick fixes to get the Linux build working with the changes in r1388.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1389 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-18 09:32:35 +00:00
Jake.Stine b974b815ff Major Build System changes:
* Changed w32pthreads library into a DLL so that it can be used from plugins correctly. (NOTE: you will need to make sure to build and copy w32pthreads.dll into your pcsx2 folder).
 * Switched pcsx2 from static CRT to shared CRT linking (needed to ensure correct exception handling behavior in multithreaded DLL environments).
 * Switched all standard plugins in the Suite to the shared CRT, to match pcsx2's new style. :)
 * Renamed _DEBUG (depreciated) to PCSX2_DEBUG (excluding Gabest projects since the ATL still uses it).
 * Added intrin.h to Pcsx2Defs.h (so that it is included universally), and added intrin_x86.h for GCC compatibility.

Notes:
 * Current plugin version compatibility status should be unaffected.  The new shared-CRT plugins work fine with older versions of Pcsx2, and the older plugins should work fine with the new shared-CRT version of pcsx2; so long as the necessary CRT DLLs are available on the user's system.
 * All future packagings of pcsx2 will include w32pthreads.dll and the Common Runtimes (CRTs).
 * Existing users who do not have MSVC installed can obtain the CRTs by downloading the Microsoft Visual C++ 2008 Redistributable Package (anyone with msvc installed should already have all they need).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1388 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-18 08:20:19 +00:00
gabest11 af0b33c7b5 GSdx: minor fixes, ar tonelico 2 shadows in sw mode, lamune palette problems in hw mode
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1384 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-18 01:07:28 +00:00
gabest11 1845c3cc38 GSdx: just updating the vs2010 project files...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1378 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-17 15:18:12 +00:00
gabest11 caa7a5dffd GSdx: forgot to disable opengl code, glew32.dll isn't needed yet but cannot be delay loaded
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1376 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-17 11:36:24 +00:00
gabest11 8e979f1b96 GSdx: moved 16 bit texture processing from gpu to cpu, with the pixel shader it was either incorrectly done or too slow, please check what got slower/faster or broken :P
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1375 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-17 11:24:42 +00:00
gabest11 d1c7d2f1a6 xpad: fixed a crash that happened when subclassing an opengl window, also got rid of mfc.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1373 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-16 02:28:43 +00:00
gabest11 48eae0c907 GSdx: more opengl code, please review, I have no idea if it done the right way ^_^
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1372 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-16 01:42:08 +00:00
Jake.Stine c60095f6b0 GSdx: Fixed Software-mode crash on Escape/Exit, caused by a couple destructor race conditions. (C++ destructors and thread safety are fickle beasts that like to claw each others' eyes out)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1371 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-15 23:21:17 +00:00
Jake.Stine 674ac75d6a GSdx: Minor bugfix for DoMerge encountering a NULL pointer in rare cases.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1369 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-15 20:15:17 +00:00
Jake.Stine 136716a4f5 SPU2-X:
* Fixed crash problems when using SPU2-X with old versions of Pcsx2 (0.9.4 and prior).
 * Fixed broken Device specification override (the device GUID wasn't being loaded from the INI).

Pcsx2:
 * Added ThreadAffinity stuff to the CPUSpeed detection.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1368 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-15 16:44:26 +00:00
arcum42 b9cb1d3a59 Delete a stray file that's automatically regenerated every time you build ZeroGS anyways...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1365 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-14 09:56:42 +00:00
arcum42 deae0ce1a6 Linux: Experimental - Add a alternate, more flexible, build script written in Ruby.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1364 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-14 09:41:33 +00:00
gabest11 359c596bd8 GSdx: added missing glew32.lib reference
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1363 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-13 22:31:12 +00:00
gabest11 690ef417b1 GSdx: replaced switch with ifs in the shaders, kingdom hearts should be fixed
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1362 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-13 19:41:34 +00:00
gabest11 693bb3bdce GSdx: added ogl/cg to the list of delay loaded dlls
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1361 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-12 19:39:54 +00:00
gabest11 5736bbd449 GSdx: looking for an opengl guru...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1360 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-12 19:09:17 +00:00
gabest11 6841f7fd98 GSdx: that damned different pixel center of dx10... this one should fix the screen edge and other strange artifacts that appeared in non-native resolution.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1357 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-11 09:27:59 +00:00
gabest11 bd229032c0 GSdx: fix for genji
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1355 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-11 00:08:23 +00:00
gabest11 4e20305fe2 GSdx: dx10 hw mode sharper again
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1354 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-10 17:03:23 +00:00
gabest11 b678bb129c GSdx: texture filtering checkbox fixed, changed texture lookup a bit, removed more unused code
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1351 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-09 10:13:28 +00:00
gabest11 4ed3035661 GSdx: pixel shaders were reorganized, things might be broken :P
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1341 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-06 17:53:34 +00:00
Jake.Stine 95ff8e3a98 GSdx: Applied normalization of UV in the DX9 texture repeat shader, allowing it to be re-enabled. Fixes massive slowdown in the Xenosaga 2 opening menu (Issue 262 / DX9 only) [note: collective fix uncovered by sudonim, feal87, and drk||raziel -- I'm just the patching boy]
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1340 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-06 11:00:30 +00:00
gabest11 8784c1cd43 GSdx: added vs2010 project files
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1339 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-06 10:17:07 +00:00
gabest11 743e93f3ee GSdx: should fix Issue 263, but I could not verify it
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1338 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-06 10:11:22 +00:00
gabest11 01d1573fdc GSdx: cleaned up some obsolete code
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1331 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-05 15:15:02 +00:00
Jake.Stine 3f97423a30 GSdx: Found three other instances of CComPtr that could be removed. (DX9 only)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1330 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-05 12:33:07 +00:00
gabest11 e9ad2ffe7b GSdx: added post build step
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1322 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-04 09:30:35 +00:00
gabest11 7ee6eefb68 GSdx: config dialogs disable unrelated controls again
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1320 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-04 08:32:31 +00:00
gabest11 b792d0c50b GSdx: escape/resume fix
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1314 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-04 00:15:05 +00:00
gabest11 db8feac8c3 GSdx: the BeginScene/EndScene optimization for dx9 (Issue 256)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1312 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-03 22:45:28 +00:00
Jake.Stine 02167e90b3 GSdx: Streamlined several instances of CComPtr use in the Shader caches, as it was causing general slowdowns due to internal reference counters. Gives fairly significant speedups (6-15%) across most games and both DX9 and DX10 alike.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1311 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-03 19:22:50 +00:00
gabest11 ffda8ead30 GSdx: mfc-free
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1310 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-06-03 12:09:04 +00:00
arcum42 187dffc5f4 Zeropad: Fixes a minor mistake in r1286.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1294 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-30 12:11:21 +00:00
arcum42 e384d001da Zeropad: Windows is back to compiling, though the config dialog is still broken.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1288 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-29 08:39:32 +00:00
arcum42 71480b3124 Zeropad: A bunch of refactoring and cleanup. The Windows port probably won't compile right now.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1286 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-29 06:33:56 +00:00
gabest11 65b90bce83 GSdx: there was a bug in unaligned 4/8 bit transfer, small texture glitches may be fixed (simpson game, car logos in gt4).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1285 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-29 06:26:46 +00:00
gabest11 4bc698d698 GSdx: just fixing slow texture uploads with dx9... (odin sphere back to 40-50 fps)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1279 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-28 02:57:01 +00:00
arcum42 e8ae911664 Linux: Hack microVU into the Gui.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1275 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-27 13:10:43 +00:00
gabest11 3e12966919 GSdx: Even more alpha test voodoo magic, it must be nailed now!
And there is even an explanation. 

The tfx functions calculate At * Af >> 7, which means modulating by 0x80 should return At as the result. 

With the evil floating point pixel shader however 0x80 translates to 128/255 (0.502), not exactly 0.5, modulation as At' * Af' * 2 (' means 0 - 1.0 range) is not the same as with integers.

At' = Af' = 0.502
At' * Af' * 2 = 0.504

If the alpha test happens to be "not equal to 0x80", then abs(0.504 - 128/255) < 0.5/255 will just miss.

Solution is to re-scale those values to the integer range, do the calculations, and then back to float again, but in the end it just simplifies down to At' * Af' * 255/128, doh...

At * Af >> 7 => ((At' * 255) * (Af' * 255) / 128) / 255 => At' * Af' * 255/128

At' = Af' = 0.502
0.502 * 0.502 * 255/128 = 0.502 (w00t!)


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1272 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-27 05:55:32 +00:00
gabest11 6c58f3039a GSdx: bit more work on the vertex buffer, and broken ffxii fmv fixed again.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1266 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-26 03:40:31 +00:00
arcum42 bd9886b332 Zeropad: Yes it's a bunch *more* cleanup work on Zeropad.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1256 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-25 01:59:17 +00:00
arcum42 7519fb8113 Some quick fixes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1252 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-24 04:34:23 +00:00
arcum42 08d3360376 ZeroGS: Strictly in the interests of maintainability, I'm moving these functions to a separate file.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1251 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-24 00:31:46 +00:00
gabest11 081006bcbe GSdx: dx9 hw mode got a vertex buffer too (as dx10), it was an old TODO...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1250 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-23 23:52:53 +00:00
arcum42 20f0e52a1a Zeropad: All around my hat...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1249 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-23 23:07:53 +00:00
arcum42 f1be4728ba Zeropad: Fix a glitch in the new esc code, and the hat code should not save in the same spots as the axis code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1248 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-23 22:20:16 +00:00
arcum42 ecfed766cd ZeroPad: Refactor a bunch of code. Escape now sets the key value to 'Unknown' when configuring. Work some more on the hat code (still disabled).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1245 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-23 11:57:28 +00:00
arcum42 fea158f392 PadNull: A bit more work on the Windows side.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1244 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-23 06:50:10 +00:00
arcum42 a180b105d3 PadNull: It compiles in Windows. (It does not pass key events, such as escape, though, so should not be used yet.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1243 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-23 06:11:48 +00:00
arcum42 47bc9722d4 GSnull/PadNull: Add a null Pad plugin (Currently Linux only). Fix up GSnull on the Linux side.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1242 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-23 05:15:03 +00:00
gabest11 8d119f3928 GSdx: more source cleanup and something interesting on F7
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1239 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-22 23:23:38 +00:00
arcum42 82f0143d23 GSnull: Modularise things a bit more, so we don't have a bunch of platform-specific code in the main code. (Note: the Linux side hasn't been tested yet. I'll be doing that a bit later.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1238 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-22 02:29:01 +00:00
arcum42 f9cf905155 GSnull: Make it work better with Windows and LilyPad.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1237 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-22 01:49:39 +00:00
gabest11 3b22adc4b3 GSdx: converted a few template classes to pointers and virtual functions, the dll got more than 100k smaller, since there were many changes, backup your old version first :P
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1236 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-22 01:22:52 +00:00
arcum42 b1fd826954 GSnull: Update the GifTransfer code. Start to add keyboard code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1234 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-21 22:19:54 +00:00
arcum42 7922f33f4f Minor variable type changes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1233 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-21 21:12:01 +00:00
gabest11 2aec2318cc GSdx: found a compiler def for stl that removes a lot of iterator checks in the release build.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1228 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-20 21:22:37 +00:00
gabest11 09ee76d9ed GSdx: optimized local-local transfer a bit, it boosts fps in games like ffxii or ico, which do a lot of moves in local memory.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1226 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-20 15:35:31 +00:00
gabest11 5f392aba63 GSdx: now I think only the window classes of mfc are left to be replaced (main window, config dialog), trying to get familiar with wx...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1219 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-18 11:08:04 +00:00
arcum42 1a53f45b2c Some work on variable type consistancy, and getting rid of 64 bit processor checks.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1214 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-17 21:57:24 +00:00
Jake.Stine e93b101f49 Cleanup: Moved some rather intrusive instances of global namespace pollution in Sio.h into a new sio_internal.h, so that the rest of the world doesn't have to ensure the pain of having BREAK and RTS macro'd to integers. ;)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1198 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-16 00:43:46 +00:00
gabest11 b535039ee7 GSdx: blur removal works again
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1194 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-15 21:07:58 +00:00
arcum42 fc7bc70cfc Linux/Plugins: I left this out at some point...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1193 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-15 19:45:34 +00:00
gabest11 441aee367e GSdx: fixed a few more typos in GSVector4i, the black screen bug should be gone
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1192 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-15 11:11:26 +00:00
gabest11 a1507e6044 GSdx: this should fix d3d9 mode and the aspect ratio bug
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1191 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-15 07:48:51 +00:00
arcum42 667581e4be Linux: Fix focus problems with various dialogs when hitting escape, and hook in dev9's dialog box.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1190 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-15 07:02:51 +00:00
arcum42 5615929ce3 Linux: Work on dialog boxes for a bunch of plugins. mostly null plugins. Not finished, by any means, but this seemed like a good commit point.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1189 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-15 06:08:35 +00:00
arcum42 fde4685f77 GSnull: A bit more work on the gif transfers.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1186 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-15 01:57:00 +00:00
arcum42 c671bba45a GSnull: Add some Gif Transfer code from pcsx2 (not currently hooked in).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1185 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-15 01:06:59 +00:00
arcum42 5b4935dd86 Zeropad: Archiving some hat work. Still disabled and buggy, but I want to be able to revert back here if neccessary.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1184 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-15 00:42:05 +00:00
arcum42 bddfd67bae Minor tweaks here and there. Removes a couple compiler warnings, adds in a -m32 flag I missed, and updates the Makefile a bit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1183 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-14 21:50:03 +00:00
gabest11 bdedc325a8 GSdx: just fixing the typos...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1182 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-14 20:44:17 +00:00
gabest11 5648d07b96 GSdx: more refactoring (aka search and replace)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1179 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-14 16:41:52 +00:00
gabest11 29d11c8137 GSdx: small fixes
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1171 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-11 21:10:08 +00:00
arcum42 6083e3a643 Linux: Add -m32 to the compiler flags of pcsx2 and all plugins.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1169 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-11 10:44:12 +00:00
gabest11 d3547e0662 GSdx: trying to get rid of windows dependencies, still many classes to replace :P
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1168 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-11 08:18:00 +00:00
arcum42 25090899ce Zeropad: Experimental. Enable analog key controls in Linux. Currently does not work well if you also have actual joysticks set up as analog controls.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1165 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-10 05:57:57 +00:00
arcum42 ae975a354e Zeropad: More cleanup, and some incomplete work on the POV code, which looks like it was only halfway implemented.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1164 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-09 22:44:06 +00:00
arcum42 05867d69cb Zeropad: Add analog.cpp & analog.h.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1163 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-09 20:07:54 +00:00
arcum42 0b23b77051 Zeropad: Continuing to do some cleanup.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1162 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-09 20:06:57 +00:00
gabest11 6ea395be4b GSdx: optimizations here and there
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1161 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-09 08:37:02 +00:00
arcum42 e10ca2ba49 All right, this version of GSnull doesn't assert, and if you finagle enough with LilyPad's settings, you can get the keyboard to work (but not a gamepad). Occasionally causes the pad plugin to close on starting emulation.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1160 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-09 00:03:27 +00:00
arcum42 85c8e4c4af Mostly port the GSnull plugin to Windows. Currently asserts on startup in Windows about GSirq not being null. (Though it works if you hit ignore.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1158 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-08 22:40:56 +00:00
arcum42 a80dfabca8 Initial commit of a new null plugin, GSnull (Linux only until I get around to porting it). Yes, it's just what it sounds like; running the pcsx2 without any graphics. May be useful under somewhat bizarre circumstances. :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1156 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-08 12:58:57 +00:00
arcum42 0005b749b5 Zeropad: fix minor typo in previous commit that got copied and pasted several times.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1150 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-07 23:49:12 +00:00
arcum42 a0a4abdcc1 Zeropad: Break up linux.cpp into multiple files.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1149 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-07 23:37:57 +00:00
gabest11 c64691811a GSdx: 3.4.9. Texture Function => Decal/TCC=RGB: Av = At (gs_user v3 and v5) or Av = Af (v6)? Seems it was Af... Sonic unleashed was one of the games relying on this setting, could not find any other yet. Also removed the green stripes, shadow sw-mode only.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1145 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-07 12:34:58 +00:00
gabest11 3202a42578 GSdx: Reworked the sw renderer texture cache a bit, at page level its correctness was questionable if the base address was not page aligned, so now keeping track of blocks (32x more), may be slower or faster by a few percent (number of blocks vs. finer resolution).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1142 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-07 06:32:10 +00:00
arcum42 b02d6a19dd ZeroPad: Revert the changes to the Windows files in ZeroPad, and ifdef off the changes in the common areas, as the Windows version of ZeroPad is clearly only working by voodoo and bailing wire on Windows. (Note: unable to reproduce ZeroPad working properly in any revision [including playground days] on any version of Windows available. Likely because I don't have any poultry handy to sacrifice.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1130 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-04 10:31:18 +00:00
arcum42 3a7865ac3f ZeroPad: Patch to fix a bug introduced in r1125.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1128 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-03 19:30:38 +00:00
arcum42 ee3eca5b34 Zeropad: Clean up the code so that if I have to go back into it, it's easier to read.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1127 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-03 12:19:58 +00:00
arcum42 5f35cf1376 ZeroPad: Commit bolche's Analog control code, ifdeffed out, so I don't forget to add a gui for it and enable it some day.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1126 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-03 11:49:25 +00:00
arcum42 94c006efd2 ZeroPad: Apply the multiple key patch in issue 197 to ZeroPad. Currently Linux only.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1125 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-03 11:09:15 +00:00
arcum42 74ebe985f6 Plugins: Fix the dialog boxes on FWnull & USBnull so the buttons work. Fix inconsistant version numbers. Delete a stray file.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1121 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-02 14:14:34 +00:00
arcum42 92ac589187 CDVDiso: Now uses automake, is C++, isn't split into two files, and doesn't change around the working directory on us.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1118 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-02 13:42:13 +00:00
arcum42 df31bfc51a Lets get the null plugins working in Windows again...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1112 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-02 05:27:35 +00:00
arcum42 465f35169f And that's dev9, which was about as barebones as CDVDnull.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1111 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-02 04:39:05 +00:00
arcum42 6cc85d6050 And that's CDVDnull. Given how barebones this plugin is, it's closer to making a null plugin then cleaning it up...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1110 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-02 04:12:29 +00:00
arcum42 456672168e And there goes SPU2null. This one deserves a lot more work, though. A real gui and backporting all the changes I made to ZeroSPU2, for starters. (And again, Windows may or may not compile for it. Looking at the Visual C++ file, I'm pretty sure it already wasn't compiling.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1109 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-02 03:41:03 +00:00
arcum42 48c235830b I don't even wan to know how these got deleted during the commit...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1108 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-02 02:45:13 +00:00
arcum42 6fb0070c33 That's USBnull down. (And yes, I'm aware the dialog boxes for USBnull & FWnull are incorrect. For now, I just told it to use the incorrect one that was already in the plugin.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1107 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-02 02:29:48 +00:00
arcum42 f64723951e Helps if I have FW.cpp in there. :(
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1106 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-02 00:56:56 +00:00
arcum42 74e0e786b7 Begin work on renovating the Null plugins. (On the Linux side, anyways, though some of that will spill over to the Windows side.) Starting with FWnull.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1105 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-05-02 00:51:17 +00:00
gabest11 270c8ee3d2 GSdx: more alpha test magic
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1076 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-27 21:19:50 +00:00
gabest11 752db6056f GSdx: just restoring the vcproj from two revisions ago...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1075 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-27 20:34:11 +00:00
gabest11 1245659eee GSdx: fixed Issue 182 (narrowed the neq alpha test range to +/-0.4f/255, scream if something broke), and re-enabled something to make DATE faster (counting min/max of the vertices outperforms stencil buffer clearing when there are many small primitive batches).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1074 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-27 20:17:06 +00:00
arcum42 52fcc69628 Apply r1046 to ZeroGS DX as well. Ifdef a few things from r1047 so Linux compiles. A few minor changes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1048 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-23 13:15:44 +00:00
arcum42 ac0768e9a3 ZeroGS: Apply Zeydlitz's patch from Issue 174.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1046 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-23 10:18:43 +00:00
mattmenke cb57386d85 LilyPad, Sio.cpp both modified to never allow pads in first slot on either port to be unplugged, as it broke things. Unplugging pads from other slots seems to work fine, when using multitap (When not, obviously no such pads in the first place).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1034 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-20 23:14:32 +00:00
mattmenke 256d32037c LilyPad: Fixed a potential threading issue when read input in gs thread is disabled. Odds of the issue being a problem, while perhaps significantly greater than 1/<number of atoms in the universe>, weren't too high.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1025 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-19 23:04:21 +00:00
mattmenke 5fb6505e9d LilyPad: Oops.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1014 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-19 03:50:04 +00:00
mattmenke 1d2ae02c97 LilyPad: More minor fixes to failure detection in raw input initialization code. Gabest already fixed the big one.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1013 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-19 03:33:32 +00:00
gabest11 71e391d010 GSdx: Issue 149 (GoW2 crc) and removed the dx9 flag to enable tv-out, which might have been the cause for limited fps in recent revisions.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1006 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-18 09:51:42 +00:00
gabest11 94e2bd9409 GSdx: adapted to ref's changes to the image transfer, it was a bug in GSdx but not triggered by the old way, also the data overflow is now ignored, no idea what it may cause, look out for missing or fixed textures.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1005 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-18 09:34:25 +00:00
gabest11 f51e6b7d91 LilyPad: fixed a crash under remote desktop, GetRawInputDeviceInfo may return -1, the buffer size it wants is around a megabyte and gets filled with junk, just ignoring it seems fine.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1004 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-18 09:31:16 +00:00
gabest11 8865ee398b GSdx: reworked the gs transfer function a bit, and removed the nloop hack, which does not seem to be necessary anymore.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@997 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-17 01:06:27 +00:00
mattmenke b748068b38 LilyPad: Changed how device updates are handled to be more multithreaded friendly. Mutexes when "read input in GS thread" is disabled removed, as they should (hopefully) no longer be needed. May just ditch the option entirely in the future, since enabling it doesn't seem to make much difference, and slows things down for some people.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@975 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-14 13:40:28 +00:00
ramapcsx2 b14881769a SPU2-X:
Small cleanup and made it a bit faster.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@968 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-13 09:48:28 +00:00
ramapcsx2 ad6dce5e9c SPU2-X:
Worked on savestate support a bit. It now remembers an update timing variable more (could fix a few crashes).
This increases the savestate version though, so make sure you have a memory card save ready before upgrading!

Also implemented a way of delaying audio output after loading states. This masks the ugly noise that some games produce directly after loading, keeping your valuable speakers intact :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@963 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-12 21:19:29 +00:00
gabest11 6830f07f27 GSdx: GoW2, try #3
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@962 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-12 19:46:42 +00:00
gabest11 9c8a9712a9 GSdx: GoW2 fix #2, pal version this time
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@952 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-11 08:54:48 +00:00
gabest11 cf995d0716 GSdx: GoW2 fix, 16 bit drawing that caused the green overlay is skipped (character shadow)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@950 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-10 19:55:05 +00:00
gabest11 b0da55cb89 GSdx: this should probably fix taking snapshots with dx9, also upped the version to .15, since the revision number has passed what the last release still had from the old repository.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@943 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-10 07:12:29 +00:00
mattmenke 62d6c0f3e7 LilyPad: Debug line removed.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@930 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-09 02:07:45 +00:00
mattmenke 76b52a97a1 LilyPad: Small/large motor defaults should work for most devices, when creating new effect bindings.
Keyboard queue fixed up a bit, mainly to favor escape down when PCSX2 is dying.

Fix for ignore bindings being swapped with the swap pad bindings buttons.

Updated version number, thinking of releasing soon.  No known bugs, not that much more to do.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@929 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-09 02:02:49 +00:00
mattmenke 014b5c6671 LilyPad: Fixed "Swap with Pad 1"
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@914 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-05 18:37:06 +00:00
mattmenke a6d330448c Fixed a simple bug from one of arcum42's cleanups.
Cleaned up multitap code a little in both PCSX2 and LilyPad.

Some extra safety checks in LilyPad when loading state.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@906 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-04 11:21:35 +00:00
gabest11 35655edb47 GSdx: the BoF5 speed fix
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@887 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-04-02 21:22:37 +00:00
gabest11 13986ebabf GSdx: updated the delay loaded directx dlls to match the latest sdk
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@873 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-31 14:28:23 +00:00
mattmenke f5f3ff97a5 LilyPad: Fixed a bug in list of bindings when go to config screen after running Pcsx2 for a bit, and some devices enabled on the config screen were not enabled in game (Either due to focus issues, or, more probably, due to mouse API not being disabled, but not running with mouse focus).
Also bug fix for cursor clipping rectangle not being reset after window resize.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@870 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-31 08:15:38 +00:00
gabest11 8b3c30d2ce GSdx: just increasing the revision number of gsdx to test something...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@868 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-31 03:19:21 +00:00
mattmenke 99b0019d1b LilyPad: Fixed a binding bug due to old debug code still hanging around, added ability to swap pad bindings (Right-click context menu).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@859 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-29 18:03:42 +00:00
mattmenke 8661323a0a LilyPad: One more quick bug fix in mtap stuff.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@855 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-29 06:30:34 +00:00
mattmenke e3b40d1933 LilyPad, Plugin APIs: Slightly changed how multitap API additions work. Now enabling is handled completely by the pad plugin. If anyone ever really feels like adding support for more memcards, can move it over to PCSX2 itself.
Also add some documentation to PadApi.h.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@853 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-29 06:14:59 +00:00
arcum42 de86b1dba7 ZeroGS OpenGL/Linux: Took out the FFX hack, and turned it on by default. Removed a few options that weren't doing anything, and added a few into the Linux list that were missing.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@852 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-29 04:18:21 +00:00
mattmenke d1ac2a8700 LilyPad: Fixed bug detecting enabled multitap pads. Multitap support now seems to be working on the LilyPad side of things now. At least it seems to work with the one game I've tested, after modifying PCSX2. Necessary PCSX2 changes have *not* been committed.
Still need to hook it up to the PCSX2 GUI and figure out how to say the extra memcard slots are all empty.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@851 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-29 03:57:08 +00:00
mattmenke 1df68eca73 LilyPad: PADfreeze() now saves state of current poll, just in case it hasn't been completed. In practice, state never seems to be saved in the middle of a poll, but best to be safe.
Note that this "breaks" old LilyPad savestates, but that just means you'll need to wait for your pad to be initialized before loading older states for picky games, like you do when using states saved with other pad plugins.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@845 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-27 06:58:00 +00:00
arcum42 007c34a8b0 Since WriteLn is used for logging, and it automatically appends newlines, remove a bunch of legacy newlines from various logging functions.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@844 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-27 06:34:51 +00:00
gabest11 9a1c89cb4f GSdx: persona 4 character shadow error fixed, might break other things (hope it doesn't :P)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@841 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-24 13:13:51 +00:00
gabest11 0c90ff1eb6 GSdx: disabled blurring can be re-enabled in the settings or with the END key, the image shifting is corrected back to 1 pixel even if the internal rendering resolution is upscaled.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@840 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-24 09:11:03 +00:00
mattmenke e0d7e180ac LilyPad: Fixed logging bug, log slightly more data.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@839 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-24 00:12:39 +00:00
mattmenke fd8a28543b LilyPad: Loading savestates made with other pad plugins should work a bit better.
Attempt to fix keyboard input sometimes not working until window is unfocused/refocused.  Happened to me once (And only once), when I was experimenting with disabling read input in GS thread.  There are a number of potential causes of this, and I've added workarounds for several of them.
Slightly updated code to determine when to update pad state - added both a timer, so read state less when fast forwarding, and Multitap support (to that particular chunk of code).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@838 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-23 23:29:27 +00:00
gabest11 95c7ce1dbc GSdx:
- more thorough blur detection
- makesnapshot delayed until the next vsync (so shift+f8 won't crash randomly)

xpad:
- fixed "Issue 38: Bad performance with Xpad"

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@834 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-22 13:10:31 +00:00
Jake.Stine 9528571ea3 Buildsystem improvements - Added two new property sheets for Incremental Linking and Global Linking. Incremental Linking is fast and allows for Edit and Continue debugging (debug/devel builds), Global Linking is for Release builds.
Applied new property sheets to Pcsx2, SPU2-X, ZeroStuff, and NULLs.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@829 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-21 04:01:44 +00:00
arcum42 65822fbfdc Linux/SPU2-X: A bit more work on the Linux port of SPU2-X.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@827 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-20 10:13:19 +00:00
gabest11 2baace0895 GSdx: a few games should be sharper (example: persona 4, guitar hero), blurring effect done inside the output merger is overridden when detectable, hope nothing got broken by it.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@826 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-20 09:10:37 +00:00
mattmenke 96bc118b1c LilyPad: Fixed PADfreeze bug. Also some stuff that shouldn't do much yet.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@824 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-20 01:27:24 +00:00
mattmenke e172d0e104 LilyPad: Svn release builds now have svn numbers, some configuration load/save/populate code cleanup. Two additional checkboxes that at the moment do absolutely nothing useful, so don't get too excited, probably be quite a while before I get around to hooking everything up...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@816 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-19 06:28:23 +00:00
gabest11 6982207440 xpad: repaired broken keyboard event forwarding to pcsx2
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@803 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-17 09:38:36 +00:00
mattmenke e5f8c7dbe9 LilyPad: Minor GUI rearrangements and attempts to beautify. Relabeled "Hacks" that aren't really all that hackish. To be released as 0.9.11.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@802 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-17 05:37:09 +00:00
gabest11 d2ef4099fc LilyPad: fix0red the save state reload crash (memset overflow randomly null'ed the global dm variable and other things).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@799 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-16 22:17:50 +00:00
Jake.Stine 7c00edfc07 Disabled global optimization properly, and enabled Incremental Link, on devel builds. Minor code changes compile fairly instantly now. ;) I'll make some property sheets for enabled/disabled LTCG/WPO in the future.
Added a new Threading class: ScopedLock.  Used as an automatic unlocking mutex (safe for use with C++ exceptions, and cleaner/simpler code too).  It works like C#'s "using" and "lock" directives, for those familiar with that.

Optimized the AtomicExchange implementations for MSVC.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@798 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-16 18:32:18 +00:00
mattmenke 80abd88a67 LilyPad: Couple GUI fixes and cleanups, with intention of releasing soon. Added mysteriously missing check for binding same control on different pads, fixed rearranged pad type stuff.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@796 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-16 02:58:38 +00:00
mattmenke 0c95bbc9fd LilyPad: Lots of new code that (ideally) makes absolutely no difference. And a fix for saving rumble settings in PADfreeze.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@794 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-15 15:00:22 +00:00
mattmenke 493ecaa206 LilyPad: Fixed some binding stuff that some incompetant person broke in his last release. PADfreeze fixed so should work when called twice (Once for pad 1, once for pad 2).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@790 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-15 09:20:53 +00:00
mattmenke bb47813a3c LilyPad: Removed "Axis" binding buttons. Try to autodetect full axis bindings instead, also a dropdown in case that fails. Experimental, untested PADFreeze() implemented.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@786 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-15 00:00:02 +00:00
mattmenke 93529360a2 Should warn when can't write to config files. Getting sick of repeated posts by the unwashed masses about this (Though also find it bizarre that Vista chooses to not allow an app to write to its own subdirectories). Also, included VC 2005 project now builds successfully as long as you have an svnrev.h.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@758 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-13 01:17:52 +00:00
mattmenke 004d559678 Added option to control PCSX2 volume only with volume keys, instead of global windows volume. Release shift, control, and alt on deactivate. Fix for changing skip mode on alt-F4 (Accidentally removed the old fix for it in 0.9.5)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@747 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-11 17:25:51 +00:00
Jake.Stine 95c2cce3d5 Folder Structure change: Renamed the 'Win32' folder to 'Windows' for several plugins. It's technically more correct and alleviates some confusion with the Win32 target/build folders generated by MSVC.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@733 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-10 11:45:20 +00:00
gabest11 d541a8da45 GSdx: sse2/ssse3 build fixed
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@730 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-10 04:37:41 +00:00
mattmenke 0c9abd6765 LilyPad: GSDX10 + fullscreen + escape workaround that's lamer than the last one, but seems to work much better and should cause no issues with GSDX+DX9, other than a slight delay.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@722 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-09 04:22:37 +00:00
gabest11 120971ec4f GSdx: Implemented edge anti-aliasing (aa1) for software mode, bios or ffx are good test subjects (not many other games use it). It's still a bit slow but could be improved a lot by not doing 4 pixels with sse for each single edge pixel, that's just a lot of unnecessary texture lookups. The bios config screen cubes are still bogus, gs_user on aa1 isn't too helpful...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@721 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-09 01:42:56 +00:00
Jake.Stine dacfe85189 SPU2-X: Fixed some problems with saving/loading states, when loading from old savestate versions.
Pcsx2: Small speedup for the IOP's recClearMem (used a forceinline to cure MSVC's laxidazical inlining)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@714 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-07 19:04:37 +00:00
mattmenke d0703dd50f LilyPad: Safely exit fullscreen on escape hack now sends the escape back to PCSX2 as well after un-maximizing the GS window.
Minor changes to the general config screen's hack section.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@709 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-07 02:58:51 +00:00
arcum42 3880bf5a14 Move the configuration section of Misc.h to a new file, Pcsx2Config.h.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@699 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-06 15:09:42 +00:00
gabest11 620ba58085 pcsx2: -highpriority switch, other processes generate too much noise and I cannot trust my performance counters without it :P
GSdx: nothing new just committing a few cleanups and my findings on AA1 before doing it, tested a few things with ps2dev on a real machine, got really strange results when not using the standard 0 1 0 1 blending mode, but it doesn't seem harder to implement than a line drawing (which it is), and only adds a few extra pixels here and there, should be fast at least.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@694 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-06 00:53:59 +00:00
ramapcsx2 5897d04917 Experimental commit!
Hacked in a way to make GSdx change the renderer on the fly.
When you press F11 it will switch to DX9 sowftware rendering.
Press it again to get back to the setting you were using before.

Notes:
-For this change I had to modify a few lines in GSdx. If that's not acceptable
we can do more drastic measures and modify the gsdx.ini :p
-F11 is currently also used for doing gsstates in debug modes, it will likely be changed.
-When in dx10 hardware + fullscreen mode, pressing this key will crash GSdx. Sorry.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@689 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-05 20:00:41 +00:00
Jake.Stine ef2e9e2093 SPU2-X: Fixes alignment condition for SSE2-dependent members of V_Core. I wanted to sneak this in quick since to do it later would have meant another savestate version.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@681 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-04 21:48:26 +00:00
Jake.Stine 7d00eb7ec6 SPU2-X: Resorted the mixer so that it's a little faster, and will be easier to apply some SSE2 opts in the future.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@680 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-04 21:32:48 +00:00
Jake.Stine 207e0345e0 SPU2-X (Linux): Did some preliminary work on the Alsa driver.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@664 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-03 04:50:26 +00:00
Jake.Stine 63fe0a5fdc SPU2-X: Fix for DMC1, closing Issue 17 once and for all; also added ICC patch from Issue 75.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@657 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-02 06:41:02 +00:00
mattmenke a4a7bf91dc LilyPad: fea...@yahoo.it's suggested changes for ICC compatibility
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@656 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-01 23:53:20 +00:00
arcum42 0acef23784 Clean up Jakes commit in r634, and get rid of some dead code in the assembly files.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@635 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-03-01 01:03:16 +00:00