From e2058fb268be7c2cf8d1e99a643c6522f67d6769 Mon Sep 17 00:00:00 2001 From: squall-leonhart Date: Mon, 23 Mar 2009 16:56:15 +0000 Subject: [PATCH] missed this one previously. - pause when inactive fix. git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@864 a31d4220-a93d-0410-bf67-fe4944624d44 --- src/win32/MainWndOptions.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/win32/MainWndOptions.cpp b/src/win32/MainWndOptions.cpp index db323358..2fd407c4 100644 --- a/src/win32/MainWndOptions.cpp +++ b/src/win32/MainWndOptions.cpp @@ -563,6 +563,14 @@ void MainWnd::OnUpdateOptionsEmulatorSynchronize(CCmdUI* pCmdUI) pCmdUI->SetCheck(synchronize); } +void MainWnd::OnOptionsEmulatorPausewheninactive() +{ + theApp.pauseWhenInactive = !theApp.pauseWhenInactive; +void MainWnd::OnUpdateOptionsEmulatorPausewheninactive(CCmdUI* pCmdUI) +{ + pCmdUI->SetCheck(theApp.pauseWhenInactive); +} + void MainWnd::OnOptionsEmulatorSpeeduptoggle() { theApp.speedupToggle = !theApp.speedupToggle;