aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/ipc_helpers.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-01-21 16:15:15 -0500
committerGitHub <noreply@github.com>2018-01-21 16:15:15 -0500
commitab8525705bbd0ae62b567f301281ca516e7c5320 (patch)
tree88be854c845cb826366acca96e07ccc62cc96695 /src/core/hle/ipc_helpers.h
parent4c07dde47241a092fd5e17919da6ff0f68d1061a (diff)
parent5035d18baaad5cee4cbc671710de472b9f25a920 (diff)
Merge pull request #123 from bunnei/fs
Initial implementation of RomFS filesystem and fsp-srv
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;
}