diff options
author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2020-09-14 22:39:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-14 22:39:05 +0200 |
commit | 1a9774f824c3ae75e9344d897deec19ba871f059 (patch) | |
tree | 44638c8d178116c2d990bae4a9dfa7319f36cdaa /src/core/hle/kernel/server_session.h | |
parent | Merge pull request #4636 from lioncash/kernel-hle (diff) | |
parent | kernel: Remove all dependencies on the global system instance (diff) | |
download | yuzu-1a9774f824c3ae75e9344d897deec19ba871f059.tar yuzu-1a9774f824c3ae75e9344d897deec19ba871f059.tar.gz yuzu-1a9774f824c3ae75e9344d897deec19ba871f059.tar.bz2 yuzu-1a9774f824c3ae75e9344d897deec19ba871f059.tar.lz yuzu-1a9774f824c3ae75e9344d897deec19ba871f059.tar.xz yuzu-1a9774f824c3ae75e9344d897deec19ba871f059.tar.zst yuzu-1a9774f824c3ae75e9344d897deec19ba871f059.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/server_session.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/core/hle/kernel/server_session.h b/src/core/hle/kernel/server_session.h index 403aaf10b..d23e9ec68 100644 --- a/src/core/hle/kernel/server_session.h +++ b/src/core/hle/kernel/server_session.h @@ -18,8 +18,9 @@ class Memory; } namespace Core::Timing { +class CoreTiming; struct EventType; -} +} // namespace Core::Timing namespace Kernel { @@ -87,12 +88,14 @@ public: /** * Handle a sync request from the emulated application. * - * @param thread Thread that initiated the request. - * @param memory Memory context to handle the sync request under. + * @param thread Thread that initiated the request. + * @param memory Memory context to handle the sync request under. + * @param core_timing Core timing context to schedule the request event under. * * @returns ResultCode from the operation. */ - ResultCode HandleSyncRequest(std::shared_ptr<Thread> thread, Core::Memory::Memory& memory); + ResultCode HandleSyncRequest(std::shared_ptr<Thread> thread, Core::Memory::Memory& memory, + Core::Timing::CoreTiming& core_timing); bool ShouldWait(const Thread* thread) const override; |