mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 14:24:10 +02:00
Fixed float const encoding
This commit is contained in:
parent
e508991dce
commit
90f34b6bee
1 changed files with 1 additions and 1 deletions
|
@ -1246,7 +1246,7 @@ void BeCOFFObject::DbgOutputLocalVar(BeDbgFunction* dbgFunc, BeDbgVariable* dbgV
|
||||||
if ((beConst->mType != NULL) && (!beConst->mType->IsPointer()))
|
if ((beConst->mType != NULL) && (!beConst->mType->IsPointer()))
|
||||||
{
|
{
|
||||||
int64 writeVal = beConst->mInt64;
|
int64 writeVal = beConst->mInt64;
|
||||||
if (beConst->mType->mTypeCode == BfTypeCode_Float)
|
if (beConst->mType->mTypeCode == BeTypeCode_Float)
|
||||||
{
|
{
|
||||||
// We need to do this because Singles are stored in mDouble, so we need to reduce here
|
// We need to do this because Singles are stored in mDouble, so we need to reduce here
|
||||||
float floatVal = (float)beConst->mDouble;
|
float floatVal = (float)beConst->mDouble;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue