mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	Change QMessageBox::No to QMessageBox::Yes
				
					
				
			This commit is contained in:
		
							parent
							
								
									6b1dc49ea9
								
							
						
					
					
						commit
						72f53754b1
					
				
					 1 changed files with 28 additions and 29 deletions
				
			
		|  | @ -2412,14 +2412,12 @@ void GMainWindow::OnCaptureScreenshot() { | ||||||
|         return; |         return; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     if (!emu_thread->IsRunning() |     if (emu_thread->IsRunning() | ||||||
|     && (QMessageBox::question(this, tr("Game will unpause"), |     || (QMessageBox::question(this, tr("Game will unpause"), | ||||||
|                                  tr("The game will be unpaused, and the next frame will be captured. Is this okay?"), QMessageBox::Yes | QMessageBox::No, QMessageBox::No) == QMessageBox::No)) { |                                  tr("The game will be unpaused, and the next frame will be captured. Is this okay?"), QMessageBox::Yes | QMessageBox::No, QMessageBox::No) == QMessageBox::Yes)) { | ||||||
|         return; |         if (emu_thread->IsRunning()) { | ||||||
|     } else { |  | ||||||
|             OnPauseGame(); |             OnPauseGame(); | ||||||
|         } |         } | ||||||
| 
 |  | ||||||
|         std::string path = UISettings::values.screenshot_path.GetValue(); |         std::string path = UISettings::values.screenshot_path.GetValue(); | ||||||
|         if (!FileUtil::IsDirectory(path)) { |         if (!FileUtil::IsDirectory(path)) { | ||||||
|             if (!FileUtil::CreateFullPath(path)) { |             if (!FileUtil::CreateFullPath(path)) { | ||||||
|  | @ -2442,6 +2440,7 @@ void GMainWindow::OnCaptureScreenshot() { | ||||||
|         screenshot_window->CaptureScreenshot(UISettings::values.screenshot_resolution_factor.GetValue(), |         screenshot_window->CaptureScreenshot(UISettings::values.screenshot_resolution_factor.GetValue(), | ||||||
|                                              QString::fromStdString(path)); |                                              QString::fromStdString(path)); | ||||||
|         OnStartGame(); |         OnStartGame(); | ||||||
|  |     } | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void GMainWindow::OnDumpVideo() { | void GMainWindow::OnDumpVideo() { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue