DolphinQt / InputCommon - add DSU string validator to avoid crashes, limited backwards compatibility support

This commit is contained in:
iwubcode
2020-07-13 00:26:43 -05:00
parent 58aa0150e1
commit 97c9cf3e21
8 changed files with 86 additions and 0 deletions

View File

@ -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