mirror of
https://github.com/yuzu-emu/yuzu-mainline
synced 2024-11-22 18:54:17 +00:00
applets/web: Keep foreground (websession) web applet open
This is a hack to keep the foreground (websession) web applet open in games using these such as Super Mario 3D All-Stars.
This commit is contained in:
parent
550844e5e8
commit
1166c3910d
1 changed files with 8 additions and 0 deletions
|
@ -446,6 +446,14 @@ void WebBrowser::ExecuteLogin() {
|
|||
}
|
||||
|
||||
void WebBrowser::ExecuteOffline() {
|
||||
// TODO (Morph): This is a hack for WebSession foreground web applets such as those used by
|
||||
// Super Mario 3D All-Stars.
|
||||
// TODO (Morph): Implement WebSession.
|
||||
if (applet_mode == LibraryAppletMode::AllForegroundInitiallyHidden) {
|
||||
LOG_WARNING(Service_AM, "WebSession is not implemented");
|
||||
return;
|
||||
}
|
||||
|
||||
const auto main_url = GetMainURL(Common::FS::PathToUTF8String(offline_document));
|
||||
|
||||
if (!Common::FS::Exists(main_url)) {
|
||||
|
|
Loading…
Reference in a new issue