diff options
Diffstat (limited to 'src/gb.h')
| -rw-r--r-- | src/gb.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -117,6 +117,12 @@ struct GB { bool serial_log; // print serial output to stderr (blargg tests) int serial_out_fd; // if >=0, transmitted serial bytes written here (stdout) int serial_in_fd; // if >=0, received serial bytes read here (stdin), else 0xFF + // Link-over-unix-socket resilience: when serial_sock_path is set, a dead + // socket (EOF / EPIPE / ECONNRESET) is closed and reconnected in the + // background instead of going silently dead forever. See serial_check(). + const char *serial_sock_path; // --serial-sock path (NULL = stdio serial) + bool serial_sock_dead; // link socket lost; reconnect pending + double serial_retry_at; // CLOCK_MONOTONIC time of next reconnect try bool poweroff; // set by the $ED opcode: request a clean emulator exit // Boot ROM (BIOS). When boot_rom is non-NULL, gb_reset starts execution |
