diff options
| author | Thog <me@thog.eu> | 2020-06-02 17:58:19 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-02 17:58:19 +0200 |
| commit | bcb7761eacaf9e40cc506648fec1eed58c23eff0 (patch) | |
| tree | 49bf2ccffab602324d7977c8d3ba83c7393098b3 /Ryujinx.HLE/HOS/Services/SurfaceFlinger/NativeWindowTransform.cs | |
| parent | 44d7fcff399888d311f61772a53146d924ee5b62 (diff) | |
SurfaceFlinger: fix some bugs (#1262)
* SurfaceFlinger: fix some bugs
This fixes some bugs in the current implementation and make it closer to
the real implementation.
* Fix align of some variables
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/SurfaceFlinger/NativeWindowTransform.cs')
| -rw-r--r-- | Ryujinx.HLE/HOS/Services/SurfaceFlinger/NativeWindowTransform.cs | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/Ryujinx.HLE/HOS/Services/SurfaceFlinger/NativeWindowTransform.cs b/Ryujinx.HLE/HOS/Services/SurfaceFlinger/NativeWindowTransform.cs index 650fe3c6..66482b12 100644 --- a/Ryujinx.HLE/HOS/Services/SurfaceFlinger/NativeWindowTransform.cs +++ b/Ryujinx.HLE/HOS/Services/SurfaceFlinger/NativeWindowTransform.cs @@ -5,12 +5,14 @@ namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger [Flags] enum NativeWindowTransform : uint { - None = 0, - FlipX = 1, - FlipY = 2, - Rotate90 = 4, - Rotate180 = FlipX | FlipY, - Rotate270 = Rotate90 | Rotate180, - InverseDisplay = 8 + None = 0, + FlipX = 1, + FlipY = 2, + Rotate90 = 4, + Rotate180 = FlipX | FlipY, + Rotate270 = Rotate90 | Rotate180, + InverseDisplay = 8, + NoVSyncCapability = 0x10, + ReturnFrameNumber = 0x20 } } |
