mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-11-03 16:39:01 -06:00 
			
		
		
		
	Stubbed cam:u service
This commit is contained in:
		
							
								
								
									
										24
									
								
								src/core/hle/service/cam_u.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								src/core/hle/service/cam_u.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,24 @@
 | 
			
		||||
// Copyright 2015 Citra Emulator Project
 | 
			
		||||
// Licensed under GPLv2 or any later version
 | 
			
		||||
// Refer to the license.txt file included.
 | 
			
		||||
 | 
			
		||||
#include "common/log.h"
 | 
			
		||||
#include "core/hle/hle.h"
 | 
			
		||||
#include "core/hle/service/cam_u.h"
 | 
			
		||||
 | 
			
		||||
////////////////////////////////////////////////////////////////////////////////////////////////////
 | 
			
		||||
// Namespace CAM_U
 | 
			
		||||
 | 
			
		||||
namespace CAM_U {
 | 
			
		||||
 | 
			
		||||
// Empty arrays are illegal -- commented out until an entry is added.
 | 
			
		||||
//const Interface::FunctionInfo FunctionTable[] = { };
 | 
			
		||||
 | 
			
		||||
////////////////////////////////////////////////////////////////////////////////////////////////////
 | 
			
		||||
// Interface class
 | 
			
		||||
 | 
			
		||||
Interface::Interface() {
 | 
			
		||||
    //Register(FunctionTable, ARRAY_SIZE(FunctionTable));
 | 
			
		||||
}
 | 
			
		||||
    
 | 
			
		||||
} // namespace
 | 
			
		||||
							
								
								
									
										23
									
								
								src/core/hle/service/cam_u.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								src/core/hle/service/cam_u.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
			
		||||
// Copyright 2015 Citra Emulator Project
 | 
			
		||||
// Licensed under GPLv2 or any later version
 | 
			
		||||
// Refer to the license.txt file included.
 | 
			
		||||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#include "core/hle/service/service.h"
 | 
			
		||||
 | 
			
		||||
////////////////////////////////////////////////////////////////////////////////////////////////////
 | 
			
		||||
// Namespace CAM_U
 | 
			
		||||
 | 
			
		||||
namespace CAM_U {
 | 
			
		||||
 | 
			
		||||
class Interface : public Service::Interface {
 | 
			
		||||
public:
 | 
			
		||||
    Interface();
 | 
			
		||||
 | 
			
		||||
    std::string GetPortName() const override {
 | 
			
		||||
    return "cam:u";
 | 
			
		||||
}
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
} // namespace
 | 
			
		||||
@@ -14,6 +14,7 @@
 | 
			
		||||
#include "core/hle/service/apt_s.h"
 | 
			
		||||
#include "core/hle/service/apt_u.h"
 | 
			
		||||
#include "core/hle/service/boss_u.h"
 | 
			
		||||
#include "core/hle/service/cam_u.h"
 | 
			
		||||
#include "core/hle/service/cecd_u.h"
 | 
			
		||||
#include "core/hle/service/cfg/cfg_i.h"
 | 
			
		||||
#include "core/hle/service/cfg/cfg_s.h"
 | 
			
		||||
@@ -92,6 +93,7 @@ void Init() {
 | 
			
		||||
    g_manager->AddService(new APT_S::Interface);
 | 
			
		||||
    g_manager->AddService(new APT_U::Interface);
 | 
			
		||||
    g_manager->AddService(new BOSS_U::Interface);
 | 
			
		||||
    g_manager->AddService(new CAM_U::Interface);
 | 
			
		||||
    g_manager->AddService(new CECD_U::Interface);
 | 
			
		||||
    g_manager->AddService(new CFG_I::Interface);
 | 
			
		||||
    g_manager->AddService(new CFG_S::Interface);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user