unix netplay should actually work now
fceu-server is required; maybe we should start packaging this with fceu?
This commit is contained in:
parent
76fc614d31
commit
d66488ad26
|
@ -166,14 +166,14 @@ InitConfig()
|
|||
config->addOption("SDL.SpecialFX", 0);
|
||||
|
||||
// network play options - netplay is broken
|
||||
/*
|
||||
config->addOption('n', "net", "SDL.NetworkServer", "");
|
||||
config->addOption("server", "SDL.NetworkIsServer", 0);
|
||||
config->addOption('n', "net", "SDL.NetworkIP", "");
|
||||
config->addOption('u', "user", "SDL.NetworkUsername", "");
|
||||
config->addOption('w', "pass", "SDL.NetworkPassword", "");
|
||||
config->addOption('k', "netkey", "SDL.NetworkGameKey", "");
|
||||
config->addOption( 0, "port", "SDL.NetworkPort", 4046);
|
||||
config->addOption('l', "players", "SDL.NetworkNumPlayers", 1);
|
||||
*/
|
||||
config->addOption("port", "SDL.NetworkPort", 4046);
|
||||
config->addOption("players", "SDL.NetworkPlayers", 1);
|
||||
|
||||
// input configuration options
|
||||
config->addOption("input1", "SDL.Input.0", "GamePad.0");
|
||||
config->addOption("input2", "SDL.Input.1", "GamePad.1");
|
||||
|
|
|
@ -94,7 +94,7 @@ FCEUD_NetworkConnect(void)
|
|||
// get any required configuration variables
|
||||
int port, localPlayers;
|
||||
std::string server, username, password, key;
|
||||
g_config->getOption("SDL.NetworkServer", &server);
|
||||
g_config->getOption("SDL.NetworkIP", &server);
|
||||
g_config->getOption("SDL.NetworkUsername", &username);
|
||||
g_config->getOption("SDL.NetworkPassword", &password);
|
||||
g_config->getOption("SDL.NetworkGameKey", &key);
|
||||
|
|
Loading…
Reference in New Issue