summaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2018-07-06 17:39:59 -0700
committerMichael Pavone <pavone@retrodev.com>2018-07-06 17:39:59 -0700
commit480b9bb35341fb64afbd0ab6e18b978b2cd6d4f8 (patch)
tree061bc36100397b99945c51a2010a506482fcccbd /system.h
parentaad75c86365b71d625a730a0d42c6537a9016feb (diff)
Update controller config when changed in UI without restart
Diffstat (limited to 'system.h')
-rw-r--r--system.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/system.h b/system.h
index f812c4a..0ba25e2 100644
--- a/system.h
+++ b/system.h
@@ -53,6 +53,8 @@ struct system_header {
system_mrel_fun mouse_motion_relative;
system_u8_fun keyboard_down;
system_u8_fun keyboard_up;
+ system_fun config_updated;
+ rom_info info;
arena *arena;
char *next_rom;
char *save_dir;
@@ -77,6 +79,6 @@ struct system_media {
#define OPT_ADDRESS_LOG (1U << 31U)
system_type detect_system_type(system_media *media);
-system_header *alloc_config_system(system_type stype, system_media *media, uint32_t opts, uint8_t force_region, rom_info *info_out);
+system_header *alloc_config_system(system_type stype, system_media *media, uint32_t opts, uint8_t force_region);
#endif //SYSTEM_H_