diff options
| author | iwubcode <iwubcode@users.noreply.github.com> | 2020-07-13 00:26:43 -0500 |
|---|---|---|
| committer | iwubcode <iwubcode@users.noreply.github.com> | 2020-07-17 14:53:39 -0500 |
| commit | 97c9cf3e21460a2292c108e676703cdeb826a22f (patch) | |
| tree | 0fafee82afb9876edd225573e8479a02b03c740d /Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.h | |
| parent | 58aa0150e1d3d391d5fd4e04ab402afb10a60fcc (diff) | |
DolphinQt / InputCommon - add DSU string validator to avoid crashes, limited backwards compatibility support
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.h')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.h b/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.h index e7a9057569..2442634783 100644 --- a/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.h +++ b/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.h @@ -13,6 +13,10 @@ constexpr u16 DEFAULT_SERVER_PORT = 26760; namespace Settings { +// These two kept for backwards compatibility +extern const Config::Info<std::string> SERVER_ADDRESS; +extern const Config::Info<int> SERVER_PORT; + extern const Config::Info<std::string> SERVERS; extern const Config::Info<bool> SERVERS_ENABLED; } // namespace Settings |
