RemoteISO screens: Make them dialogs so ESC works to exit them on PC.
Also fix the background on the main one, and in savedata manager. See #16605
This commit is contained in:
parent
9f85323b8a
commit
360de9a372
4 changed files with 14 additions and 13 deletions
|
@ -263,11 +263,10 @@ static bool LoadGameList(const Path &url, std::vector<Path> &games) {
|
|||
return !games.empty();
|
||||
}
|
||||
|
||||
RemoteISOScreen::RemoteISOScreen() {
|
||||
}
|
||||
RemoteISOScreen::RemoteISOScreen(const Path &filename) : UIDialogScreenWithGameBackground(filename) {}
|
||||
|
||||
void RemoteISOScreen::update() {
|
||||
UIScreenWithBackground::update();
|
||||
UIDialogScreenWithBackground::update();
|
||||
|
||||
if (!WebServerStopped(WebServerFlags::DISCS)) {
|
||||
auto result = IsServerAllowed(g_Config.iRemoteISOPort);
|
||||
|
@ -414,7 +413,7 @@ void RemoteISOConnectScreen::CreateViews() {
|
|||
void RemoteISOConnectScreen::update() {
|
||||
auto ri = GetI18NCategory("RemoteISO");
|
||||
|
||||
UIScreenWithBackground::update();
|
||||
UIDialogScreenWithBackground::update();
|
||||
|
||||
ScanStatus s = GetStatus();
|
||||
switch (s) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue