From d483e556e33ae688be03a6a4ee89a11f7b054093 Mon Sep 17 00:00:00 2001 From: Weiyi Wang Date: Sun, 23 Jun 2019 14:25:28 -0400 Subject: [PATCH] gsp: remove unused GetFramebufferInfo --- src/core/hle/service/gsp/gsp.cpp | 6 ------ src/core/hle/service/gsp/gsp.h | 9 --------- 2 files changed, 15 deletions(-) diff --git a/src/core/hle/service/gsp/gsp.cpp b/src/core/hle/service/gsp/gsp.cpp index 27a14ff52..4291b9971 100644 --- a/src/core/hle/service/gsp/gsp.cpp +++ b/src/core/hle/service/gsp/gsp.cpp @@ -12,12 +12,6 @@ namespace Service::GSP { static std::weak_ptr gsp_gpu; -FrameBufferUpdate* GetFrameBufferInfo(u32 thread_id, u32 screen_index) { - auto gpu = gsp_gpu.lock(); - ASSERT(gpu != nullptr); - return gpu->GetFrameBufferInfo(thread_id, screen_index); -} - void SignalInterrupt(InterruptId interrupt_id) { auto gpu = gsp_gpu.lock(); ASSERT(gpu != nullptr); diff --git a/src/core/hle/service/gsp/gsp.h b/src/core/hle/service/gsp/gsp.h index 2b565bc7e..4cde19e93 100644 --- a/src/core/hle/service/gsp/gsp.h +++ b/src/core/hle/service/gsp/gsp.h @@ -16,15 +16,6 @@ class System; } namespace Service::GSP { -/** - * Retrieves the framebuffer info stored in the GSP shared memory for the - * specified screen index and thread id. - * @param thread_id GSP thread id of the process that accesses the structure that we are requesting. - * @param screen_index Index of the screen we are requesting (Top = 0, Bottom = 1). - * @returns FramebufferUpdate Information about the specified framebuffer. - */ -FrameBufferUpdate* GetFrameBufferInfo(u32 thread_id, u32 screen_index); - /** * Signals that the specified interrupt type has occurred to userland code * @param interrupt_id ID of interrupt that is being signalled