Commit Graph

213 Commits

Author SHA1 Message Date
Glenn Rice
c455673f87 Added scons options "shared_libname=true" to link agains the system shared libraries for lzo, sfml, and soil. For example add the scons option "shared_lzo=true" for lzo. This will check for the system libraries and then fall back to building and linking statically against the Externals if not found. You must have liblzo2-dev, libsoil-dev, and libsfml-dev installed. Note that you need version 1.5 or later for sfml. Currently scons doesn't check the version for you.
If you are having trouble with segmentation faults in linux try "shared_soil=true".  That seems to fix the problem.  How do we fix this for the static build?


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5182 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-09 22:17:33 +00:00
Sonicadvance1
e79dc93a5c Fix noWX compiling, Fix OSX crashing when opening options because of dumb code. Fix OSX Wiimote, will fix multi-wiimote in OSX later.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5154 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-05 07:03:44 +00:00
Sonicadvance1
6b2d9ef404 16byte mem leak fix in OSX Wiiuse
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5151 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-03 06:58:57 +00:00
Glenn Rice
303769d31c Revert commit 5105 until we sort out how we want this to work in linux.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5110 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-22 16:10:08 +00:00
Glenn Rice
73d575c5c2 On linux don't compile and link against lzo, soil, and sfml "Externals."
Instead use system libraries liblzo2-dev, libsoil-dev, and libsfml-dev


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5105 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-22 00:39:38 +00:00
nakeee
7de17cb9c2 SFML on linux/osx now compiles from external (static)
removed HAVE_SFML ifdefs


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5101 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-21 20:09:49 +00:00
Sonicadvance1
5b1d21d1a1 Bunch of tiny memory leaks fixed and cleanup, フウ〜!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5056 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-14 14:06:33 +00:00
Sonicadvance1
9272d3c628 Actually use the timeout requested in Wiiuse in OSX, and if there is no BT device or it's disabled, catch it so we don't get stuck in an infinite loop
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5049 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-13 20:54:05 +00:00
Sonicadvance1
675e1f668e Correct stopping of Core in OSX via Command+Q, and fix a thread from not dying when stopping with CoreAudio
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5013 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-05 10:48:31 +00:00
Sonicadvance1
40ac160f37 Some clean up in io_osx.m, the if not confused me in the SConscript. I made the frames work with WX 2.9. Disabled rumble in Wiimote in OSX. Wiimote MAY work in Dolphin in OSX, not 100% sure. Made a test app and it works in that. Couldn't build a WX build of Dolphin in OSX because Macports doesn't compile in AUI apparently
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4904 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-20 11:49:11 +00:00
Sonicadvance1
efb4e9b1f5 Really? Maybe this will fix Wiimote in OSX, dunno, can't test it right now
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4902 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-20 10:43:44 +00:00
death2droid
9f387f5cf3 Add a fix to our SFML from the current svn version of SFML.
Its meant to fix a problem when the connection timed out it used to return that it had connected.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4751 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-29 22:41:49 +00:00
death2droid
a1fefe870c DX9: - Add hires texture loading.
- Add an option to enable the EFB scaled copy *TODO find a better place for it to go.

