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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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