citra-emu
/
citra
Archived
1
0
Fork 0

Merge pull request #4497 from valentinvanelslande/patch-1

dedicated_room: allow maximum members = 254
This commit is contained in:
Pengfei Zhu 2018-12-12 19:45:00 +08:00 committed by GitHub
commit 65d62b1b87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 "
"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 - "
<< Network::MaxConcurrentConnections << "!\n\n";
PrintHelp(argv[0]);