summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/emuopts.h
diff options
context:
space:
mode:
author Ariane Fugmann <sailorsat@t-online.de>2018-03-21 18:34:39 +0100
committer R. Belmont <rb6502@users.noreply.github.com>2018-03-21 13:34:39 -0400
commitc32176f2bb336ccfdff7ca8b305a68b8470557bd (patch)
tree98360fb867b050b1fd9829fd4a6893613b401613 /src/emu/emuopts.h
parent0883f01e66aee87a08b50f82bbccfa4cd03e95cc (diff)
M1COMM, M2COMM, S32COMM: Updates to simulation (#3369)
* M1COMM: update simulation based on real firmware (nw) - read partial frames correctly now - added VSYNC packets (framesync currently disabled as this can cause MAME to freeze and we have no way to tell if the socket is still open) * M2COMM: update simulation (nw) - read partial frames correctly now - added VSYNC packets (framesync currently disabled as this can cause MAME to freeze and we have no way to tell if the socket is still open) * M1COMM, M2COMM: add config option to sync frames over network (nw) * M2COMM: another update to the simulation. - added relay mode (used by stcc) - added "connection loss" * M1COMM: update to simulation (nw) - better sync - detect lost connection * M2COMM: use osd_file rather than emu_file for better control (nw) * M2COMM: handle connection loss in a a more elegant way (nw) * M1COMM: use osd_file rather than emu_file for better control (nw) * S32COMM: updated simulation (nw) - handle connection loss - use osd_file rather than emu_file for better control
Diffstat (limited to 'src/emu/emuopts.h')
-rw-r--r--src/emu/emuopts.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emu/emuopts.h b/src/emu/emuopts.h
index ab220e99bba..b1869c82c16 100644
--- a/src/emu/emuopts.h
+++ b/src/emu/emuopts.h
@@ -177,6 +177,7 @@
#define OPTION_COMM_LOCAL_PORT "comm_localport"
#define OPTION_COMM_REMOTE_HOST "comm_remotehost"
#define OPTION_COMM_REMOTE_PORT "comm_remoteport"
+#define OPTION_COMM_FRAME_SYNC "comm_framesync"
#define OPTION_CONFIRM_QUIT "confirm_quit"
#define OPTION_UI_MOUSE "ui_mouse"
@@ -456,6 +457,7 @@ public:
const char *comm_localport() const { return value(OPTION_COMM_LOCAL_PORT); }
const char *comm_remotehost() const { return value(OPTION_COMM_REMOTE_HOST); }
const char *comm_remoteport() const { return value(OPTION_COMM_REMOTE_PORT); }
+ bool comm_framesync() const { return bool_value(OPTION_COMM_FRAME_SYNC); }
bool confirm_quit() const { return bool_value(OPTION_CONFIRM_QUIT); }