mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-12 19:19:03 +00:00
NetPlay: Fix build when miniupnpc is disabled.
This commit is contained in:
parent
2a5d22b3a7
commit
c4cd0d444a
2 changed files with 5 additions and 1 deletions
|
@ -41,7 +41,9 @@ public:
|
|||
|
||||
std::string game_name;
|
||||
u16 listen_port = 0;
|
||||
#ifdef USE_UPNP
|
||||
bool forward_port;
|
||||
#endif
|
||||
};
|
||||
|
||||
class NetPlayJoinConfig : public NetPlayLaunchConfig
|
||||
|
@ -57,4 +59,4 @@ class NetPlayLauncher
|
|||
public:
|
||||
static bool Host(const NetPlayHostConfig& config);
|
||||
static bool Join(const NetPlayJoinConfig& config);
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue