diff options
| author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2020-09-14 20:39:05 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-14 20:39:05 +0000 |
| commit | 1a9774f824c3ae75e9344d897deec19ba871f059 (patch) | |
| tree | 44638c8d178116c2d990bae4a9dfa7319f36cdaa /src/core/hle/kernel/server_session.h | |
| parent | 042567e4b21312dc00f1831401d32096364e0226 (diff) | |
| parent | ec2a6e5ba801d850380742db19c1546ac3ff9c4b (diff) | |
Merge pull request #4651 from lioncash/kernel-global
kernel: Remove all dependencies on the global system instance
Diffstat (limited to 'src/core/hle/kernel/server_session.h')
| -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; |
