mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-11-03 23:28:48 +00:00 
			
		
		
		
	Replace g_kernel with Core::Global etc.
This commit is contained in:
		
							parent
							
								
									e707685c2a
								
							
						
					
					
						commit
						3e752002c4
					
				
					 15 changed files with 43 additions and 17 deletions
				
			
		| 
						 | 
				
			
			@ -18,6 +18,7 @@
 | 
			
		|||
#include "core/hle/kernel/mutex.h"
 | 
			
		||||
#include "core/hle/result.h"
 | 
			
		||||
#include "core/hle/service/service.h"
 | 
			
		||||
#include "core/global.h"
 | 
			
		||||
 | 
			
		||||
namespace Core {
 | 
			
		||||
class System;
 | 
			
		||||
| 
						 | 
				
			
			@ -601,6 +602,6 @@ namespace boost::serialization {
 | 
			
		|||
    template <class Archive>
 | 
			
		||||
    inline void load_construct_data(Archive& ar, Service::AM::Module* t, const unsigned int)
 | 
			
		||||
    {
 | 
			
		||||
        ::new(t)Service::AM::Module(*Kernel::g_kernel);
 | 
			
		||||
        ::new(t)Service::AM::Module(Core::Global<Kernel::KernelSystem>());
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue