mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-15 06:50:32 +00:00
(UI companion) Call notify_refresh when core option next is toggled
This commit is contained in:
parent
7079cdb798
commit
d21dc218ed
@ -323,6 +323,13 @@ int core_setting_right(unsigned type, const char *label,
|
||||
(void)label;
|
||||
|
||||
core_option_next(system->core_options, idx);
|
||||
|
||||
driver_t * driver = driver_get_ptr();
|
||||
const ui_companion_driver_t *ui = ui_companion_get_ptr();
|
||||
|
||||
if (ui->notify_refresh && ui_companion_is_on_foreground())
|
||||
ui->notify_refresh(driver->ui_companion_data);
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user