mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-11-04 07:38:47 +00:00 
			
		
		
		
	Minor tidying up
This commit is contained in:
		
							parent
							
								
									26e90a99cd
								
							
						
					
					
						commit
						cf985631e0
					
				
					 7 changed files with 27 additions and 14 deletions
				
			
		| 
						 | 
				
			
			@ -830,8 +830,7 @@ private:
 | 
			
		|||
            ar& completion_event;
 | 
			
		||||
            ar& buffer_error_interrupt_event;
 | 
			
		||||
            ar& vsync_interrupt_event;
 | 
			
		||||
            // TODO: Check if this is ever needed:
 | 
			
		||||
            // ar & capture_result;
 | 
			
		||||
            // Ignore capture_result. In-progress captures might be affected but this is OK.
 | 
			
		||||
            ar& dest_process;
 | 
			
		||||
            ar& dest;
 | 
			
		||||
            ar& dest_size;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -10,7 +10,7 @@
 | 
			
		|||
 | 
			
		||||
namespace Service::GSP {
 | 
			
		||||
 | 
			
		||||
static std::weak_ptr<GSP_GPU> gsp_gpu; // TODO: Fix this for the love of god
 | 
			
		||||
static std::weak_ptr<GSP_GPU> gsp_gpu;
 | 
			
		||||
 | 
			
		||||
void SignalInterrupt(InterruptId interrupt_id) {
 | 
			
		||||
    auto gpu = gsp_gpu.lock();
 | 
			
		||||
| 
						 | 
				
			
			@ -27,4 +27,8 @@ void InstallInterfaces(Core::System& system) {
 | 
			
		|||
    std::make_shared<GSP_LCD>()->InstallAsService(service_manager);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void SetGlobalModule(Core::System& system) {
 | 
			
		||||
    gsp_gpu = system.ServiceManager().GetService<GSP_GPU>("gsp::Gpu");
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
} // namespace Service::GSP
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -23,4 +23,6 @@ namespace Service::GSP {
 | 
			
		|||
void SignalInterrupt(InterruptId interrupt_id);
 | 
			
		||||
 | 
			
		||||
void InstallInterfaces(Core::System& system);
 | 
			
		||||
 | 
			
		||||
void SetGlobalModule(Core::System& system);
 | 
			
		||||
} // namespace Service::GSP
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -444,6 +444,7 @@ private:
 | 
			
		|||
 | 
			
		||||
    template <class Archive>
 | 
			
		||||
    void serialize(Archive& ar, const unsigned int) {
 | 
			
		||||
        ar& boost::serialization::base_object<Kernel::SessionRequestHandler>(*this);
 | 
			
		||||
        ar& shared_memory;
 | 
			
		||||
        ar& active_thread_id;
 | 
			
		||||
        ar& first_initialization;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue