Explorar el Código

Merge pull request #2490 from lioncash/float

ipc_helpers: Amend floating-point type in Pop<double> specialization
Hexagon12 hace 7 años
padre
commit
edf8c0a545
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/core/hle/ipc_helpers.h

+ 1 - 1
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;
 }