diff options
author | Fernando S <fsahmkow27@gmail.com> | 2021-10-06 20:02:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-06 20:02:31 +0200 |
commit | f84328934f5e09894a69d9fa1d2f6a34c715321b (patch) | |
tree | eafe64da6ca2bb195cf5523d3fa13f89f117f897 /src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp | |
parent | Merge pull request #7090 from Moonlacer/tas_spacing_addition (diff) | |
parent | nvflinger: Use jthread and stop_token for VSync thread (diff) | |
download | yuzu-f84328934f5e09894a69d9fa1d2f6a34c715321b.tar yuzu-f84328934f5e09894a69d9fa1d2f6a34c715321b.tar.gz yuzu-f84328934f5e09894a69d9fa1d2f6a34c715321b.tar.bz2 yuzu-f84328934f5e09894a69d9fa1d2f6a34c715321b.tar.lz yuzu-f84328934f5e09894a69d9fa1d2f6a34c715321b.tar.xz yuzu-f84328934f5e09894a69d9fa1d2f6a34c715321b.tar.zst yuzu-f84328934f5e09894a69d9fa1d2f6a34c715321b.zip |
Diffstat (limited to 'src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp')
-rw-r--r-- | src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp b/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp index 789000294..4ee8c5733 100644 --- a/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp +++ b/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp @@ -48,8 +48,9 @@ void nvdisp_disp0::flip(u32 buffer_handle, u32 offset, u32 format, u32 width, u3 addr, offset, width, height, stride, format); const auto pixel_format = static_cast<Tegra::FramebufferConfig::PixelFormat>(format); - const Tegra::FramebufferConfig framebuffer{addr, offset, width, height, - stride, pixel_format, transform, crop_rect}; + const auto transform_flags = static_cast<Tegra::FramebufferConfig::TransformFlags>(transform); + const Tegra::FramebufferConfig framebuffer{addr, offset, width, height, + stride, pixel_format, transform_flags, crop_rect}; system.GetPerfStats().EndSystemFrame(); system.GPU().SwapBuffers(&framebuffer); |