mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-14 20:02:50 +00:00
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.
This commit is contained in:
parent
fb85d5670d
commit
242273788a
|
@ -438,7 +438,7 @@ inline float RequestParser::Pop() {
|
||||||
template <>
|
template <>
|
||||||
inline double RequestParser::Pop() {
|
inline double RequestParser::Pop() {
|
||||||
const u64 value = Pop<u64>();
|
const u64 value = Pop<u64>();
|
||||||
float real;
|
double real;
|
||||||
std::memcpy(&real, &value, sizeof(real));
|
std::memcpy(&real, &value, sizeof(real));
|
||||||
return real;
|
return real;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue