Quellcode durchsuchen

Merge pull request #12967 from german77/let_me_out

service: Fix OutLargeData attributes
liamwhite vor 2 Jahren
Ursprung
Commit
f9a559d2b7
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/core/hle/service/cmif_types.h

+ 1 - 1
src/core/hle/service/cmif_types.h

@@ -262,7 +262,7 @@ class OutLargeData {
 public:
 public:
     static_assert(std::is_trivially_copyable_v<T>, "LargeData type must be trivially copyable");
     static_assert(std::is_trivially_copyable_v<T>, "LargeData type must be trivially copyable");
     static_assert((A & BufferAttr_In) == 0, "OutLargeData attr must not be In");
     static_assert((A & BufferAttr_In) == 0, "OutLargeData attr must not be In");
-    static constexpr BufferAttr Attr = static_cast<BufferAttr>(A | BufferAttr_In | BufferAttr_FixedSize);
+    static constexpr BufferAttr Attr = static_cast<BufferAttr>(A | BufferAttr_Out | BufferAttr_FixedSize);
     using Type = T;
     using Type = T;
 
 
     /* implicit */ OutLargeData(const OutLargeData& t) : raw(t.raw) {}
     /* implicit */ OutLargeData(const OutLargeData& t) : raw(t.raw) {}