From 480b9bb35341fb64afbd0ab6e18b978b2cd6d4f8 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Fri, 6 Jul 2018 17:39:59 -0700 Subject: Update controller config when changed in UI without restart --- system.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'system.h') 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_ -- cgit v1.2.3