mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 21:30:19 -06:00
Make "Start in Fullscreen" work with the DX9 plugin. Also a partial fix to the problem with Windows not saving the window size correctly when not rendering to main.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5352 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -844,7 +844,14 @@ void CFrame::DoStop()
|
||||
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bHideCursor)
|
||||
m_RenderParent->SetCursor(wxCURSOR_ARROW);
|
||||
if (!SConfig::GetInstance().m_LocalCoreStartupParameter.bRenderToMain)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
if (!RendererIsFullscreen() && !m_RenderFrame->IsMaximized())
|
||||
m_RenderParent->GetSize(&SConfig::GetInstance().m_LocalCoreStartupParameter.iRenderWindowWidth,
|
||||
&SConfig::GetInstance().m_LocalCoreStartupParameter.iRenderWindowHeight);
|
||||
#endif
|
||||
m_RenderFrame->Destroy();
|
||||
}
|
||||
m_RenderParent = NULL;
|
||||
|
||||
// Clean framerate indications from the status bar.
|
||||
|
Reference in New Issue
Block a user