mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	gdbstub: Correct typo
Constructing and destructing a Core::System instance for the GetInstance() call isn't the smartest thing to do.
This commit is contained in:
		
							parent
							
								
									c6293d7357
								
							
						
					
					
						commit
						19814d68c1
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -908,7 +908,7 @@ void ToggleServer(bool status) { | ||||||
|         server_enabled = status; |         server_enabled = status; | ||||||
| 
 | 
 | ||||||
|         // Start server
 |         // Start server
 | ||||||
|         if (!IsConnected() && Core::System().GetInstance().IsPoweredOn()) { |         if (!IsConnected() && Core::System::GetInstance().IsPoweredOn()) { | ||||||
|             Init(); |             Init(); | ||||||
|         } |         } | ||||||
|     } else { |     } else { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue