Browse Source

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.
nce_cpp
Lioncash 7 years ago
parent
commit
f768365cd5
  1. 2
      src/core/hle/ipc_helpers.h

2
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;
}

Loading…
Cancel
Save