summaryrefslogtreecommitdiff
path: root/src/yuzu/main.h
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2020-11-30 10:34:18 -0500
committerMorph <39850852+Morph1984@users.noreply.github.com>2020-12-18 10:33:28 -0500
commit2ddd83cdfe2bfb63579d2932a1ee3b26073fbeea (patch)
treec6508d694e6aab367561f325fd624da9b716ed0c /src/yuzu/main.h
parent8b95bf041da573459e953e27eee2dcf30208b02d (diff)
main: Add the ability to disable the web applet
This should only be used for Super Mario 3D All-Stars. This is a temporary solution until it can be implemented properly.
Diffstat (limited to 'src/yuzu/main.h')
-rw-r--r--src/yuzu/main.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/yuzu/main.h b/src/yuzu/main.h
index ed02df3e2..b140995bf 100644
--- a/src/yuzu/main.h
+++ b/src/yuzu/main.h
@@ -325,6 +325,9 @@ private:
// Last game booted, used for multi-process apps
QString last_filename_booted;
+ // Disables the web applet for the rest of the emulated session
+ bool disable_web_applet{};
+
protected:
void dropEvent(QDropEvent* event) override;
void dragEnterEvent(QDragEnterEvent* event) override;