mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	Merge pull request #3333 from Senjosei/pause-coreerror
citra_qt: Pause emulation on CoreError
This commit is contained in:
		
						commit
						2e41810608
					
				
					 2 changed files with 2 additions and 0 deletions
				
			
		|  | @ -36,6 +36,7 @@ void EmuThread::run() { | |||
| 
 | ||||
|             Core::System::ResultStatus result = Core::System::GetInstance().RunLoop(); | ||||
|             if (result != Core::System::ResultStatus::Success) { | ||||
|                 this->SetRunning(false); | ||||
|                 emit ErrorThrown(result, Core::System::GetInstance().GetStatusDetails()); | ||||
|             } | ||||
| 
 | ||||
|  |  | |||
|  | @ -974,6 +974,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