mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 14:19:02 +00: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:
parent
fe5fb76fd4
commit
16d3cfadb4
3 changed files with 11 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue