summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHexagon12 <Hexagon12@users.noreply.github.com>2019-05-19 15:50:30 +0200
committerGitHub <noreply@github.com>2019-05-19 15:50:30 +0200
commitedf8c0a5452ffa4b8eb7447c899b05ec4812bbbb (patch)
treec338af44cf5dbbfe08550a38141f1433e9a29d43
parentMerge pull request #2492 from lioncash/debugger (diff)
parentipc_helpers: Amend floating-point type in Pop<double> specialization (diff)
downloadyuzu-edf8c0a5452ffa4b8eb7447c899b05ec4812bbbb.tar
yuzu-edf8c0a5452ffa4b8eb7447c899b05ec4812bbbb.tar.gz
yuzu-edf8c0a5452ffa4b8eb7447c899b05ec4812bbbb.tar.bz2
yuzu-edf8c0a5452ffa4b8eb7447c899b05ec4812bbbb.tar.lz
yuzu-edf8c0a5452ffa4b8eb7447c899b05ec4812bbbb.tar.xz
yuzu-edf8c0a5452ffa4b8eb7447c899b05ec4812bbbb.tar.zst
yuzu-edf8c0a5452ffa4b8eb7447c899b05ec4812bbbb.zip
-rw-r--r--src/core/hle/ipc_helpers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/ipc_helpers.h b/src/core/hle/ipc_helpers.h
index ac0e1d796..5bb139483 100644
--- a/src/core/hle/ipc_helpers.h
+++ b/src/core/hle/ipc_helpers.h
@@ -438,7 +438,7 @@ inline float RequestParser::Pop() {
template <>
inline double RequestParser::Pop() {
const u64 value = Pop<u64>();
- float real;
+ double real;
std::memcpy(&real, &value, sizeof(real));
return real;
}