print aspect ratio in caption in addition to client size while resizing main window

This commit is contained in:
zeromus 2015-10-21 04:47:15 -05:00
parent 1dfa0f7fc0
commit 500f8f9d70
1 changed files with 2 additions and 1 deletions

View File

@ -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