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 @@ -
+ + +
+
+
+ image +
+ Home +
+ +
+
+ +
+
+ +
+

+ + + + + + +
+

+
+
+ diff --git a/web/loadstate.html b/web/loadstate.html deleted file mode 100644 index 954b2bb33f6..00000000000 --- a/web/loadstate.html +++ /dev/null @@ -1,44 +0,0 @@ -Select position to load from - -
-Cancel -Autosave Slot -0 -1 -2 -3 -4 -5 -6 -7 -8 -9 -A -B -C -D -E -F -G -H -I -J -K -L -M -N -O -P -Q -R -S -T -U -V -W -X -Y -Z - -
- diff --git a/web/savestate.html b/web/savestate.html deleted file mode 100644 index cfdf7fe40aa..00000000000 --- a/web/savestate.html +++ /dev/null @@ -1,44 +0,0 @@ -Select position to save to - -
-Cancel -Autosave Slot -0 -1 -2 -3 -4 -5 -6 -7 -8 -9 -A -B -C -D -E -F -G -H -I -J -K -L -M -N -O -P -Q -R -S -T -U -V -W -X -Y -Z - -
-