gsp: remove unused GetFramebufferInfo
This commit is contained in:
		| @@ -12,12 +12,6 @@ namespace Service::GSP { | ||||
|  | ||||
| static std::weak_ptr<GSP_GPU> 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); | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Weiyi Wang
					Weiyi Wang