aboutsummaryrefslogtreecommitdiff
path: root/src/core/core.h
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-07-06 13:08:33 -0400
committerZach Hilman <zachhilman@gmail.com>2019-09-21 22:23:44 -0400
commitbbc143718835f62878b408700380b7f56741f259 (patch)
treeafc4b53be22ccd222e881d9cf07316416784cde9 /src/core/core.h
parenta1b8e5d09a3a38f7d29c2d10985a444dde4faea8 (diff)
core: Track system exit lock status
Used to determine if yuzu should confirm before pausing or stopping a game.
Diffstat (limited to 'src/core/core.h')
-rw-r--r--src/core/core.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/core.h b/src/core/core.h
index bb2962fdd7..9874ee4875 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -322,6 +322,10 @@ public:
const Service::APM::Controller& GetAPMController() const;
+ void SetExitLock(bool locked);
+
+ bool GetExitLock() const;
+
private:
System();