From 934bd2d018ed9198913ea51a484ff40805a33f37 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 9 Sep 2016 06:06:12 +0200 Subject: [PATCH] (Emscripten) Set pause_nonactive to false by default --- config.def.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config.def.h b/config.def.h index d6bc80d3d0..8a927fdf53 100644 --- a/config.def.h +++ b/config.def.h @@ -726,7 +726,11 @@ static const unsigned rewind_buffer_size = 20 << 20; /* 20MiB */ static const unsigned rewind_granularity = 1; /* Pause gameplay when gameplay loses focus. */ +#ifdef EMSCRIPTEN +static const bool pause_nonactive = false; +#else static const bool pause_nonactive = true; +#endif /* Saves non-volatile SRAM at a regular interval. * It is measured in seconds. A value of 0 disables autosave. */