diff blastem.c @ 2314:59fd8aa352e2

Apply binding changes after a config change in UI
author Michael Pavone <pavone@retrodev.com>
date Thu, 30 Mar 2023 23:20:12 -0700
parents 92449b47cce8
children 34b4ff091891
line wrap: on
line diff
--- a/blastem.c	Thu Mar 30 20:20:25 2023 -0700
+++ b/blastem.c	Thu Mar 30 23:20:12 2023 -0700
@@ -381,6 +381,8 @@
 void apply_updated_config(void)
 {
 	render_config_updated();
+	set_bindings();
+	update_pad_bindings();
 	if (current_system && current_system->config_updated) {
 		current_system->config_updated(current_system);
 	}