mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Linux global build. At least the basic footwork is done here.
Basic usage: "sudo scons install=global install" Hopefully this doesn't break builds on Macs. I have tested this on linux and windows. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4994 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -17,7 +17,7 @@
|
||||
|
||||
#include "NetSockets.h"
|
||||
#include "NetWindow.h"
|
||||
|
||||
#include "FileUtil.h"
|
||||
|
||||
// Main Frame window
|
||||
|
||||
@ -52,13 +52,13 @@ NetPlay::NetPlay(wxWindow* parent, std::string GamePaths, std::string GameNames)
|
||||
|
||||
NetPlay::~NetPlay()
|
||||
{
|
||||
ConfigIni.Load(CONFIG_FILE);
|
||||
ConfigIni.Load(File::GetUserPath(F_DOLPHINCONFIG_IDX));
|
||||
|
||||
ConfigIni.Set("Netplay", "Nickname", m_nick);
|
||||
ConfigIni.Set("Netplay", "UsedPort", (int)m_port);
|
||||
ConfigIni.Set("Netplay", "LastIP", m_address);
|
||||
|
||||
ConfigIni.Save(CONFIG_FILE);
|
||||
ConfigIni.Save(File::GetUserPath(F_DOLPHINCONFIG_IDX));
|
||||
}
|
||||
|
||||
void NetPlay::OnJoin(wxCommandEvent& WXUNUSED(event))
|
||||
@ -255,7 +255,7 @@ void NetPlay::DrawGUI()
|
||||
panel->SetSizerAndFit(sMain);
|
||||
sMain->SetSizeHints((wxWindow*)this);
|
||||
|
||||
if (ConfigIni.Load(CONFIG_FILE))
|
||||
if (ConfigIni.Load(File::GetUserPath(F_DOLPHINCONFIG_IDX)))
|
||||
{
|
||||
ConfigIni.Get("Netplay", "Nickname", &m_nick, "Unnamed");
|
||||
ConfigIni.Get("Netplay", "UsedPort", (int*)&m_port, 12345);
|
||||
|
Reference in New Issue
Block a user