SOIL - Update stb_image to the latest version (1.16 to 1.18)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4716 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-22 06:47:42 +00:00
Shawn Hoffman
f2c060d8cb Implement some previously unknown gekko/flipper cpuid-type regs
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4698 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-16 08:59:18 +00:00
Shawn Hoffman
abd587ffdc wiiuse patch for linux kernels >=2.6.30, from http://gist.github.com/241910
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4652 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-06 10:53:44 +00:00
death2droid
2a6973f390 Update CG 2.2 April to CG 2.2 October
Release Notes:(COPY AND PASTED)
The October 2009 version of Cg 2.2 contains the following improvements:
 Allow compiler options in effect compile statements
 e.g. VertexProgram = compile vp40 "-po PosInv=1" shader();
 Better performance when running on multicore CPUs
 Choosing the "latest" profile is now deferred until effect validation
 Improved the inverse matrix computation in cgGLSetStateMatrixParameter
 Better memory behavior when a program is repeatedly recompiled
 Fixed an issue when using PSIZE semantic with ps_3_0 and ps_4_0 profiles
 cgCombinePrograms now works with CG_OBJECT programs
 cgGetNextProgram was always returning 0
 Fixed a problem with effect parameters and cgGLGetTextureEnum
 Allow comments prior to the shader version in D3D asm blocks of an effect
 HLSL10: Mark globally scoped temporaries 'static' to keep them out of constant
 buffers
 HLSL10: Allow any semantic for varyings provided the semantics match
 between stages
 HLSL10: Fix handling of TEXUNITn semantic
 HLSL10: Added support for arrays of samplers
 HLSL10: Empty structs for uniform parameters crashed the D3D compiler
 Fixed a problem when connecting parameters of type string
 Corrected issues in the fp20 profile on Solaris
 Now using MesaGLUT-7.5 for GLUT on Windows

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4648 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-06 00:41:17 +00:00
Shawn Hoffman
988fabeb70 Fix real wiimote for people that use the bluesoleil stack
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4627 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-29 03:27:38 +00:00
Shawn Hoffman
8405c4049d Commit better wiiuse compiles, the ones in last commit may have been switched around by git on me. Add MotionPlus to the statesave so it won't be a bother later, and uncomment some things so accessing it doesn't cause PanicAlerts
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4612 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-26 05:01:24 +00:00
Shawn Hoffman
574a03b1e1 Fixed the problem which was causing wonky IR behavior in windows - use memmov() instead :) - re-enabled optimizations in wiiuse
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4611 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-25 17:58:16 +00:00
Shawn Hoffman
6145dd2967 Real Wiimote: fix a crash some people were having, and fix IR behavior (by turning off some msvc++ optimizations...)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4610 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-25 16:22:46 +00:00
Shawn Hoffman
425ee74c76 fix real wiimote on windows
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4601 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-23 02:34:48 +00:00
Sonicadvance1
47f3c5bc31 Forgot about this. Nobody wants WiiUse debugging on. Also, Real Wiimote works with this one, because I forgot to remove the -1! Huzza!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4593 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-19 22:58:36 +00:00
Sonicadvance1
3af4c50af1 Clean up Wiiuse to allow less _WIN32 defines. Windows side now spits out regular packets, and takes in regular packets. Like a normal OS should :} This shouldn't break Windows wiimote, Linux Wiimote doesn't work with this revision. Will require the new plugin which doesn't have emulated Wiimote at all.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4591 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-19 22:47:57 +00:00
bztdlinux
43e68713a9 Fix build on Windows when there is no Config.h
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4583 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-16 00:16:35 +00:00
bztdlinux
f796d4d747 STAND BACK - NEWLINE POLICE
gcc spams warnings when newlines are not at the end of files.
reason: http://gcc.gnu.org/ml/gcc/2001-07/msg01120.html


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4582 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-15 22:26:39 +00:00
bztdlinux
d28a1e06f5 Configure lua for target platform, fixes linker warning about tmpnam
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4581 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-15 21:25:44 +00:00
Shawn Hoffman
18305c7c49 revert sdl changes, part 2 (final)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4565 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-14 16:59:54 +00:00
Shawn Hoffman
235a19e356 revert sdl changes, part 1
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4564 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-14 16:58:39 +00:00
John Peterson
7f66fe1ef6 Externals > Added copy SDL.dll build event
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4542 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-12 20:14:44 +00:00
John Peterson
dcb856fe3c Externals > Fixed SDL include
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4540 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-12 19:30:57 +00:00
John Peterson
5ef7d6888a Externals > Fixed SDL include, properly
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4539 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-12 19:29:15 +00:00
John Peterson
013a27b13b Externals > Fixed SDL include
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4538 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-12 19:26:25 +00:00
John Peterson
088440ab12 Externals > renamed SDL dir to match their SVN names
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4537 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-12 19:07:17 +00:00
John Peterson
92590357bb Externals > renamed SDL dir to match their SVN names
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4536 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-12 19:06:51 +00:00
John Peterson
32e9352e64 Externals > Deleted SDL dirs
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4535 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-12 19:05:32 +00:00
John Peterson
71506bc0f7 Wiimote and nJoy > Gamepad changes
1. Added LiveUpdates, while the configuration window is open nJoy and Wiimote will check for connected/disconnected pads
2. Removed the 'Nintendo RVL-CNT-01' device from the device list, and other SDL devices with no axes/buttons
3. Added SDL (from the current SVN) to get debugging information for SDL.dll
4. Added 'Upright Wiimote' option to emulated Wiimote options

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4534 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-12 18:57:35 +00:00
XTra.KrazzY
1c4c31f37a minicommit (don't trust VS2008 when you click "save all", it doesn't really work that way with projects)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4513 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-08 00:28:20 +00:00
XTra.KrazzY
dcb9967e75 Lua is officially supported on Dolphin. (thanks for the linkage fix shuffle2!)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4512 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-08 00:15:58 +00:00
omegadox
076e727376 Some warning fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4345 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-29 22:32:53 +00:00
death2droid
5a7fbd63c2 Wiiuse: Nunchuck:Standarise the nunchuck code to be more like the one present in libogc
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4321 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-26 04:52:02 +00:00
death2droid
750ad4fb5d Wiiuse:Guitar hero remove the use less hand shake check since the controller does not have any handshake data(BACKPORT)
Nunchuck:Fix up mistakes from my last backport.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4312 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-22 12:50:49 +00:00
Shawn Hoffman
72f443c5ce revert r4308 - that change was executed quite badly. Let's try and keep things sane...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4310 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-21 20:05:42 +00:00
death2droid
035155754e Wiiusesrc: Alot more back porting. Still needs more work.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4308 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-21 13:46:12 +00:00
death2droid
0e3baaa6ab Wiiuse:Backport some changes from the libogc version of wiiuse.
Still got a lot to back port :(.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4307 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-20 13:31:32 +00:00
Sonicadvance1
ced92d8544 Fix compiling in Snow Leopard, the Update stuff in the Video plugin shouldn't be in the GUI since it breaks nowx builds, wasn't sure where to put it, but Render.cpp seemed like the best place. Fixed wiiuse.c, and the SConscripts needed updating for Snow Leopard. Building 32bit in Snow Leopard is apparently broken. and Running 64bit in Snow Leopard seems to fail. Haven't tracked this down yet
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4299 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-18 19:56:49 +00:00
Shawn Hoffman
9ae7fe20af wiiusesrc: change back to .c files, in order to more easily diff with "official" wiiuse
wiiusesrc: enable building with windows/msvc. In order to build you need to install WDK, then build. wiiuse.vcproj uses WDK exclusively, and ignores other include/lib paths. Change the paths in wiiuse.vcproj if your version of WDK differs.
wiiuse: update compiled windows libs

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4295 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-18 00:51:13 +00:00
LPFaint99
8beeaff896 WIIMENU:move call to filemon to verify that std::string(null) is not called
fixes issue 1421.
D3D: fullscreen use 640x480 if ini setting is invalid
Externals/Memcard Manager: fix build since change to lib files for wx

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4290 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-17 05:57:38 +00:00
Shawn Hoffman
a9b5cbb8e9 update libjpeg to v7 (thanks pcsx2) :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4241 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-09 21:37:47 +00:00
Shawn Hoffman
463e93c41a fix debugfast build (msvc)
external libs go to $(SolutionDir)\$(ConfigurationName)\$(PlatformName), and debugfast build uses Release build of external libs.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4230 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-08 15:46:51 +00:00
John Peterson
7dffe43eaa VS solution: OGL and SOIL path fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4224 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-07 13:12:40 +00:00