瀏覽代碼

service: Fix OutLargeData attributes

Narr the Reg 2 年之前
父節點
當前提交
03a23c037a
共有 1 個文件被更改,包括 1 次插入1 次删除
  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:
     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 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;
 
     /* implicit */ OutLargeData(const OutLargeData& t) : raw(t.raw) {}