diff options
| author | Briar <205427297+icy-briar@users.noreply.github.com> | 2025-05-03 17:53:09 +0000 |
|---|---|---|
| committer | icy-briar <briar@noreply.localhost> | 2025-05-03 17:53:09 +0000 |
| commit | 54c3c4503adc502d7f860350e8daa39514960b5d (patch) | |
| tree | 76df14613f5e356812912e55f084d07a920d5152 /src/dedicated_room | |
| parent | d9eea0dc72cd73d9cbeb91e275752fc39fcb536e (diff) | |
android: Add initial frontend for LAN network rooms (#76)
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/76
Co-authored-by: Briar <205427297+icy-briar@users.noreply.github.com>
Co-committed-by: Briar <205427297+icy-briar@users.noreply.github.com>
Diffstat (limited to 'src/dedicated_room')
| -rw-r--r-- | src/dedicated_room/yuzu_room.cpp | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/dedicated_room/yuzu_room.cpp b/src/dedicated_room/yuzu_room.cpp index 93038f161b..7604cf4276 100644 --- a/src/dedicated_room/yuzu_room.cpp +++ b/src/dedicated_room/yuzu_room.cpp @@ -1,6 +1,10 @@ // SPDX-FileCopyrightText: Copyright 2017 Citra Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: Copyright yuzu/Citra Emulator Project / Eden Emulator Project +// SPDX-License-Identifier: GPL-3.0-or-later + + #include <chrono> #include <fstream> #include <iostream> @@ -200,7 +204,6 @@ int main(int argc, char** argv) { u64 preferred_game_id = 0; u32 port = Network::DefaultRoomPort; u32 max_members = 16; - bool enable_yuzu_mods = false; static struct option long_options[] = { {"room-name", required_argument, 0, 'n'}, @@ -268,9 +271,6 @@ int main(int argc, char** argv) { case 'l': log_file.assign(optarg); break; - case 'e': - enable_yuzu_mods = true; - break; case 'h': PrintHelp(argv[0]); return 0; @@ -338,10 +338,6 @@ int main(int argc, char** argv) { Settings::values.yuzu_token = token; } } - if (!announce && enable_yuzu_mods) { - enable_yuzu_mods = false; - LOG_INFO(Network, "Can not enable yuzu Moderators for private rooms"); - } // Load the ban list Network::Room::BanList ban_list; @@ -370,7 +366,7 @@ int main(int argc, char** argv) { .id = preferred_game_id}; if (!room->Create(room_name, room_description, bind_address, static_cast<u16>(port), password, max_members, username, preferred_game_info, - std::move(verify_backend), ban_list, enable_yuzu_mods)) { + std::move(verify_backend), ban_list)) { LOG_INFO(Network, "Failed to create room: "); return -1; } |
