Commit graph

414 commits

Author SHA1 Message Date
Soren Jorvang
83883cee45 Port to *BSD. It runs but isn't terribly useful without Cg.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5934 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-22 03:29:35 +00:00
Glenn Rice
8c7bdebf1e Fix the global build on linux.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5923 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-20 04:19:25 +00:00
Soren Jorvang
6813a75ab2 Some pathnames are used both by SCons and cpp which can be a bit tricky.
Should revisit and make the distinction more explicit.

Put the Data and Sys directories under Resources in the OS X app bundle.

Construct config.h (now lower-case to avoid confusion with other Config.h
instances in the tree) in the root. One tiny step towards a read-only
and cross-buildable source tree.

Some minor bits of non-Linux Unix portability.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5921 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-20 02:45:31 +00:00
Soren Jorvang
a2b1f829cb Get rid of a number of unnecessary env.Clones.
Use SCons' convenient # shorthand for the root of our tree.
 
Also various minor cleanup of SConscripts.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5915 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-19 03:42:37 +00:00
NeoBrainX
a2e39a84f3 Delete various unused files.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5909 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-18 16:15:43 +00:00
NeoBrainX
961bac32b3 Use the correct calling convention for OpenCL function pointers.
Fixes issue 2927, thanks to dimitri_le_bon_pilote for the patch ;)


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5905 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-18 14:18:37 +00:00
NeoBrainX
da4c3a5f29 Committing some cleanups by avindra:
- fix numerous warnings
- make some variables unsigned
- remove redundant code and header inclusions
- make code more compact in lots of cases

Committing some additional changes by myself:
- additional header cleanups
- cleanup DX11 initialization/shutdown process (hinted at by avindra)
- Remove the cgD3D9 stuff from Externals since it's no longer needed

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5903 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-18 10:11:34 +00:00
Soren Jorvang
3e383aa8eb Maintaining Leopard binary compatibility turns out be a a bit cumbersome.
For a typical OS X app, one only needs to specify the SDK version and the
target OS version range.

Because we use OpenCL which is new in 10.6, however, we must be somewhat
more verbose in order to make use of the forward compatibility facilities.

Unfortunately, the critical bit that is required to have binaries built
on 10.6 work on 10.5, namely disabling the new compact __LINKEDIT format,
causes stack alignment crashes at emulation time on 10.6, so for now
Leopard users still have to build Dolphin themselves.

Hopefully, this stack alignment problem will turn out to be coincident
with lingering alignment issues.

Include the OS X version of the Cg framework in Externals as with the
Windows one. The header files appear to be the same in the Windows and the
OS X builds of the February 2.2 Cg toolkit, although they are differently
munged by what appears to be some automatic process, so no new duplicates.

Any upgrades to the Cg libraries will of course need to be done in sync.

I do hope that Sonicadvance1's GLSL work will enable us to get rid of Cg.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5893 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-17 19:43:26 +00:00
Soren Jorvang
aa998896ac Allow C code to use the Dolphin log manager so that Wiiuse text output
can go to the log window like with other subsystems.

Remove a Wiiuse dependency on libm from when it was a shared library.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5885 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-16 19:08:26 +00:00
luisr142004
c2ee89b170 include the MP compiler option, which will allow for faster compiling + some minorly stuff :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5882 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-16 09:22:53 +00:00
Soren Jorvang
addb89fecc Allow full-length Unix pathnames.
Move bits of HAVE_OPENCL/HAVE_WX for OS X from SConstruct to header files.

Use /usr/lib/libz on OS X now that we no longer have -L/opt/local/lib in
the library path. It is still possible that we could pick up a libz in
/usr/local/lib that would make the application non-redistributable, but
the danger is much less than previously.

Also bits of minor portability cleanup.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5868 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-10 21:17:08 +00:00
Soren Jorvang
0284a7a1df Some more attempts at cleaning up the scons build and more clearly
identifying which options and parameters go with which platforms etc.

OS X, like Windows, now no longer uses Config.h. Configure() is still
used for the wx-config parameters, but that is a temporary measure.

