summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dxr3device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dxr3device.c b/dxr3device.c
index bdf0a91..24a2c25 100644
--- a/dxr3device.c
+++ b/dxr3device.c
@@ -223,9 +223,9 @@ void cDxr3Device::GetVideoSize(int &Width, int &Height, double &VideoAspect)
uint32_t aspect = cDxr3Interface::instance()->GetAspectRatio();
if (aspect == EM8300_ASPECTRATIO_4_3) {
- VideoAspect = 1.33333f;
+ VideoAspect = 4.0 / 3.0;
} else {
- VideoAspect = 1.77778f;
+ VideoAspect = 16.0 / 9.0;
}
}
#endif