diff options
author | Lioncash <mathew1800@gmail.com> | 2020-09-14 20:03:10 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-09-14 20:03:13 +0200 |
commit | ec2a6e5ba801d850380742db19c1546ac3ff9c4b (patch) | |
tree | 44638c8d178116c2d990bae4a9dfa7319f36cdaa /src/core/hle/kernel/server_session.h | |
parent | Merge pull request #4636 from lioncash/kernel-hle (diff) | |
download | yuzu-ec2a6e5ba801d850380742db19c1546ac3ff9c4b.tar yuzu-ec2a6e5ba801d850380742db19c1546ac3ff9c4b.tar.gz yuzu-ec2a6e5ba801d850380742db19c1546ac3ff9c4b.tar.bz2 yuzu-ec2a6e5ba801d850380742db19c1546ac3ff9c4b.tar.lz yuzu-ec2a6e5ba801d850380742db19c1546ac3ff9c4b.tar.xz yuzu-ec2a6e5ba801d850380742db19c1546ac3ff9c4b.tar.zst yuzu-ec2a6e5ba801d850380742db19c1546ac3ff9c4b.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; |