From b58c8e5b473a0c81a45e9bc8b4fac7cac3fe6265 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Vitor=20Polverari?= Date: Sun, 24 Mar 2024 11:09:44 -0300 Subject: [PATCH] Comply to coding style guidelines (error with Clang Build) --- .gitignore | 3 +-- src/core/hle/service/gsp/gsp_gpu.cpp | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 77b723e63..c684e4802 100644 --- a/.gitignore +++ b/.gitignore @@ -47,5 +47,4 @@ repo/ # GitHub Actions generated files .ccache/ node_modules/ -VULKAN_SDK/ -#adding this here just to trigger the workflows \ No newline at end of file +VULKAN_SDK/ \ No newline at end of file diff --git a/src/core/hle/service/gsp/gsp_gpu.cpp b/src/core/hle/service/gsp/gsp_gpu.cpp index 914e07b03..079f94471 100644 --- a/src/core/hle/service/gsp/gsp_gpu.cpp +++ b/src/core/hle/service/gsp/gsp_gpu.cpp @@ -362,7 +362,8 @@ void GSP_GPU::SignalInterruptForThread(InterruptId interrupt_id, u32 thread_id) auto* info = GetFrameBufferInfo(thread_id, screen_id); if (info->is_dirty) { system.GPU().SetBufferSwap(screen_id, info->framebuffer_info[info->index]); - // Decompiling the GSP module shows that the dirty bit is assigned 1 for top screen, 0 for bottom + // Decompiling the GSP module shows that the dirty bit is assigned 1 for top screen, 0 + // for bottom info->is_dirty.Assign(screen_id == 0); } }