mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-11-19 09:21:15 +01:00
Fix struct layout packing (#4039)
This commit is contained in:
1 parent
752b93d3b7
commit
bf7fa60dfc
1 file changed
+1
-1
@@ -8,7 +8,7 @@ namespace Ryujinx.Common.Memory.PartialUnmaps
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// A simple implementation of a ReaderWriterLock which can be used from native code.
|
/// A simple implementation of a ReaderWriterLock which can be used from native code.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
[StructLayout(LayoutKind.Sequential, Pack = 4)]
|
||||||
public struct NativeReaderWriterLock
|
public struct NativeReaderWriterLock
|
||||||
{
|
{
|
||||||
public int WriteLock;
|
public int WriteLock;
|
||||||
|
|||||||
Reference in new issue
Block a user