From 59823fd13ad0dec3d13f1d5f413d650cc4af3361 Mon Sep 17 00:00:00 2001 From: mpohoreski Date: Wed, 18 Feb 2009 16:54:32 +0000 Subject: [PATCH] Video Mode in Window Title --- AppleWin/source/Frame.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/AppleWin/source/Frame.cpp b/AppleWin/source/Frame.cpp index 536e4c18..736f7e3c 100644 --- a/AppleWin/source/Frame.cpp +++ b/AppleWin/source/Frame.cpp @@ -531,13 +531,15 @@ static void DrawStatusArea (HDC passdc, int drawflags) // TODO: g_bDisplayVideoModeInTitle if( 1 ) { - extern char *g_apVideoModeDesc[ NUM_VIDEO_MODES ]; _tcscat( title, " - " ); - _tcscat( title, g_apVideoModeDesc[ g_eVideoType ] ); + if( g_uHalfScanLines ) { - _tcscat( title," (50%)" ); + _tcscat( title," 50% " ); } + + extern char *g_apVideoModeDesc[ NUM_VIDEO_MODES ]; + _tcscat( title, g_apVideoModeDesc[ g_eVideoType ] ); } if (g_hCustomRomF8 != INVALID_HANDLE_VALUE)