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;