[UI] Fixed issues with ImGui on Vulkan and few ASAN issues related to ImGui
- Simplified handling of notifications to faster version with ranges - Removed usage of STB sprintf on checked due to ASAN violation - Draw ImGui windows only when they're not in close_pending state
This commit is contained in:
@@ -1459,7 +1459,11 @@ void EmulatorWindow::ToggleProfilesConfigDialog() {
|
||||
} else {
|
||||
disable_hotkeys_ = false;
|
||||
emulator_->kernel_state()->BroadcastNotification(kXNotificationSystemUI, 0);
|
||||
profile_config_dialog_.reset();
|
||||
if (profile_config_dialog_->IsClosing()) {
|
||||
profile_config_dialog_.release();
|
||||
} else {
|
||||
profile_config_dialog_.reset();
|
||||
}
|
||||
emulator_->kernel_state()->xam_state()->xam_dialogs_shown_--;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user