summaryrefslogtreecommitdiff
path: root/src/yuzu/bootmanager.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-01-17 18:34:58 -0500
committerLioncash <mathew1800@gmail.com>2018-01-17 18:35:02 -0500
commite50188374f94b4ea4039ca628313b0e7c40de4d6 (patch)
tree10c13314223270c67e1336fc73d96c6254edc484 /src/yuzu/bootmanager.h
parentee08c39b7251c6a037014b503ecf70ebf8dc5ed5 (diff)
bootmanager: Minor tidiness/correctness changes
Moved over from #3266 in citra.
Diffstat (limited to 'src/yuzu/bootmanager.h')
-rw-r--r--src/yuzu/bootmanager.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/yuzu/bootmanager.h b/src/yuzu/bootmanager.h
index 6974edcbb..130bc613b 100644
--- a/src/yuzu/bootmanager.h
+++ b/src/yuzu/bootmanager.h
@@ -58,7 +58,7 @@ public:
* @return True if the emulation thread is running, otherwise false
* @note This function is thread-safe
*/
- bool IsRunning() {
+ bool IsRunning() const {
return running;
}
@@ -68,12 +68,12 @@ public:
void RequestStop() {
stop_run = true;
SetRunning(false);
- };
+ }
private:
- bool exec_step;
- bool running;
- std::atomic<bool> stop_run;
+ bool exec_step = false;
+ bool running = false;
+ std::atomic<bool> stop_run{false};
std::mutex running_mutex;
std::condition_variable running_cv;