mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	Pause emulation OnCoreError
This commit is contained in:
		
							parent
							
								
									c3c684cd2b
								
							
						
					
					
						commit
						bbe6c8890c
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -918,6 +918,7 @@ void GMainWindow::UpdateStatusBar() { | |||
| } | ||||
| 
 | ||||
| void GMainWindow::OnCoreError(Core::System::ResultStatus result, std::string details) { | ||||
|     emu_thread->SetRunning(false); | ||||
|     QMessageBox::StandardButton answer; | ||||
|     QString status_message; | ||||
|     const QString common_message = | ||||
|  | @ -974,6 +975,7 @@ void GMainWindow::OnCoreError(Core::System::ResultStatus result, std::string det | |||
|     } else { | ||||
|         // Only show the message if the game is still running.
 | ||||
|         if (emu_thread) { | ||||
|             emu_thread->SetRunning(true);             | ||||
|             message_label->setText(status_message); | ||||
|             message_label->setVisible(true); | ||||
|         } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue