aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/OsHle
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.HLE/OsHle')
-rw-r--r--Ryujinx.HLE/OsHle/Services/Vi/NvFlinger.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx.HLE/OsHle/Services/Vi/NvFlinger.cs b/Ryujinx.HLE/OsHle/Services/Vi/NvFlinger.cs
index a3ed3ab5..5307127b 100644
--- a/Ryujinx.HLE/OsHle/Services/Vi/NvFlinger.cs
+++ b/Ryujinx.HLE/OsHle/Services/Vi/NvFlinger.cs
@@ -279,8 +279,8 @@ namespace Ryujinx.HLE.OsHle.Services.Android
private void SendFrameBuffer(ServiceCtx Context, int Slot)
{
- int FbWidth = 1280;
- int FbHeight = 720;
+ int FbWidth = BufferQueue[Slot].Data.Width;
+ int FbHeight = BufferQueue[Slot].Data.Height;
int NvMapHandle = BitConverter.ToInt32(BufferQueue[Slot].Data.RawData, 0x4c);
int BufferOffset = BitConverter.ToInt32(BufferQueue[Slot].Data.RawData, 0x50);