diff options
| author | 2018-05-03 00:16:12 -0400 | |
|---|---|---|
| committer | 2018-05-10 19:34:47 -0400 | |
| commit | cba69fdcd439c5f225bbddf1dad70e6326edd0dc (patch) | |
| tree | b608addf14d16c634cbe99a04e7931adfb2dbf31 /src/core/core.h | |
| parent | core: Implement multicore support. (diff) | |
| download | yuzu-cba69fdcd439c5f225bbddf1dad70e6326edd0dc.tar.gz yuzu-cba69fdcd439c5f225bbddf1dad70e6326edd0dc.tar.xz yuzu-cba69fdcd439c5f225bbddf1dad70e6326edd0dc.zip | |
core: Support session close with multicore.
Diffstat (limited to 'src/core/core.h')
| -rw-r--r-- | src/core/core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/core.h b/src/core/core.h index 3e0a7e6a7..561e7b48f 100644 --- a/src/core/core.h +++ b/src/core/core.h | |||
| @@ -92,7 +92,7 @@ public: | |||
| 92 | * @returns True if the emulated system is powered on, otherwise false. | 92 | * @returns True if the emulated system is powered on, otherwise false. |
| 93 | */ | 93 | */ |
| 94 | bool IsPoweredOn() const { | 94 | bool IsPoweredOn() const { |
| 95 | return cpu_cores[0] != nullptr; | 95 | return cpu_barrier && cpu_barrier->IsAlive(); |
| 96 | } | 96 | } |
| 97 | 97 | ||
| 98 | /** | 98 | /** |