GTK: Don't disable rendering when using the menus. Thanks to fernandotcl for the patch.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@981 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
bgk 2011-02-20 10:15:03 +00:00
parent d9285a2bab
commit d031acfd50
1 changed files with 0 additions and 4 deletions

View File

@ -48,7 +48,6 @@ void Window::vOnMenuEnter()
{
if (emulating && ! m_bPaused)
{
m_poScreenArea->vSetEnableRender(false);
vStopEmu();
soundPause();
}
@ -58,7 +57,6 @@ void Window::vOnMenuExit()
{
if (emulating && ! m_bPaused)
{
m_poScreenArea->vSetEnableRender(true);
vStartEmu();
soundResume();
}
@ -430,9 +428,7 @@ void Window::vOnDisplayConfigure()
poBuilder->get_widget_derived("DisplayConfigDialog", poDialog);
poDialog->vSetConfig(m_poDisplayConfig, this);
poDialog->set_transient_for(*this);
m_poScreenArea->vSetEnableRender(false);
poDialog->run();
m_poScreenArea->vSetEnableRender(true);
poDialog->hide();
}