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:
Henrik Rydgård 2023-01-01 21:33:11 +01:00
parent 9f85323b8a
commit 360de9a372
4 changed files with 14 additions and 13 deletions

View file

@ -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) {