From 500f8f9d700b0606537212ad359a1383fa26661d Mon Sep 17 00:00:00 2001 From: zeromus Date: Wed, 21 Oct 2015 04:47:15 -0500 Subject: [PATCH] print aspect ratio in caption in addition to client size while resizing main window --- BizHawk.Client.EmuHawk/MainForm.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BizHawk.Client.EmuHawk/MainForm.cs b/BizHawk.Client.EmuHawk/MainForm.cs index 80aa9fc415..14408cb457 100644 --- a/BizHawk.Client.EmuHawk/MainForm.cs +++ b/BizHawk.Client.EmuHawk/MainForm.cs @@ -1357,7 +1357,8 @@ namespace BizHawk.Client.EmuHawk if (_inResizeLoop) { var size = PresentationPanel.NativeSize; - str = str + string.Format("({0}x{1}) - ", size.Width, size.Height); + float AR = (float)size.Width / size.Height; + str = str + string.Format("({0}x{1})={2} - ", size.Width, size.Height, AR); } //we need to display FPS somewhere, in this case