aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/ipc_helpers.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-01-20 21:32:36 -0500
committerbunnei <bunneidev@gmail.com>2018-01-21 15:51:43 -0500
commit8e50d6002bd12dde7e4ba4fd3da1b53864c4058c (patch)
treebe6d0f47d8418a61a8e6f86ce0dcdbecf801bebd /src/core/hle/ipc_helpers.h
parentd9a91d76785da6d0fa32ce32417e12023c8f394e (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.h5
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;
}