mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-11-03 23:28:48 +00:00 
			
		
		
		
	Added stub for cecd:u service...
I couldn't find any information about this service...
This commit is contained in:
		
							parent
							
								
									6117fad036
								
							
						
					
					
						commit
						1356a6b313
					
				
					 4 changed files with 54 additions and 0 deletions
				
			
		
							
								
								
									
										23
									
								
								src/core/hle/service/cecd_u.cpp
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								src/core/hle/service/cecd_u.cpp
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,23 @@
 | 
			
		|||
// Copyright 2014 Citra Emulator Project
 | 
			
		||||
// Licensed under GPLv2+
 | 
			
		||||
// Refer to the license.txt file included.
 | 
			
		||||
 | 
			
		||||
#include "common/log.h"
 | 
			
		||||
#include "core/hle/hle.h"
 | 
			
		||||
#include "core/hle/service/cecd_u.h"
 | 
			
		||||
 | 
			
		||||
////////////////////////////////////////////////////////////////////////////////////////////////////
 | 
			
		||||
// Namespace CECD_U
 | 
			
		||||
 | 
			
		||||
namespace CECD_U {
 | 
			
		||||
 | 
			
		||||
const Interface::FunctionInfo FunctionTable[] = {
 | 
			
		||||
};
 | 
			
		||||
////////////////////////////////////////////////////////////////////////////////////////////////////
 | 
			
		||||
// Interface class
 | 
			
		||||
 | 
			
		||||
Interface::Interface() {
 | 
			
		||||
    Register(FunctionTable, ARRAY_SIZE(FunctionTable));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
} // namespace
 | 
			
		||||
							
								
								
									
										27
									
								
								src/core/hle/service/cecd_u.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								src/core/hle/service/cecd_u.h
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,27 @@
 | 
			
		|||
// Copyright 2014 Citra Emulator Project
 | 
			
		||||
// Licensed under GPLv2+
 | 
			
		||||
// Refer to the license.txt file included.
 | 
			
		||||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#include "core/hle/service/service.h"
 | 
			
		||||
 | 
			
		||||
////////////////////////////////////////////////////////////////////////////////////////////////////
 | 
			
		||||
// Namespace CECD_U
 | 
			
		||||
 | 
			
		||||
namespace CECD_U {
 | 
			
		||||
 | 
			
		||||
class Interface : public Service::Interface {
 | 
			
		||||
public:
 | 
			
		||||
    Interface();
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Gets the string port name used by CTROS for the service
 | 
			
		||||
     * @return Port name of service
 | 
			
		||||
     */
 | 
			
		||||
    std::string GetPortName() const override {
 | 
			
		||||
        return "cecd:u";
 | 
			
		||||
    }
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
} // namespace
 | 
			
		||||
| 
						 | 
				
			
			@ -11,6 +11,7 @@
 | 
			
		|||
#include "core/hle/service/am_net.h"
 | 
			
		||||
#include "core/hle/service/apt_u.h"
 | 
			
		||||
#include "core/hle/service/boss_u.h"
 | 
			
		||||
#include "core/hle/service/cecd_u.h"
 | 
			
		||||
#include "core/hle/service/cfg_i.h"
 | 
			
		||||
#include "core/hle/service/cfg_u.h"
 | 
			
		||||
#include "core/hle/service/csnd_snd.h"
 | 
			
		||||
| 
						 | 
				
			
			@ -90,6 +91,7 @@ void Init() {
 | 
			
		|||
    g_manager->AddService(new AM_NET::Interface);
 | 
			
		||||
    g_manager->AddService(new APT_U::Interface);
 | 
			
		||||
    g_manager->AddService(new BOSS_U::Interface);
 | 
			
		||||
    g_manager->AddService(new CECD_U::Interface);
 | 
			
		||||
    g_manager->AddService(new CFG_I::Interface);
 | 
			
		||||
    g_manager->AddService(new CFG_U::Interface);
 | 
			
		||||
    g_manager->AddService(new CSND_SND::Interface);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue