From 5e6b009d495f832ac6d1ca32051ec17d876d65d3 Mon Sep 17 00:00:00 2001 From: dinkc64 <12570148+dinkc64@users.noreply.github.com> Date: Fri, 4 Jul 2014 18:02:34 +0000 Subject: [PATCH] squashed another little bug in PausedRedraw(); --- src/burner/win32/scrn.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/burner/win32/scrn.cpp b/src/burner/win32/scrn.cpp index 108881165..c2fc7ece2 100644 --- a/src/burner/win32/scrn.cpp +++ b/src/burner/win32/scrn.cpp @@ -565,9 +565,11 @@ static void OnActivateApp(HWND hwnd, BOOL fActivate, DWORD /* dwThreadId */) } } +extern HWND hSelDlg; + static void PausedRedraw(void) { - if (bVidOkay && (bRunPause && bDrvOkay)) { // Show the message even if paused. - dink + if (bVidOkay && bRunPause && bDrvOkay && (hSelDlg == NULL)) { // Redraw the screen to show certain messages while paused. - dink INT16 *pBtemp = pBurnSoundOut; pBurnSoundOut = NULL; // Mute the sound as VidRedraw() draws the frame