mirror of
https://git.citron-emu.org/citron/emulator
synced 2025-12-22 20:03:42 +00:00
Feat: Add multiplayer-room-overlay
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
// SPDX-FileCopyrightText: Copyright 2018 Citra Emulator Project
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
// SPDX-FileCopyrightText: Copyright 2025 citron Emulator Project
|
||||
// SPDX-FileCopyrightText: GPL-2.0-or-later
|
||||
|
||||
#include <QAction>
|
||||
#include <QApplication>
|
||||
@@ -334,3 +335,8 @@ void MultiplayerState::UpdateGameList(QStandardItemModel* game_list) {
|
||||
host_room->UpdateGameList(game_list);
|
||||
}
|
||||
}
|
||||
|
||||
// NEW: Definition for our check
|
||||
bool MultiplayerState::IsClientRoomVisible() const {
|
||||
return client_room && client_room->isVisible();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user