Mercurial > repos > blastem
diff nuklear_ui/blastem_nuklear.c @ 2401:34b4ff091891
Fix crash when loading a subsequent ROM after lock-on
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 01 Jan 2024 19:27:31 -0800 |
parents | a71176b9903d |
children | 130106f5c87a |
line wrap: on
line diff
--- a/nuklear_ui/blastem_nuklear.c Sat Dec 23 23:03:31 2023 -0800 +++ b/nuklear_ui/blastem_nuklear.c Mon Jan 01 19:27:31 2024 -0800 @@ -109,6 +109,7 @@ static void handle_chooser_result(uint8_t normal_open, char *full_path) { if(normal_open) { + lockon_media(NULL); if (current_system) { current_system->next_rom = full_path; current_system->request_exit(current_system);