diff options
| author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-06-27 18:20:06 -0400 |
|---|---|---|
| committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-06-27 18:20:06 -0400 |
| commit | 2f8947583f2f0af4058600243d6c1d244e3c4890 (patch) | |
| tree | a0e7a10c6131efb23d6fdb3ee7fc0de4bd4163af /src/core/hle/kernel/physical_core.cpp | |
| parent | e486c66850637a05ba2912e3f1e25a97cfebc41e (diff) | |
Core/Common: Address Feedback.
Diffstat (limited to 'src/core/hle/kernel/physical_core.cpp')
| -rw-r--r-- | src/core/hle/kernel/physical_core.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/kernel/physical_core.cpp b/src/core/hle/kernel/physical_core.cpp index c82c60a16..c6bbdb080 100644 --- a/src/core/hle/kernel/physical_core.cpp +++ b/src/core/hle/kernel/physical_core.cpp @@ -37,6 +37,10 @@ void PhysicalCore::Shutdown() { scheduler.Shutdown(); } +bool PhysicalCore::IsInterrupted() const { + return interrupt_handler.IsInterrupted(); +} + void PhysicalCore::Interrupt() { guard->lock(); interrupt_handler.SetInterrupt(true); |
