ios/tvos: no webserver/webdav server on simulator

This commit is contained in:
Eric Warmenhoven 2025-07-08 23:49:07 -04:00
parent ac959fef26
commit d4fe2055f9
No known key found for this signature in database
1 changed files with 2 additions and 0 deletions

View File

@ -769,8 +769,10 @@ void rarch_stop_draw_observer(void)
-(void)viewWillAppear:(BOOL)animated
{
[super viewWillAppear:animated];
#if !TARGET_OS_SIMULATOR
[[WebServer sharedInstance] startServers];
[WebServer sharedInstance].webUploader.delegate = self;
#endif
}
#if TARGET_OS_IOS && HAVE_IOS_TOUCHMOUSE