mirror of
https://github.com/citra-emu/citra-nightly.git
synced 2024-12-23 17:25:33 +00:00
gsp: remove unused GetFramebufferInfo
This commit is contained in:
parent
8251de44cf
commit
d483e556e3
|
@ -12,12 +12,6 @@ namespace Service::GSP {
|
||||||
|
|
||||||
static std::weak_ptr<GSP_GPU> gsp_gpu;
|
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) {
|
void SignalInterrupt(InterruptId interrupt_id) {
|
||||||
auto gpu = gsp_gpu.lock();
|
auto gpu = gsp_gpu.lock();
|
||||||
ASSERT(gpu != nullptr);
|
ASSERT(gpu != nullptr);
|
||||||
|
|
|
@ -16,15 +16,6 @@ class System;
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace Service::GSP {
|
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
|
* Signals that the specified interrupt type has occurred to userland code
|
||||||
* @param interrupt_id ID of interrupt that is being signalled
|
* @param interrupt_id ID of interrupt that is being signalled
|
||||||
|
|
Loading…
Reference in a new issue