mirror of
https://github.com/citra-emu/citra.git
synced 2024-12-19 14:41:05 +00:00
dedicated_room: allow maximum members = 254
Without this change, it will not accept 254 but it will say that the maximum is 254.
This commit is contained in:
parent
80f1076a07
commit
1ec7c951a8
@ -142,7 +142,7 @@ int main(int argc, char** argv) {
|
|||||||
std::cout << "preferred-game-id not set!\nThis should get set to allow users to find your "
|
std::cout << "preferred-game-id not set!\nThis should get set to allow users to find your "
|
||||||
"room.\nSet with --preferred-game-id id\n\n";
|
"room.\nSet with --preferred-game-id id\n\n";
|
||||||
}
|
}
|
||||||
if (max_members >= Network::MaxConcurrentConnections || max_members < 2) {
|
if (max_members > Network::MaxConcurrentConnections || max_members < 2) {
|
||||||
std::cout << "max_members needs to be in the range 2 - "
|
std::cout << "max_members needs to be in the range 2 - "
|
||||||
<< Network::MaxConcurrentConnections << "!\n\n";
|
<< Network::MaxConcurrentConnections << "!\n\n";
|
||||||
PrintHelp(argv[0]);
|
PrintHelp(argv[0]);
|
||||||
|
Loading…
Reference in New Issue
Block a user