mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-01-17 01:13:20 -03:00
Common: Remove the string parameters from the HookableEvent interface.
This commit is contained in:
@@ -455,7 +455,7 @@ void RegisterDevicesChangedCallbackIfNeeded(JNIEnv* env, jclass controller_inter
|
||||
env->GetStaticMethodID(global_controller_interface_class, "onDevicesChanged", "()V");
|
||||
|
||||
static Common::EventHook event_hook = g_controller_interface.RegisterDevicesChangedCallback(
|
||||
"Android", [global_controller_interface_class, controller_interface_on_devices_changed] {
|
||||
[global_controller_interface_class, controller_interface_on_devices_changed] {
|
||||
IDCache::GetEnvForThread()->CallStaticVoidMethod(global_controller_interface_class,
|
||||
controller_interface_on_devices_changed);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user