mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
				synced 2025-03-21 01:53:15 +00:00 
			
		
		
		
	Merge pull request #3477 from FearlessTobi/webapplet-shit
core/web_browser: Allow WebApplet to exit gracefully when an error occurs
This commit is contained in:
		
						commit
						e731c4b991
					
				| @ -254,6 +254,12 @@ void WebBrowser::Execute() { | |||||||
| 
 | 
 | ||||||
|     if (status != RESULT_SUCCESS) { |     if (status != RESULT_SUCCESS) { | ||||||
|         complete = true; |         complete = true; | ||||||
|  | 
 | ||||||
|  |         // This is a workaround in order not to softlock yuzu when an error happens during the
 | ||||||
|  |         // webapplet init. In order to avoid an svcBreak, the status is set to RESULT_SUCCESS
 | ||||||
|  |         Finalize(); | ||||||
|  |         status = RESULT_SUCCESS; | ||||||
|  | 
 | ||||||
|         return; |         return; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 bunnei
						bunnei