yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

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:
Lioncash 2019-05-18 22:05:29 -04:00
parent fb85d5670d
commit 242273788a
1 changed files with 1 additions and 1 deletions

View File

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