mirror of
https://github.com/PabloMK7/citra.git
synced 2025-10-11 03:50:04 +00:00
core, web_service: Check for error when registering rooms
The `Register()` function can now handle error results and the error will be passed immediately to the Qt frontend, instead of being ignored silently and failing later with a "Room is not registered".
This commit is contained in:
parent
81988d96fe
commit
36051204cc
7 changed files with 67 additions and 33 deletions
|
@ -29,7 +29,7 @@ public:
|
|||
const AnnounceMultiplayerRoom::MacAddress& mac_address, const u64 game_id,
|
||||
const std::string& game_name) override;
|
||||
Common::WebResult Update() override;
|
||||
std::string Register() override;
|
||||
Common::WebResult Register() override;
|
||||
void ClearPlayers() override;
|
||||
AnnounceMultiplayerRoom::RoomList GetRoomList() override;
|
||||
void Delete() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue