0.7.7b Release

This commit is contained in:
Aaron Robinson 2003-07-16 21:15:05 +00:00
parent 0e4777b762
commit 913fac7d1b
2 changed files with 8 additions and 1 deletions

View File

@ -61,7 +61,7 @@ typedef signed long sint32;
// ******************************************************************
// * Define this to trace intercepted function calls
// ******************************************************************
//#define _DEBUG_TRACE
#define _DEBUG_TRACE
// ******************************************************************
// * Version information

View File

@ -283,8 +283,15 @@ static DWORD WINAPI EmuRenderWindow(LPVOID)
{
DWORD dwStyle = WS_OVERLAPPEDWINDOW;
int nTitleHeight = GetSystemMetrics(SM_CYCAPTION);
int nBorderWidth = GetSystemMetrics(SM_CXSIZEFRAME);
int nBorderHeight = GetSystemMetrics(SM_CYSIZEFRAME);
int x = 100, y = 100, nWidth = 640, nHeight = 480;
nWidth += nBorderWidth*2;
nHeight += nBorderHeight*2 + nTitleHeight;
sscanf(g_XBVideo.GetVideoResolution(), "%d x %d", &nWidth, &nHeight);
if(g_XBVideo.GetFullscreen())