diff --git a/.gitattributes b/.gitattributes index 27a5f73c8a8..9f353e245d9 100644 --- a/.gitattributes +++ b/.gitattributes @@ -8972,7 +8972,5 @@ web/index.html svneol=native#text/html web/info.html svneol=native#text/html web/js/jquery.js svneol=native#text/javascript web/js/jquery.mobile.js svneol=native#text/javascript -web/loadstate.html svneol=native#text/plain web/logs.html svneol=native#text/html web/options.html svneol=native#text/html -web/savestate.html svneol=native#text/plain diff --git a/src/emu/webengine.c b/src/emu/webengine.c index 2c3ac85eea7..64cd080a7fc 100644 --- a/src/emu/webengine.c +++ b/src/emu/webengine.c @@ -121,7 +121,8 @@ int web_engine::json_game_handler(struct mg_connection *conn) data["parent"] = m_machine->system().parent; data["source_file"] = m_machine->system().source_file; data["flags"] = m_machine->system().flags; - + data["ispaused"] = m_machine->paused(); + Json::FastWriter writer; const char *json = writer.write(data).c_str(); // Send HTTP reply to the client diff --git a/web/index.html b/web/index.html index 4591f77e16d..daa948c6405 100644 --- a/web/index.html +++ b/web/index.html @@ -17,13 +17,18 @@
-