diff options
author | Isaac Marovitz <42140194+IsaacMarovitz@users.noreply.github.com> | 2022-12-06 21:04:01 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-07 02:04:01 +0000 |
commit | bf7fa60dfc996e77f9afa02a8f7b3c819c86c792 (patch) | |
tree | a8f49597b8c4c5e0f0cdcd95879507f76d22b947 | |
parent | 752b93d3b73d74d90084089f6a4c8d4b7046af7b (diff) |
Fix struct layout packing (#4039)1.1.442
-rw-r--r-- | Ryujinx.Common/Memory/PartialUnmaps/NativeReaderWriterLock.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Common/Memory/PartialUnmaps/NativeReaderWriterLock.cs b/Ryujinx.Common/Memory/PartialUnmaps/NativeReaderWriterLock.cs index 5419b340..78eeb16f 100644 --- a/Ryujinx.Common/Memory/PartialUnmaps/NativeReaderWriterLock.cs +++ b/Ryujinx.Common/Memory/PartialUnmaps/NativeReaderWriterLock.cs @@ -8,7 +8,7 @@ namespace Ryujinx.Common.Memory.PartialUnmaps /// <summary> /// A simple implementation of a ReaderWriterLock which can be used from native code. /// </summary> - [StructLayout(LayoutKind.Sequential, Pack = 1)] + [StructLayout(LayoutKind.Sequential, Pack = 4)] public struct NativeReaderWriterLock { public int WriteLock; |