diff options
| author | bunnei <bunneidev@gmail.com> | 2018-01-20 21:32:36 -0500 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2018-01-21 15:51:43 -0500 |
| commit | 8e50d6002bd12dde7e4ba4fd3da1b53864c4058c (patch) | |
| tree | be6d0f47d8418a61a8e6f86ce0dcdbecf801bebd /src/core/hle/ipc_helpers.h | |
| parent | d9a91d76785da6d0fa32ce32417e12023c8f394e (diff) | |
fsp_srv: Various improvements to IStorage:Read implementation.
Diffstat (limited to 'src/core/hle/ipc_helpers.h')
| -rw-r--r-- | src/core/hle/ipc_helpers.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/ipc_helpers.h b/src/core/hle/ipc_helpers.h index 4c9b0de28..a27cfbc2d 100644 --- a/src/core/hle/ipc_helpers.h +++ b/src/core/hle/ipc_helpers.h @@ -305,6 +305,11 @@ inline u64 RequestParser::Pop() { } template <> +inline s64 RequestParser::Pop() { + return static_cast<s64>(Pop<u64>()); +} + +template <> inline bool RequestParser::Pop() { return Pop<u8>() != 0; } |