Globals.cpp has never been used.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5860 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-09 01:26:53 +00:00
Glenn Rice
c37bca75b6 Make the refresh button on the Wiimote New plugin add new wiimotes in linux, instead of disconnecting and reconnecting those that were already connected. This makes it possible to connect new wiimotes during a game by openning the wiimote configuration dialog and refreshing. You still need to tell dolphin that a new wiimote is connected using Ctrl+F5-F8 or the corresponding menu entries.
Also fixed a segmentation fault caused by the UDP Wiimote stuff when a thread was not properly ended.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5847 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-07 02:19:16 +00:00
Glenn Rice
0e2b4d8306 Implement proper thread naming on linux. This fixes a segmentation fault with thte wiimote new configuration dialog when a thread was named without first calling ThreadInit.
Also take care of some more eols.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5843 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-06 16:16:07 +00:00
Glenn Rice
6cacc52ebf Fix a bug in wiiuse that prevented a wiimote from being disconnected properly in linux. Also fixed a bug in wiiuse_set_leds on all platforms.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5819 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-02 15:48:42 +00:00
Shawn Hoffman
46b70bbaae eolz
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5814 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-29 22:44:09 +00:00
Orphis
685bae34e5 Dynamically load OpenCL on Windows with CLRun. There shouldn't be the need to make a separate build now or download a big SDK to link Dolphin.
If compilation fails, rebuild the whole solution as Visual Studio struggles with the not so complex project dependencies.
ATI users still need to install the Stream SDK as it's the only way to have an OpenCL driver.
NVidia users just have to install a recent driver (version 197 is tested and working).

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5808 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-29 02:23:09 +00:00
Soren Jorvang
d18085c3ad Don't bother using autoconfiguration to find the OpenCL and Cg
frameworks on OS X.

Try to be a little clearer about which configuration options apply    
to which platform(s). Should pave the way slightly for win32 scons. 
 
We have accidentally been using LUA_USE_LINUX on OS X all along.
Turns out that LUA_USE_MACOSX is for an ancient version of OS X and
LUA_USE_LINUX is a reasonable set of defaults for modern Unices, so
just keep using that.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5804 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-26 19:17:43 +00:00
Soren Jorvang
ebb49c28f7 Fix scons build.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5789 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-26 03:02:57 +00:00
snzgoo
f6d844dac1 MAJOR and long ago overdue wiiuse and real wiimote sourcecode cleanup. Removed "recording" in old wiimote plugin and other not necessary functions(EEPROM reading, we 'll just do a reconnect instead to use default accel calibration data etc). Recording is not needed anymore(playback of recorded moves should be still working). Everything the recording feature offered, the new wiimote plugin does as well and even more. The cleanup will ease the port of the real wiimote feature into new wiimote plugin, which is still only offering emulated wiimote support. Billiard said he's now on it.:)
Wiimotes are now slighty more responsive and multiple wiimotes should harmonize now slighty better. This clean up was requested/inevitable and should have be done way more earlier. This "might" break osx/linux builds, so please test. If your aware of any "real wiimote" issues please post it in the comments as well(dont forget to state your OS).

Known wiimote issues:
1.) Possible wiimote disconnect on pressing the home button
2.) 1-2 Possible wiimote disconnects directly after starting a game
3.) Rumble causes lag. I don't think this is a wiimote plugin issue itself, I'm not sure tho. It would be interesting to know whether the lag still happens on emulated wiimotes as well, when the game tries to rumble.
4.) Connecting(pairing up and refreshing) a 2nd/3rd/4th real wiimote while having a game running/paused, might swap player slots and cause disconnects at that moment.
If u have more issues, feel free to post them, to have them all here collected once more to get a brief overview.
Apart from that, increase the wiimote read timeout @settings(20-200). If your  expecting frequent disconnects, restart dolphin, and don't open the wiimote gui before playing instead directly start games.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5788 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-26 02:08:30 +00:00
Soren Jorvang
05915922c5 Hopefully fix Windows build.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5726 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-16 14:55:21 +00:00
Soren Jorvang
ce3eb2a13b Automatically detect and use shared library packages for
LZO/SFML/SOIL as already done for GLEW/SDL/zlib.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5723 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-16 12:42:49 +00:00
Soren Jorvang
980a2680be Trim down the SDL and GLEW libraries to just those files we use.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5720 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-16 09:11:29 +00:00
Soren Jorvang
b0dff28539 Attempt to resolve the conflict between SDL/include and SDL/Include.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5717 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-16 01:14:18 +00:00
Soren Jorvang
494ba1eba2 Lint.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5716 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-16 00:58:34 +00:00
Soren Jorvang
391312641c Build GLEW, SDL and zlib as static libraries from Externals as with
LZO/SFML/SOIL and subject to the same shared_foo exception options.

