summaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2020-03-27 00:03:58 -0700
committerMichael Pavone <pavone@retrodev.com>2020-03-27 00:03:58 -0700
commit66975faa75958a1a509a04801331a85291827580 (patch)
treeef9891c95f5d100b464b2497b64e08db6ad8ab31 /system.h
parentce15f59d46ea29afc64a8018e7da089c81217dea (diff)
Initial stab at VGM logging support
Diffstat (limited to 'system.h')
-rw-r--r--system.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/system.h b/system.h
index 1e574df..508e29a 100644
--- a/system.h
+++ b/system.h
@@ -58,6 +58,8 @@ struct system_header {
system_fun config_updated;
system_ptrszt_fun_rptr8 serialize;
system_ptr8_sizet_fun deserialize;
+ system_str_fun start_vgm_log;
+ system_fun stop_vgm_log;
rom_info info;
arena *arena;
char *next_rom;
@@ -67,6 +69,7 @@ struct system_header {
uint8_t save_state;
uint8_t delayed_load_slot;
uint8_t has_keyboard;
+ uint8_t vgm_logging;
debugger_type debugger_type;
system_type type;
};