summaryrefslogtreecommitdiff
path: root/src/core/hle
diff options
context:
space:
mode:
authorGravatar Lioncash2019-05-18 22:05:29 -0400
committerGravatar Lioncash2019-05-18 22:05:33 -0400
commit242273788a31044c554bbe060bbd5f163095816b (patch)
treea46e93fb8d49f888b9d4d4e04d07721a9717530e /src/core/hle
parentMerge pull request #2457 from lioncash/about (diff)
downloadyuzu-242273788a31044c554bbe060bbd5f163095816b.tar.gz
yuzu-242273788a31044c554bbe060bbd5f163095816b.tar.xz
yuzu-242273788a31044c554bbe060bbd5f163095816b.zip
ipc_helpers: Amend floating-point type in Pop<double> specialization
Currently, this overload isn't used, so this wasn't actually hit in any code, only the float overload is used.
Diffstat (limited to 'src/core/hle')
-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}