diff options
| author | 2019-07-06 13:08:33 -0400 | |
|---|---|---|
| committer | 2019-09-21 22:23:44 -0400 | |
| commit | bbc143718835f62878b408700380b7f56741f259 (patch) | |
| tree | afc4b53be22ccd222e881d9cf07316416784cde9 /src/core/core.h | |
| parent | Merge pull request #2612 from DarkLordZach/prepo-new (diff) | |
| download | yuzu-bbc143718835f62878b408700380b7f56741f259.tar.gz yuzu-bbc143718835f62878b408700380b7f56741f259.tar.xz yuzu-bbc143718835f62878b408700380b7f56741f259.zip | |
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.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/core.h b/src/core/core.h index bb2962fdd..9874ee487 100644 --- a/src/core/core.h +++ b/src/core/core.h | |||
| @@ -322,6 +322,10 @@ public: | |||
| 322 | 322 | ||
| 323 | const Service::APM::Controller& GetAPMController() const; | 323 | const Service::APM::Controller& GetAPMController() const; |
| 324 | 324 | ||
| 325 | void SetExitLock(bool locked); | ||
| 326 | |||
| 327 | bool GetExitLock() const; | ||
| 328 | |||
| 325 | private: | 329 | private: |
| 326 | System(); | 330 | System(); |
| 327 | 331 | ||