[VFS] Clear registered devices if launch failed
This commit is contained in:
@@ -1740,6 +1740,8 @@ xe::X_STATUS EmulatorWindow::RunTitle(std::filesystem::path path_to_file) {
|
||||
xe::ui::ImGuiDialog::ShowMessageBox(
|
||||
imgui_drawer_.get(), "Title Launch Failed!",
|
||||
"Failed to launch title.\n\nCheck xenia.log for technical details.");
|
||||
|
||||
emulator_->file_system()->Clear();
|
||||
} else {
|
||||
AddRecentlyLaunchedTitle(path_to_file, emulator_->title_name());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user