forked from cafeberry/cafeberry
fix: miles not shutting down, copying extra stuff to output folder, typo, durango output paths & stray pixel on logos
This commit is contained in:
@@ -63,7 +63,6 @@ extern "C"
|
||||
char g_Username[32];
|
||||
|
||||
BOOL g_isFullscreen = FALSE;
|
||||
BOOL g_bWidescreen = TRUE;
|
||||
BOOL g_bResolutionSetByCMD = FALSE;
|
||||
|
||||
int g_iScreenWidth = 1920;
|
||||
@@ -487,8 +486,6 @@ HRESULT InitDevice()
|
||||
g_iScreenHeight = GetSystemMetrics(SM_CYSCREEN);
|
||||
}
|
||||
}
|
||||
|
||||
g_bWidescreen = (g_iScreenHeight > 0 && ((double)g_iScreenWidth / g_iScreenHeight) >= 1.59) ? TRUE : FALSE;
|
||||
|
||||
//str1k3r - stop hardcoding size and just use the screens actual size
|
||||
UINT width = g_iScreenWidth;
|
||||
@@ -496,7 +493,7 @@ HRESULT InitDevice()
|
||||
|
||||
UINT createDeviceFlags = 0;
|
||||
#ifdef _DEBUG
|
||||
app.DebugPrintf("Screen Width: %d, Screen Height: %d, Widescreen: %s\n", width, height, g_bWidescreen ? "TRUE" : "FALSE");
|
||||
app.DebugPrintf("Screen Width: %d, Screen Height: %d\n", width, height);
|
||||
createDeviceFlags |= D3D11_CREATE_DEVICE_DEBUG;
|
||||
#endif
|
||||
|
||||
@@ -941,6 +938,9 @@ int APIENTRY _tWinMain(_In_ HINSTANCE hInstance,
|
||||
ui.shutdown();
|
||||
IggyShutdown();
|
||||
|
||||
//str1k3r - shutdown mss :3
|
||||
AIL_shutdown();
|
||||
|
||||
//str1k3r - cleanup DirectX stuff
|
||||
CleanupDevice();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user