From 67efb215bf774d66313fafa6b02fb742bf71fc61 Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Wed, 2 Dec 2009 20:55:43 +0100 Subject: better this way... so the values are understandable --- dxr3device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dxr3device.c') 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 -- cgit v1.2.3