From 8a93620d06f1ca74aee9e5e402721b1845fa9bd2 Mon Sep 17 00:00:00 2001
From: OatmealDome <julian@oatmealdome.me>
Date: Thu, 15 Aug 2024 12:36:46 -0400
Subject: [PATCH] DolphinQt: Remove entitlements for Steam overlay

---
 Source/Core/DolphinQt/DolphinEmu.entitlements      | 3 ---
 Source/Core/DolphinQt/DolphinEmuDebug.entitlements | 3 ---
 2 files changed, 6 deletions(-)

diff --git a/Source/Core/DolphinQt/DolphinEmu.entitlements b/Source/Core/DolphinQt/DolphinEmu.entitlements
index f7cafadc62..50c57c58c1 100644
--- a/Source/Core/DolphinQt/DolphinEmu.entitlements
+++ b/Source/Core/DolphinQt/DolphinEmu.entitlements
@@ -13,8 +13,5 @@
 	<!-- This is needed to use adhoc signed linked libraries -->
  	<key>com.apple.security.cs.disable-library-validation</key> 
   	<true/>
-	<!-- Allows the Steam overlay library to be injected into our process -->
-	<key>com.apple.security.cs.allow-dyld-environment-variables</key>
-	<true/>
 </dict>
 </plist>
diff --git a/Source/Core/DolphinQt/DolphinEmuDebug.entitlements b/Source/Core/DolphinQt/DolphinEmuDebug.entitlements
index 597315d760..6445fa77b9 100644
--- a/Source/Core/DolphinQt/DolphinEmuDebug.entitlements
+++ b/Source/Core/DolphinQt/DolphinEmuDebug.entitlements
@@ -13,9 +13,6 @@
 	<!-- This is needed to use adhoc signed linked libraries -->
 	<key>com.apple.security.cs.disable-library-validation</key>
 	<true/>
-	<!-- Allows the Steam overlay library to be injected into our process -->
-	<key>com.apple.security.cs.allow-dyld-environment-variables</key>
-	<true/>
 	<!-- This is needed to attach a debugger to the process -->
 	<key>com.apple.security.get-task-allow</key>
 	<true/>