diff options
author | bunnei <bunneidev@gmail.com> | 2020-11-14 08:20:32 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2020-11-29 10:31:52 +0100 |
commit | 63fd1bb50302867b233325f253b1e2abbc379875 (patch) | |
tree | 65204a55cc87b2b4ef7260744ff96fabc813c9f6 /src/core/hle/kernel/physical_core.h | |
parent | hle: kernel: time_manager: Avoid a crash on process exit. (diff) | |
download | yuzu-63fd1bb50302867b233325f253b1e2abbc379875.tar yuzu-63fd1bb50302867b233325f253b1e2abbc379875.tar.gz yuzu-63fd1bb50302867b233325f253b1e2abbc379875.tar.bz2 yuzu-63fd1bb50302867b233325f253b1e2abbc379875.tar.lz yuzu-63fd1bb50302867b233325f253b1e2abbc379875.tar.xz yuzu-63fd1bb50302867b233325f253b1e2abbc379875.tar.zst yuzu-63fd1bb50302867b233325f253b1e2abbc379875.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/physical_core.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/kernel/physical_core.h b/src/core/hle/kernel/physical_core.h index ace058a5a..37513130a 100644 --- a/src/core/hle/kernel/physical_core.h +++ b/src/core/hle/kernel/physical_core.h @@ -58,6 +58,10 @@ public: // Shutdown this physical core. void Shutdown(); + bool IsInitialized() const { + return arm_interface != nullptr; + } + Core::ARM_Interface& ArmInterface() { return *arm_interface; } |