mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-28 15:03:07 +00:00
Merge pull request #8135 from Morph1984/websession-hack
applets/web: Keep foreground (websession) web applet open
This commit is contained in:
commit
2d1af6beee
|
@ -446,6 +446,14 @@ void WebBrowser::ExecuteLogin() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void WebBrowser::ExecuteOffline() {
|
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));
|
const auto main_url = GetMainURL(Common::FS::PathToUTF8String(offline_document));
|
||||||
|
|
||||||
if (!Common::FS::Exists(main_url)) {
|
if (!Common::FS::Exists(main_url)) {
|
||||||
|
|
Loading…
Reference in a new issue