diff options
| author | Léo Lam <leo@leolam.fr> | 2020-05-02 14:39:40 +0200 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2020-05-02 14:40:14 +0200 |
| commit | 19da1011648beb324122f36e6da4cd14cc4c7217 (patch) | |
| tree | 4e139cc8b5f8936f7b9aa245199a939c46bc72bd /Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.cpp | |
| parent | 66c91b9dfbb9f56713d8d71bd4f3dc6d6152e863 (diff) | |
Remove redundant Config prefix from ConfigInfo/ConfigLocation
Both structs are already in the Config namespace.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.cpp')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.cpp b/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.cpp index 3dff8cf309..c398225bfe 100644 --- a/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.cpp +++ b/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.cpp @@ -31,12 +31,12 @@ namespace Settings constexpr char DEFAULT_SERVER_ADDRESS[] = "127.0.0.1"; constexpr u16 DEFAULT_SERVER_PORT = 26760; -const Config::ConfigInfo<bool> SERVER_ENABLED{ - {Config::System::DualShockUDPClient, "Server", "Enabled"}, false}; -const Config::ConfigInfo<std::string> SERVER_ADDRESS{ +const Config::Info<bool> SERVER_ENABLED{{Config::System::DualShockUDPClient, "Server", "Enabled"}, + false}; +const Config::Info<std::string> SERVER_ADDRESS{ {Config::System::DualShockUDPClient, "Server", "IPAddress"}, DEFAULT_SERVER_ADDRESS}; -const Config::ConfigInfo<int> SERVER_PORT{{Config::System::DualShockUDPClient, "Server", "Port"}, - DEFAULT_SERVER_PORT}; +const Config::Info<int> SERVER_PORT{{Config::System::DualShockUDPClient, "Server", "Port"}, + DEFAULT_SERVER_PORT}; } // namespace Settings // Clock type used for querying timeframes |
