Mercurial > repos > blastem
diff controller_info.c @ 2215:a8af8d898a7c
Fix windows build for real
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 30 Aug 2022 00:13:55 -0700 |
parents | 193b804c9845 |
children | 58774a77f2e0 |
line wrap: on
line diff
--- a/controller_info.c Mon Aug 29 23:01:46 2022 -0700 +++ b/controller_info.c Tue Aug 30 00:13:55 2022 -0700 @@ -1,5 +1,6 @@ #include <string.h> #include <stdlib.h> +#include "render.h" #ifndef USE_FBDEV #include "render_sdl.h" #endif @@ -204,7 +205,7 @@ info_config = tern_insert_node(info_config, guid_string, existing); persist_config_at(config, info_config, "controller_types.cfg"); handle_joy_added(joystick); -#endif +#endif } void save_controller_mapping(int joystick, char *mapping_string)