diff options
Diffstat (limited to 'src/dedicated_room/yuzu_room.cpp')
| -rw-r--r-- | src/dedicated_room/yuzu_room.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dedicated_room/yuzu_room.cpp b/src/dedicated_room/yuzu_room.cpp index d707dabe2..93038f161 100644 --- a/src/dedicated_room/yuzu_room.cpp +++ b/src/dedicated_room/yuzu_room.cpp | |||
| @@ -368,9 +368,9 @@ int main(int argc, char** argv) { | |||
| 368 | if (auto room = network.GetRoom().lock()) { | 368 | if (auto room = network.GetRoom().lock()) { |
| 369 | AnnounceMultiplayerRoom::GameInfo preferred_game_info{.name = preferred_game, | 369 | AnnounceMultiplayerRoom::GameInfo preferred_game_info{.name = preferred_game, |
| 370 | .id = preferred_game_id}; | 370 | .id = preferred_game_id}; |
| 371 | if (!room->Create(room_name, room_description, bind_address, port, password, max_members, | 371 | if (!room->Create(room_name, room_description, bind_address, static_cast<u16>(port), |
| 372 | username, preferred_game_info, std::move(verify_backend), ban_list, | 372 | password, max_members, username, preferred_game_info, |
| 373 | enable_yuzu_mods)) { | 373 | std::move(verify_backend), ban_list, enable_yuzu_mods)) { |
| 374 | LOG_INFO(Network, "Failed to create room: "); | 374 | LOG_INFO(Network, "Failed to create room: "); |
| 375 | return -1; | 375 | return -1; |
| 376 | } | 376 | } |