This makes building a self-contained distribution package much easier.

TBD: Cg and wxWidgets 2.9.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5712 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-16 00:07:52 +00:00
Soren Jorvang
2db54798d7 Import SDL 1.2.14 and GLEW 1.5.4.
I am not replacing the following header files used by the Windows build,
as I don't have a Windows build setup to test. Please point the Windows
build at the header files inside these clean distribution packages and
garbage collect the duplicates: GLew/*.h and SDL/Include_1.2.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5711 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-15 23:31:13 +00:00
Soren Jorvang
b560d2456e Integrate the standalone memcard manager into the main build.
Use 10.5 SDK header files in an attempt to keep us honest and
10.5 compatible. I'd do the same with system libraries, but
the linker gives strange errors when I try that. We also link
against third party libraries from Macports that haven't had
any magic 10.5 compat dust sprinkled over them, so maybe it
isn't very important anyway.

Move the OS X variable section in SConstruct upwards a bit to
have the settings apply to more of the config tests. SCons'
ParseConfig causes problems for the -arch tuples, though, so
the SDL check still isn't quite as comprehensive as it should
be.

Put the XCode project out of its misery.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5693 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-14 18:07:29 +00:00
Soren Jorvang
d937b73d9c Cure some bit rot and allow building the standaline memcard manager on OS X.
The app appears broken though.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5650 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-11 15:18:36 +00:00
Soren Jorvang
ce82c43bb7 Disable the Wiiuse banner and instead credit Michael Laforest,
the original author, in the About dialog. Ok'ed with him.

WX doesn't reflow text terribly well, so format it manually.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5646 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-10 14:39:08 +00:00
Soren Jorvang
404c625622 Simplify the SCons build:
On OS X, build all code as Objective-C(++).

Centralize framework handling.

Cleanup.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5645 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-10 14:18:21 +00:00
hrydgard
5845ff6728 build fixin', warning fixin'.
Thanks soren for the macosx fixes, this fixes the windows build and eliminates some warning from the same.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5643 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-09 21:19:23 +00:00
Soren Jorvang
e648c6d68b Overhaul of OS X real Wiimote support.
Fixes a number of problems, including unreliable connection setup, 
frequent disconnections, busy-waiting and shutdown deadlocks.

Motion Plus and nunchuk hot swapping now work and Wiiuse does a small
amount of queueing to prevent occasional dropped packets. The OS X 
bluetooth stack has no internal input buffering and while a worker  
thread can easily keep up with data coming from the Wiimote, the rest
of Dolphin can easily get behind if it is blocked by disk I/O or 
similar. Mostly the Wiimote protocol recovers from dropped packets,   
but sometimes the Wiimote would get out of sync and send a disconnect.
I wonder if the other platforms might benefit from a bit of queueing
at this layer as well.
 
Still doesn't support multiple devices, as I kept changing my mind 
about how best to do it. I only have one Wiimote anyway..
 
One improvement to the Wiimote plugin that would be really nice would
be for the scan for new devices to operate continuously or periodically
like on a real Wii rather than just for 5 seconds at startup..   


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5640 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-09 19:36:08 +00:00
Shawn Hoffman
4a0c8fc0c9 Hg:
enable newline normalization
get revision number via `hg svn info` for svnrev.h
ignore incremental/generated binary files (windows/VS at least)
leave a comment if some files need native eol set in svnprops

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5637 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-09 01:37:08 +00:00
Soren Jorvang
30e437f9e3 Fix some cases of variables being used uninitialized. Also some unused
variables, writeable strings and dangerously shadowed variables.

index(), gamma(), exp() and y0() are POSIX functions and using those
names can cause namespace confusion.

A number of C files were missing the final newline required by ANSI C
and some versions of GCC are pedantic enough to complain about this.

These changes simply the scons build, allowing us to get rid of
filterWarnings which is simply more trouble than it's worth.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5574 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-02 20:35:12 +00:00
Soren Jorvang
03d1438be8 Cleanup after multi-level SVN rename.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5573 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-02 18:07:08 +00:00
Soren Jorvang
664cea45c7 Meta:
Using Unix tools to operate on a tree containing filename with spaces in them
is really annoying, so rename the handful of instances where there were spaces.

Host.cpp has never been used.

Games tend to lookup the following directories that we don't yet have anything
to put in, so prepopulate them in Data/User/Wii:

title/00010001
title/00010002
title/00010003
title/00010004
title/00010005
title/00010006
title/00010007
meta
shared2/title
 
Set eol-style native on a number of text files which didn't already have it.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5572 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-02 18:00:22 +00:00
Soren Jorvang
66c480c86b Don't print a bogus number of bluetooth devices found.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5559 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-31 16:54:21 +00:00
Soren Jorvang
774035d715 Always build a universal binary on OS X. This requires wxWidgets >= 2.9.
Enable -Werror (OS X only so far - please test and enable on other platforms).
Clean up library handling a bit.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5504 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-26 21:31:50 +00:00
Soren Jorvang
7215732bcd Don't assume writeable C strings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5493 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-26 20:55:04 +00:00
NeoBrainX
655e3b3381 MSVC++ 2010 doesn't seem to like certain function declarations, fixed SOIL.h accordingly.
Thanks to xsacha for reporting.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5469 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-23 13:09:52 +00:00
snzgoo
c59409b46a Introducing WM_DEVICECHANGE win32callback.
No need to press the "refresh wiimotes" button on pair up anymore, checking the extended pair up box(still experimental) allows u to pair and hook up the wiimote while being ingame. You still need to do the ALT+F5/F6/F7/F8 connect, but you wont need to press the pair up button + refresh button anymore, feel free to test it, its not perfect yes. Just press 1+2 on your Wiimote to pair it up ingame(you need to check the extended pair up box for that feature).
PS I hope I didnt break nonwin32 builds, I gave my best however.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5413 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-26 17:51:32 +00:00
snzgoo
c344502524 wiiuse buildfix nonwin32, mea culpa.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5412 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-26 10:49:12 +00:00
snzgoo
06f0bc91ee Just a small WIIUSE[WIN32] update to avoid dependencies @wiimote_plugin in my next commit.
You can check whether WM_DEVICECHANGE got triggered by a Wiimote.(Pair-up arrival/removal)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5410 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-25 22:39:47 +00:00
Glenn Rice
9095b4d67f Link wiiuse statically in linux.
Fixes issue 2562


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5384 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-18 14:50:21 +00:00
nitsuja-
b31042cb10 fixed a bug where events scheduled for the same time run in backwards order
simplified CoreTiming::AddEventToQueue
fixed emu.frameadvance and implemented emu.wait
fixed Lua script termination
brought over some luaconf customizations to fix issue 2245 in a better way and deal with certain other scripting problems

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5383 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-18 08:28:52 +00:00
Shawn Hoffman
50a4293d85 update zlib to 1.2.4
changelog is at http://www.zlib.net/ChangeLog.txt

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5318 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-10 17:10:32 +00:00
Shawn Hoffman
25684ab5a9 update SFML_Network to 1.6
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5317 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-10 16:53:06 +00:00
Shawn Hoffman
9d1cb60aff update GLew from 1.5.1 to 1.5.3
see http://glew.sourceforge.net/log.html for changelog

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5316 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-10 16:41:23 +00:00
Shawn Hoffman
4fe3924d54 Update Cg to 2.2 Feb 2010
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5315 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-10 16:22:45 +00:00
Shawn Hoffman
4b5b074b81 sanchez's patch for real wiimote pair-up, unexpected disconnect, and wiiuse resource leakage.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5313 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-10 14:39:54 +00:00
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
John Peterson
99d7bf724d General: Removed duplicate comment and an old comment about wx
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4174 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 22:31:02 +00:00
John Peterson
5d3814aa68 VS solution: Removed duplicate DebugFast configuration for non-wx externals to avoid double linking errors. If there is a need for a third configuration for an external library, file names needs to be adjusted, for example.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4166 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 19:21:09 +00:00
hrydgard
e97bc516e6 Warning fixes/suppressions(aui), assorted code cleanup, d3d vertex shader cache expiration interval increased.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4165 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 18:55:36 +00:00
John Peterson
ad491dd9f0 GUI: Log window colors in windows, font and word wrap option
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4157 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 12:09:51 +00:00
LPFaint99
649dc12a64 have dolphin default to portable
some ignores added
x64 compile fix thanks to facugaich

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4151 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 02:09:13 +00:00
hrydgard
0b5c993076 Misc : build fix for debug x64, assorted cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4127 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-31 22:42:10 +00:00
nakeee
387c6fdecd fix linux build in hope it will help JP to fix the gui on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4121 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-31 21:07:20 +00:00
LPFaint99
f6b4957962 fixes jitil x64 build
remove solution filters from Dolphin_Externals.sln (still think it should be renamed though)
fixes typo in zlib.vcproj

tested release and release jitil in x86/64, and debug/debug fast win32

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4100 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-29 19:27:55 +00:00
John Peterson
9999936a61 VS solution: Created programs solution
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4092 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-29 08:07:58 +00:00
John Peterson
505a269c7f VS solution: Added combined Dolphin and externals solution
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4091 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-29 07:12:34 +00:00
John Peterson
217e0da0e6 Externals: Fixed the wx lib builds
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4073 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-27 05:58:32 +00:00
John Peterson
53a8ca52b6 GUI: Fixed the render-to-main fullscreen mode and screen resizing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4056 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-25 06:34:58 +00:00
John Peterson
6b8b576bab VS solution: Removed left over configurations in wx_aui.vcproj
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4055 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-25 02:23:32 +00:00
John Peterson
3b84e35e38 GUI: Added the wx_aui files
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4054 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-25 02:13:59 +00:00
John Peterson
97e3db2eb9 VS solution: Added x64 build to wx_aui
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4053 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-25 02:05:26 +00:00
John Peterson
b01b7c78a5 GUI: Moved debugging window to AUI, more AUI improvements to be done
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4052 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-25 01:50:27 +00:00
XTra.KrazzY
6743dd6913 ...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4050 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-24 21:46:28 +00:00
XTra.KrazzY
bb14237a9a Reverted r4045, it works for me!(R) How about you?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4049 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-24 21:41:36 +00:00
John Peterson
d37a600733 Windows Build: Fixed the other settings
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4046 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-24 09:00:35 +00:00
John Peterson
d71cb02fc9 Windows Build: Moved externals to separate solution
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4045 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-24 07:11:50 +00:00
LPFaint99
9fcb1db34f unicode fixings, disable r3999 change, change filename for debug memcardmanager
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4041 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-23 21:20:08 +00:00
XTra.KrazzY
68957ed5e9 Added the Lua (5.1.4) external dependency. Verify this compiles on Linux too. Now all we need to do is implement some interface.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4038 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-23 13:13:58 +00:00
LPFaint99
f2c561f4d0 Scons build scripts to compile standalone memcard manager on linux
can probably be cleaned up more, and may compile on osx with a few modifications

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3998 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-16 06:21:02 +00:00
LPFaint99
7e43c60314 fix build for Externals/Memcard Manager/Memcard Manager.vcproj
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3983 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-15 07:23:31 +00:00
tmator
7b19632b4a better wiimote code for osx with sonic fix, wiimote works better in wiiuse, but not in dolphin becau i think the read function in the wiimote plugin is in a separate thread and osx dont like this
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3924 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-01 19:35:45 +00:00
LPFaint99
5b735361e8 InputCommon now builds in unicode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3922 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-01 19:11:05 +00:00
LPFaint99
c2b7895f11 set vcproj to unicode for everything except Core, Common, DiscIO, InputCommon, and Plugin_VideoDX9
and wxUSE_UNICODE set to 1 for wx

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3907 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-30 07:11:51 +00:00
XTra.KrazzY
c86d2e5129 Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3898 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-28 21:32:10 +00:00
LPFaint99
4bbc432506 Add log for MEMCARD_MANAGER (requires an almost complete rebuild :( sorry)
Fix a crash when trying to delete a save from a memcard that the DEntry order does not match the starting block order
add the option to export saves as GCS and SAV
Buildfix for external MEMCARD_MANAGER

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3826 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-18 01:16:17 +00:00
Shawn Hoffman
ce52073cb8 organize wiiuse source a little
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3743 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-11 08:53:44 +00:00
Sonicadvance1
afa6372d96 Dolphin now compiles in OS X with Xcode. At least in release setting
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3709 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-08 08:04:36 +00:00
XTra.KrazzY
92e63e3ac4 Various changes: Fixed linux build, added some zelda ucode RE, added HLE mail logging features
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3704 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-07 15:12:52 +00:00
Sonicadvance1
440c0c1d14 Trying to get Dolphin to compile in Xcode, had to rename the Debugger namespace to something else since the name collided in OS X when using Xcode/Cocoa. Everything compiles except for the GL plugin, and the actual main Dolphin program. Will be trying to get them to compile after sleeping
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3701 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-07 14:04:56 +00:00
Shawn Hoffman
7e8a2fc136 remove MusicMod
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3657 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-03 03:26:23 +00:00
Shawn Hoffman
466eb88ee6 update to sfml 1.5
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3594 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-29 15:51:35 +00:00
Sonicadvance1
f49e479d09 Tiny work in Wiimote Linux, with an extension plugged in, the game tries reading accel data and maybe extension data, too bad the games fail to actually read the information though
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3565 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 10:40:19 +00:00
Sonicadvance1
1f590b8900 Fix a mess up on my part, causing a bunch of unknown events in Linux with the Wiimote. Dolphin sends out packets without the start 0x52 byte. WiiUse checks for this and adds it automatically. Wiimote is still having some problems, trying to figure it out
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3536 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-22 11:56:27 +00:00
Sonicadvance1
cbff6dfde3 Get Wiimote working in Linux, events.c works the same under Linux as OSX, Windows strips the first byte of the packet? Probably should be handled in WiiUse instead of our code
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3535 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-22 10:11:31 +00:00
Sonicadvance1
cbd4f8937b Fix Wiimote connection issues under my Ubuntu 9.10
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3529 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-21 16:51:27 +00:00
death2droid
619ca8415a Add some dll's required to use in_vgmstream for MusicMod
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3526 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-21 12:29:54 +00:00
hrydgard
aecaf271f1 New DSP debugger: step one. (not ready yet, but try loading zelda WW and look at the dsp debugger..).
Had to shuffle around quite a lot of code to be able to extract the CodeView into a library nicely so it can be used from both the main dolphin and the LLE plugin...  also extracted the symboldb code.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3517 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-21 08:39:21 +00:00
death2droid
09d5313410 Remove a lot of warnings from MusicMod.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3509 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 11:31:26 +00:00
John Peterson
c66c54814c MusicMod: Fixed the build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3507 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 11:05:52 +00:00
John Peterson
636746490e MusicMod: Prepare to fix the MusicMod build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3505 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 10:58:15 +00:00
death2droid
54009f00c8 Wii use source SConsript fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3372 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-08 08:08:32 +00:00
death2droid
b46e8ab1b8 Just little things (Nothing special)
Just added a couple of defines and added some ignores of build folders ect.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3311 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-03 06:07:15 +00:00
death2droid
840715cb69 Remove wiiuse.suo
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3305 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-01 11:41:45 +00:00
death2droid
fa7daf298b Added someone's addition to Wiiuse that allows some Wii balance board features.
http://www.wiiuse.net/forums/viewtopic.php?f=3&t=181&sid=a9460693620dd73fed22b10259a610b4

This is hasn't being built and is untested.

If anyone has the required hid files can they send them to me please on the forum.
Anyway this shouldn't break anything at all.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3304 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-01 08:39:05 +00:00
sl1nk3.s
034e3c72a2 Fixed some crashes in netplay, so it actually works :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3233 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-14 18:53:59 +00:00
sl1nk3.s
176d528719 Introducing Netplay, currently not extremely polished, and not yet fully tested..
Thanks to shuffle2 for fixing the linux build on an earlier version, still pending other linux fixes :P

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3220 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-13 21:50:24 +00:00
hrydgard
7c75b01dbf make sure _SECURE_SCL=0 is set properly in a couple of new project files
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3212 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-12 19:12:14 +00:00
nakeee
9a25c5f70b Linux 64 compile fix (fix issue 948)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3199 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-11 12:38:20 +00:00
nakeee
9108a850b7 Forgot a file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3192 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-10 11:09:42 +00:00
Shawn Hoffman
b7ba3577be sfml apparently distributes vcproj files with incorrect relative paths...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3186 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-08 19:08:55 +00:00
Shawn Hoffman
267b998ac6 fix various sfml network output directories
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3185 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-08 17:15:13 +00:00
Shawn Hoffman
56398758b0 Add sfml network library. Hopefully this will make net-related coding a breeze :)
Note that as it is not used by anything yet, it has not yet been added as a dependency for any projects

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3184 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-08 17:04:11 +00:00
Shawn Hoffman
79aa90b876 really fix SOIL-related troubles, i think :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3183 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-08 16:41:08 +00:00
death2droid
1d593069b5 x64 SOIL fix thanks to baby.lueshi
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3180 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-08 13:16:30 +00:00
death2droid
08179aa16c Fix windows build problem with SOIL
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3177 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-08 11:20:27 +00:00
nakeee
2760dbd034 Removed MusicMod, it's hacky, it's not maintained and it seems it didn't compile for a while now.
Also with the advance of LLE sound we won't really need it.
If someone disagree feel free to make it compile and recommit :-)


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3176 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-08 09:53:57 +00:00
nakeee
1e07b26356 Move soil to external, this breaks windows build until deathroi will commit the windows part
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3175 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-08 09:31:57 +00:00
death2droid
84cd78d9c7 Some changes to MusicMod replacing the old debugging stuff.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3174 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-08 07:10:26 +00:00
tmator
f2e92a6500 wiiuse can read data on osx now
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3156 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-05 20:25:55 +00:00
Shawn Hoffman
1d62782d89 upgrade to nvidia Cg 2.2
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3145 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-03 18:46:18 +00:00
nakeee
edc143e25d Compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3112 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-30 17:28:43 +00:00
LinesPrower
c8fbc3941d Fix the disassembler (fmr instruction)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3111 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-30 17:12:07 +00:00
tmator
3917941ae1 wiimote for osx WIP
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3109 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-30 14:23:45 +00:00
LPFaint99
f852ea41c4 Add the option to filter gamelist
add a drive command that I have only seen with gcos multigame discs that allows them to boot, otherwise they will hang
add a default path for browse in memcard manager
fixed display of format time in MCMdebug.cpp

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3098 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-28 02:30:50 +00:00
nakeee
5f862cf297 more scons build fixups
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2960 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-12 21:30:22 +00:00
Shawn Hoffman
edf0be235b remove WTL, the last project using it was DSP LLE
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2933 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-08 19:46:30 +00:00
sl1nk3.s
e24e2db1a1 Set SDL 1.2 as default for now, better use stable SDL instead of alpha 1.3 :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2839 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-02 21:10:35 +00:00
hyperiris
94ca9854b8 I wrote a tool to extract the dlls from oalinst.exe.
I hope this can resolve the dll hell problem.

someone help me test?

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2835 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-02 14:25:18 +00:00
Shawn Hoffman
12037487e7 add 64bit OpenAL and fix up build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2801 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-30 15:40:35 +00:00
Shawn Hoffman
da07d04da9 Add precompiled headers back...I like being able to compile in less than 2 hours, kthx
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2780 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-28 17:50:32 +00:00
omegadox
4892dc3c6e fix config for Bochs_disasm.vcproj
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2770 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-28 09:13:21 +00:00
omegadox
eb0cab140f Some code cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2768 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-28 08:57:34 +00:00
hyperiris
a5db816490 prepare for OpenAL back end
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2763 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-27 15:11:14 +00:00
Sonicadvance1
d7038fea17 Made wiiuse_io_read work under Linux. still no Wiimote working under linux though, which Im not quite sure why. the mode seems to get set most of the time. Maybe mine is blocking?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2755 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-26 03:07:12 +00:00
omegadox
f085245285 small fix to wxcore28 project
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2748 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-24 18:25:42 +00:00
omegadox
34c05f8e87 Added project for AudioCommon.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2742 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-23 20:00:12 +00:00
LPFaint99
b00fd93f09 Fix build for Externals\Memcard Manager
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2736 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-23 00:44:24 +00:00
omegadox
4bd01ad4fe Ignore warnings on wx projects for all config.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2722 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-21 23:25:20 +00:00
hrydgard
d046b55d1b Change a bunch of project settings to reduce the flood of warnings you get when building in debug mode. Tweak bootup logging a bit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2706 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-20 22:54:59 +00:00
Shawn Hoffman
eff7b1aa14 Update wxWidgets to 2.8.10. I thought this would fix an issue with something I was trying to add, but it doesn't. might as well update it anyways...See http://www.wxwidgets.org/downloads/ for changelog
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2686 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-20 05:41:36 +00:00
LPFaint99
f4ba5b3589 Some scons updates,
windows scons will build if dirs = 
    'Externals/Bochs_disasm',
    'Externals/LZO',
    'Externals/WiiUseSrc/Src', 
    #'Source/Core/Common/Src',
    #'Source/Core/Core/Src',
   # 'Source/Core/DiscIO/Src',
   # 'Source/Core/VideoCommon/Src',
    #'Source/Core/InputCommon/Src',
    'Source/Plugins/Plugin_VideoOGL/Src',
    #'Source/Plugins/Plugin_DSP_HLE/Src',
    'Source/Plugins/Plugin_DSP_LLE/Src',
    'Source/Plugins/Plugin_PadSimple/Src',
    'Source/Plugins/Plugin_PadSimpleEvnt/Src',
   # 'Source/Plugins/Plugin_nJoy_SDL/Src',
    #'Source/Plugins/Plugin_nJoy_Testing/Src',
    #'Source/Plugins/Plugin_Wiimote/Src',
   # 'Source/Core/DolphinWX/Src',
    'Source/Core/DebuggerWX/Src',

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2627 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-09 00:36:59 +00:00
Marcus Wanners
3abe591195 Fixed a small bug with the overlaid framerate: If the float fps in the infobar is 60.00, the overlay shows 60. If it is something like 60.04, it shows 61. If it is something like 59.13, it shows 60.
Also deleted Externals/wxWidgets/lib/vc_lib/msw/wx/msw/rcdefs.h, it must have been versioned at some point by accident, causing issue 706.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2567 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-06 15:18:29 +00:00
daco65
7274cb4dce nakee reminded me i would merge the ini database with the main svn once in a while
so here you go :P

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2537 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-03 14:48:44 +00:00
hyperiris
281e6bc883 update glew to 1.5.1
if this commit breaks something, please revert.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2534 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-03 02:34:21 +00:00
XTra.KrazzY
63590b8879 Finished downgrade to Cg 2.0.0016
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2519 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-02 09:43:37 +00:00
XTra.KrazzY
76cbdf8694 Finished the reverting of Cg.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2518 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-02 08:40:49 +00:00
XTra.KrazzY
e1850ae0f7 Reverted entire Cg to 2.0.0016 due to reported black screen issues.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2517 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-02 08:36:38 +00:00
LPFaint99
917fca3e70 oops missed a file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2500 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-01 07:22:02 +00:00
LPFaint99
4868d570bc adds some info about the memcard header, taken from libogc
wip real format function for GCMemcard class
somewhat useful memcard debug window
sram header taken from libogc

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2499 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-01 07:15:10 +00:00
XTra.KrazzY
3234bca193 Direct3D + Cg progress, the plugin is still not working due to some missing features.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2494 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-01 01:09:32 +00:00
XTra.KrazzY
fc1c441987 A working version of win64 cg
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2478 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-28 20:30:24 +00:00
Shawn Hoffman
bebd610c9f update cg to 2.1.0.17
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2471 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-28 17:22:08 +00:00
tmator
0b8f7439cb fix plugin dir on osx
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2443 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-26 07:24:50 +00:00
tmator
8784eac850 miising file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2278 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-16 21:12:37 +00:00
tmator
cf8220dc9c fix osx build, and first step to get real wiimotes on osx
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2277 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-16 21:12:00 +00:00