|  |  | @ -44,8 +44,10 @@ bool DFSteam::init(color_ostream& out) { | 
			
		
	
		
		
			
				
					
					|  |  |  |     bind(g_steam_handle, SteamAPI_Shutdown); |  |  |  |     bind(g_steam_handle, SteamAPI_Shutdown); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     // TODO: can we remove this initialization of the Steam API once we move to dfhooks?
 |  |  |  |     // TODO: can we remove this initialization of the Steam API once we move to dfhooks?
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     if (!g_SteamAPI_Init || !g_SteamAPI_Shutdown || !g_SteamAPI_Init()) |  |  |  |     if (!g_SteamAPI_Init || !g_SteamAPI_Shutdown || !g_SteamAPI_Init()) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         DEBUG(dfsteam, out).print("steam detected but cannot be initialized\n"); | 
			
		
	
		
		
			
				
					
					|  |  |  |         return false; |  |  |  |         return false; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     bind(g_steam_handle, SteamInternal_FindOrCreateUserInterface); |  |  |  |     bind(g_steam_handle, SteamInternal_FindOrCreateUserInterface); | 
			
		
	
		
		
			
				
					
					|  |  |  |     bind(g_steam_handle, SteamAPI_ISteamUtils_IsSteamRunningOnSteamDeck); |  |  |  |     bind(g_steam_handle, SteamAPI_ISteamUtils_IsSteamRunningOnSteamDeck); | 
			
		
	
	
		
		
			
				
					|  |  | 
 |