Clarify where 35:24 comes from.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
This commit is contained in:
parent
18e0d3b6b6
commit
8295c686e9
1 changed files with 2 additions and 2 deletions
|
@ -36,8 +36,8 @@ void Emulator::set43AspectRatio(QMdiSubWindow * window)
|
|||
const QSize & size = video->size();
|
||||
const double area = size.height() * size.width();
|
||||
|
||||
const int numerator = 35;
|
||||
const int denominator = 24;
|
||||
const int numerator = 35; // 7 * 40
|
||||
const int denominator = 24; // 8 * 24
|
||||
|
||||
const int x = sqrt(area / (numerator * denominator));
|
||||
const QSize target(numerator * x, denominator * x);
|
||||
|
|
Loading…
Add table
Reference in a new issue