aboutsummaryrefslogtreecommitdiffstats
path: root/src/gb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gb.h')
-rw-r--r--src/gb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gb.h b/src/gb.h
index 7439615..7218648 100644
--- a/src/gb.h
+++ b/src/gb.h
@@ -114,6 +114,8 @@ struct GB {
u64 cycles; // total T-cycles elapsed
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
};
void gb_init(GB *gb);