Merge pull request #5378 from npwoods/remove_stray_variable

Removing a stray (likely vestigial) variable from window.cpp (nw)
This commit is contained in:
R. Belmont 2019-07-22 23:50:40 -04:00 committed by GitHub
commit 6363a427e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,9 +100,6 @@ static int win_physical_height;
// event handling
static std::chrono::system_clock::time_point last_event_check;
// debugger
static int in_background;
static int ui_temp_pause;
static int ui_temp_was_paused;
@ -1293,11 +1290,6 @@ LRESULT CALLBACK win_window_info::video_window_proc(HWND wnd, UINT message, WPAR
return DefWindowProc(wnd, message, wparam, lparam);
}
// track whether we are in the foreground
case WM_ACTIVATEAPP:
in_background = !wparam;
break;
// close: cause MAME to exit
case WM_CLOSE:
window->machine().schedule_exit();