0.7.7b Release
This commit is contained in:
parent
0e4777b762
commit
913fac7d1b
|
@ -61,7 +61,7 @@ typedef signed long sint32;
|
|||
// ******************************************************************
|
||||
// * Define this to trace intercepted function calls
|
||||
// ******************************************************************
|
||||
//#define _DEBUG_TRACE
|
||||
#define _DEBUG_TRACE
|
||||
|
||||
// ******************************************************************
|
||||
// * Version information
|
||||
|
|
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue