mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-11-03 23:28:48 +00:00 
			
		
		
		
	gsp: remove unused GetFramebufferInfo
This commit is contained in:
		
							parent
							
								
									8251de44cf
								
							
						
					
					
						commit
						d483e556e3
					
				
					 2 changed files with 0 additions and 15 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue