squashed another little bug in PausedRedraw();

This commit is contained in:
dinkc64 2014-07-04 18:02:34 +00:00
parent 92307f31a3
commit 5e6b009d49
1 changed files with 3 additions and 1 deletions

View File

@ -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