mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-01 11:29:40 -06:00
Split networking code into its own target (#2091)
This commit is contained in:
@ -274,7 +274,12 @@ int main(int argc, char** argv)
|
||||
}
|
||||
|
||||
LocalMP::Init();
|
||||
Net::Init();
|
||||
{
|
||||
Config::Table cfg = Config::GetGlobalTable();
|
||||
bool direct = cfg.GetBool("LAN.DirectMode");
|
||||
std::string devicename = cfg.GetString("LAN.Device");
|
||||
Net::Init(direct, devicename.c_str());
|
||||
}
|
||||
|
||||
createEmuInstance();
|
||||
|
||||
|
Reference in New Issue
Block a user