Commit Graph

159 Commits

Author SHA1 Message Date
gregory.hainaut@gmail.com 2e6951d102 cmake: sdl and gsdx (experimental)
Note: pad plugins crash when linked with sdl 1.3.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4381 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-01 19:26:27 +00:00
gregory.hainaut@gmail.com 4bd5322dc6 cmake: WIP to build sdl and GSdx
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4373 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-26 20:02:22 +00:00
gregory.hainaut@gmail.com e646f0a21c 3rdparty wxwidget: Backport a fix from wx2.9. It allows to translate the "broswe" string in some places
Note: on linux the string does not appear (current directory instead).


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4370 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-26 12:30:48 +00:00
arcum42 9d26ae1241 GSdx: A bit more work on the Linux dialog box.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4369 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-26 05:19:18 +00:00
arcum42 2b885abde9 SDL: Add a separate linux config file, so we don't have to keep switching it between Linux and Windows when building.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4368 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-26 03:50:18 +00:00
arcum42 49568c3d85 GSdx: Correct the sdl library output name, and add sdl to the main codeblocks workspace.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4366 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-26 03:05:31 +00:00
gabest11 bc6060d318 GSdx: just updating visual studio project files (redundant settings, broken x64 compilation, etc.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4350 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-24 04:55:35 +00:00
gabest11 c2e7e4a2fb GSdx: SDL_assert.h fixed for vs2008.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4349 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-23 23:40:37 +00:00
gabest11 e7cc739f56 GSdx: I'm restoring the original SDL_config.h, it broke the windows build. No idea how to proceed under linux, letting it use its own window works, trying to use the one provided by pcsx2 does not. Could be a multi-threading problem with X, or not using a top-level handle. Just guessing.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4345 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-23 06:02:04 +00:00
gabest11 879aad9fd5 GSdx: working on linux port again, almost ready to run.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4344 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-22 23:39:02 +00:00
gabest11 3de18d0526 Undoing last commit, it was a mistake, linux tools are not easy to use.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4342 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-22 21:12:04 +00:00
gabest11 23a6b85852 GSdx: more alignment fixes for gcc.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4341 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-22 20:58:21 +00:00
gabest11 1b909d7a30 GSdx: enabled SDL output under windows, known problems: after shutdown it won't show anything again, deinterlacers aren't done yet.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4339 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-22 18:50:51 +00:00
arcum42 cf97710734 Preliminary codeblocks project for sdl 1.3.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4338 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-22 12:21:10 +00:00
arcum42 1e1ad1cfba Add SDL 1.3 to the 3rd party folder.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4337 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-02-22 10:19:09 +00:00
gigaherz 3f1e272d27 I was bored tonight so I updated the embedded portaudio to the latest svn. It has some fixes for everyone, check portaudio's svn log from 1541 to 1570 for details.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4272 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-28 21:06:02 +00:00
gabest11 4cd3e3a552 - fixed VS2010 project files and added configuration for AVX
- ConfigIcon_Appearance.h seems to be missing

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4270 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-28 08:21:05 +00:00
sudonim1 83e09878b2 Patch from avih, untested (but probably harmless) as I only have one monitor:
Make the GS window go full-screen on current monitor instead of always on primary monitor.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4175 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-02 20:19:46 +00:00
Jake.Stine 4ebbe65c4f w32pthreads: maintenance work; applied patches inspired by the VLC guys that make the code a little more sensible where pointer types are concerned. Removed some obsolete ancient compiler crap regarding interlocked exchanges.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4100 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-19 08:31:35 +00:00
gregory.hainaut@gmail.com 9b987a959b GregMiscellaneous: spu2x:
* Copy wavfile back to spu2x directory. Note I shrink the file to only usefull feature to keep it small.

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



git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3948 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-19 20:29:01 +00:00
gregory.hainaut@gmail.com d84d8e8a2a GregMiscellaneous: sync with trunk (3805-3918)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3919 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-10-15 09:32:41 +00:00
Jake.Stine 31e957c5b3 wxWidgets/MSW: Disable validators. We don't use 'em.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3593 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-08-03 04:26:14 +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
Jake.Stine 9c22dc4f73 wxWidgets/Win32:
* Fixed a bug that caused all but the first stackframe walk to fail with an error.
 * Improved thread safety of stack walking.

DevNotes: When walking stackframes multiple times from the same process, only the first stackframe walk would work and all others would fail with an error because of calling SymInitialize multiple times.  So now SymInitialize is only called once and SymRefreshModuleList is used prior to walking, if available.  (only available in winDbgHlp.dll v6.5 or later)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3546 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-21 16:57:58 +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
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
gregory.hainaut a11941d318 [cmake] Drop internal bzip version. No reason to use it, moreover compilation is broken for some distribution.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3239 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-19 13:45:30 +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
Jake.Stine 5b80fc6c68 Disable LTCG on wxCore, wxAdv, zlib, libjpeg, and the x86Emitter. Slices Release mode build times by more than half and shaves 200K- off the .exe size. (I really should have done this sooner)
DEV NOTE: Please leave LTCG enabled on wxBase, since wxString/wxObject and other wx-based containers benefit from it considerably.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3172 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-05 15:41:40 +00:00
Jake.Stine f219b79ad4 UI: Fixed a few minor layout bugs in the logging options, and introduced pxDialogCreationFlags to get rid of some Constructor Parameter Hell(tm) on dialog creation.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3155 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-04 19:50:31 +00:00
gregory.hainaut 92a1b9a503 [cmake]
* Clean 3rdparty flags not used. By default use -Os not needed to make pcsx2 bigger than it already is.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3154 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-04 17:31:55 +00:00
gregory.hainaut 732cb88708 [cmake]:
* remove the dependency on libportaudiocpp as codeblock. (issue 721)
* Improve build on 64 bit system


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3151 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-04 11:07:25 +00:00
Jake.Stine 0d732a8c62 wxWidgets/msw: Kill off some warnings introduced when I excluded some unused packages from the wx lib.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3137 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-06-01 03:34:51 +00:00
gigaherz d0a507e71d Also update glew to 1.5.4, and wglext.h to the latest version from http://www.opengl.org/registry/api/wglext.h
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3134 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-31 20:07:02 +00:00
gigaherz 5a97b9dd08 Portaudio: sync with portaudio /trunk up to revision 1505 (mostly linux stuff).
----
Revision 1505: wasapi: 
 - implemented support of non-Interleaved buffers (paNonInterleaved) for WASAPI blocking interface for input and output
 - blocking methods will now use PA sample converters
Revision 1504: alsa: - releasing memory of non-MMAPed buffer on stream closure by Pa_CloseStream
Revision 1503: alsa:
 - reverted buffer size (2048) hardcoding for non-MMAPed devices to avoid crash on wrong buffer size usage (whole area requires more work)
 - optimized non-MMAPed device operation to avoid malloc(memset)/free usage on every processing call avoiding significant performance penalty
Revision 1502: alsa:
 - fixed deadlock in PaAlsaStream_WaitForFrames if device is paused, poll() results are now checked for 0 and if 64 times exceeded an error (paTimedOut) is returned
 - removed hardcoded low-limit of latency for non-MMAPed devices, it is an obligation for user to set an acceptable/desired latency value
 - tuned XRUN recovery sequence for MMAPed devices
Revision 1501: fixed compile for DirectSound implementation under MSYS, missing DSSPEAKER_7POINT1_SURROUND define


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3133 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-31 19:51:53 +00:00
Jake.Stine a660d7e721 wxWidgets/Win32: Disable a bunch of crap we don't use (and likely never will). Saves 150-200k off pcsx2.exe and plugins that link against wx (SPU2-X and ZZogl I think).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3128 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-30 16:44:22 +00:00
Jake.Stine 6ec36fa37d wxWidgets/MSW: Applied my custom string/object heap allocators to several more wxWidgets containers and types (helps reduce fragmentation and multi-threaded contention on the main heap).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3100 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-28 16:24:53 +00:00
gigaherz 1884c409e1 Update portaudio to the latest snapshot. It seems to have some improvements on sample conversion, WASAPI and ASIO.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3050 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-20 16:56:53 +00:00
Jake.Stine 555b409f8b portaudio: minor MSVC project fix; the lib file was being generated outside the deps folder.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3048 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-20 15:11:52 +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 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 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
arcum42 dfb301c1ba Fix the cmake build of zlib, and force use of the internal copies of a few of the libraries for the moment. (If the cmake build starts working properly, I'll probably reverse that, but for the moment I want them as similar as possible.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2946 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-04 20:28:34 +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
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
Jake.Stine c440cb563a w32pthreads: (Upgrade to v4) Added pthread_cond and pthread_rwlock APIs.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2910 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-04-27 13:06:03 +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