diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2018-01-18 16:54:34 -0300 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2018-01-18 14:54:34 -0500 |
| commit | 59575d5cae573b57eb9e1e611e2c25ceb935ec0a (patch) | |
| tree | ec98ab8ec825b0001face3a4e7c9b821bd67e0b2 /src/core/hle/ipc_helpers.h | |
| parent | 463356f0a74d103ff1d4e6ef5cbd73b8a8b53135 (diff) | |
Stub PopLaunchParameter and implement Buffer C Descriptors reading on hle_ipc (#96)
* Stub PopLaunchParameter and implement Buffer C Descriptors reading
* Address PR feedback
* Ensure we push a u64 not a size_t
* Fix formatting
Diffstat (limited to 'src/core/hle/ipc_helpers.h')
| -rw-r--r-- | src/core/hle/ipc_helpers.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/ipc_helpers.h b/src/core/hle/ipc_helpers.h index 25530a3c8..4c9b0de28 100644 --- a/src/core/hle/ipc_helpers.h +++ b/src/core/hle/ipc_helpers.h @@ -54,6 +54,10 @@ public: unsigned GetCurrentOffset() const { return static_cast<unsigned>(index); } + + void SetCurrentOffset(unsigned offset) { + index = static_cast<ptrdiff_t>(offset); + } }; class RequestBuilder : public RequestHelperBase { |
