diff bindings.c @ 2658:99297d5f4c5d

Persist save states and config in emscripten build via IDBFS module
author Michael Pavone <pavone@retrodev.com>
date Tue, 04 Mar 2025 00:05:12 -0800
parents df6dbf229e2f
children
line wrap: on
line diff
--- a/bindings.c	Mon Mar 03 22:11:34 2025 -0800
+++ b/bindings.c	Tue Mar 04 00:05:12 2025 -0800
@@ -206,6 +206,11 @@
 	content_binds_enabled = enabled;
 }
 
+uint8_t get_content_binding_state(void)
+{
+	return content_binds_enabled;
+}
+
 void bindings_set_joy_state(int joystick, uint8_t enabled)
 {
 	if (joystick >= MAX_JOYSTICKS || joystick < 0) {