(Emscripten) Set pause_nonactive to false by default

This commit is contained in:
twinaphex 2016-09-09 06:06:12 +02:00
parent 1cc55dcae3
commit 934bd2d018

View File

@ -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. */