NoGUI: Start in fullscreen when option or command line flag is set

This commit is contained in:
Connor McLaughlin
2021-02-01 01:02:54 +10:00
parent 23e102b90a
commit 590513350c
10 changed files with 20 additions and 10 deletions

View File

@ -57,7 +57,7 @@ bool Win32HostInterface::RegisterWindowClass()
return true;
}
bool Win32HostInterface::CreatePlatformWindow()
bool Win32HostInterface::CreatePlatformWindow(bool fullscreen)
{
m_hwnd = CreateWindowExW(WS_EX_CLIENTEDGE, WINDOW_CLASS_NAME, _T("DuckStation"), WS_OVERLAPPEDWINDOW, CW_USEDEFAULT,
CW_USEDEFAULT, DEFAULT_WINDOW_WIDTH, DEFAULT_WINDOW_HEIGHT, nullptr, nullptr,