Mercurial > repos > blastem
diff system.h @ 1595:360d5bab199f
Update controller config when changed in UI without restart
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 06 Jul 2018 17:39:59 -0700 |
parents | 430dd12e4010 |
children | 6909c5d0bbb5 |
line wrap: on
line diff
--- a/system.h Fri Jun 29 09:33:23 2018 -0700 +++ b/system.h Fri Jul 06 17:39:59 2018 -0700 @@ -53,6 +53,8 @@ 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 @@ #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_