summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Hexagon122019-05-19 14:50:30 +0100
committerGravatar GitHub2019-05-19 14:50:30 +0100
commitedf8c0a5452ffa4b8eb7447c899b05ec4812bbbb (patch)
treec338af44cf5dbbfe08550a38141f1433e9a29d43 /src
parentMerge pull request #2492 from lioncash/debugger (diff)
parentipc_helpers: Amend floating-point type in Pop<double> specialization (diff)
downloadyuzu-edf8c0a5452ffa4b8eb7447c899b05ec4812bbbb.tar.gz
yuzu-edf8c0a5452ffa4b8eb7447c899b05ec4812bbbb.tar.xz
yuzu-edf8c0a5452ffa4b8eb7447c899b05ec4812bbbb.zip
Merge pull request #2490 from lioncash/float
ipc_helpers: Amend floating-point type in Pop<double> specialization
Diffstat (limited to 'src')
-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() {
438template <> 438template <>
439inline double RequestParser::Pop() { 439inline double RequestParser::Pop() {
440 const u64 value = Pop<u64>(); 440 const u64 value = Pop<u64>();
441 float real; 441 double real;
442 std::memcpy(&real, &value, sizeof(real)); 442 std::memcpy(&real, &value, sizeof(real));
443 return real; 443 return real;
444} 444}