Fix the shared data dir for the global build on linux.

Also silence some compiler warnings.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6108 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice 2010-08-18 02:24:02 +00:00
parent 84152919dc
commit 4a61432f14
2 changed files with 3 additions and 3 deletions

View File

@ -312,7 +312,7 @@ else:
env['binary_dir'] = env['prefix'] + '/bin'
env['data_dir'] = env['prefix'] + "/share/dolphin-emu"
env['plugin_dir'] = env['prefix'] + '/lib/dolphin-emu'
conf.Define('DATA_DIR', "\"" + env['data_dir'] + "\"")
conf.Define('DATA_DIR', "\"" + env['data_dir'] + "/\"")
conf.Define('LIBS_DIR', "\"" + env['prefix'] + '/lib/' + "\"")
# Setup destdir for package building
# Warning: The program will not run from this location.

View File

@ -50,8 +50,8 @@ void StopWiimoteThreads();
Wiimote *g_wiimotes[MAX_WIIMOTES];
Wiimote::Wiimote(wiimote_t* const _wiimote, const unsigned int _index)
: wiimote(_wiimote)
, index(_index)
: index(_index)
, wiimote(_wiimote)
, m_last_data_report(NULL)
, m_channel(0)
{