mirror of
https://github.com/starr-dusT/yuzu-mainline
synced 2024-03-05 21:12:25 -08:00
Merge pull request #2490 from lioncash/float
ipc_helpers: Amend floating-point type in Pop<double> specialization
This commit is contained in:
commit
edf8c0a545
@ -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 New Issue
Block a user