mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu.git
				synced 2025-05-12 00:45:25 +00:00 
			
		
		
		
	citra-qt: Pass string by const reference
This commit is contained in:
		
							parent
							
								
									8165de065b
								
							
						
					
					
						commit
						13ddf60f60
					
				@ -207,7 +207,7 @@ void GMainWindow::OnDisplayTitleBars(bool show)
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void GMainWindow::BootGame(std::string filename) {
 | 
			
		||||
void GMainWindow::BootGame(const std::string& filename) {
 | 
			
		||||
    LOG_INFO(Frontend, "Citra starting...\n");
 | 
			
		||||
 | 
			
		||||
    // Initialize the core emulation
 | 
			
		||||
 | 
			
		||||
@ -55,7 +55,7 @@ signals:
 | 
			
		||||
    void EmulationStopping();
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    void BootGame(std::string filename);
 | 
			
		||||
    void BootGame(const std::string& filename);
 | 
			
		||||
    void ShutdownGame();
 | 
			
		||||
 | 
			
		||||
    void closeEvent(QCloseEvent* event) override;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user