Browse Source

settings: Store list of disabled add-ons per title ID

Zach Hilman 7 năm trước cách đây
mục cha
commit
282b7e902c
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      src/core/settings.h

+ 5 - 0
src/core/settings.h

@@ -6,8 +6,10 @@
 
 #include <array>
 #include <atomic>
+#include <map>
 #include <optional>
 #include <string>
+#include <vector>
 #include "common/common_types.h"
 
 namespace Settings {
@@ -411,6 +413,9 @@ struct Values {
     std::string web_api_url;
     std::string yuzu_username;
     std::string yuzu_token;
+
+    // Add-Ons
+    std::map<u64, std::vector<std::string>> disabled_addons;
 } extern values;
 
 void Apply();