mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-11-03 23:28:48 +00:00 
			
		
		
		
	service/cecd: Addressed comment about using PushEnum instead of Push<u32>
This commit is contained in:
		
							parent
							
								
									37532f8a76
								
							
						
					
					
						commit
						d6f86caf30
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -18,7 +18,7 @@ void Module::Interface::GetCecStateAbbreviated(Kernel::HLERequestContext& ctx) {
 | 
			
		|||
 | 
			
		||||
    IPC::RequestBuilder rb = rp.MakeBuilder(2, 0);
 | 
			
		||||
    rb.Push(RESULT_SUCCESS);
 | 
			
		||||
    rb.Push<u32>(static_cast<u32>(CecStateAbbreviated::CEC_STATE_ABBREV_IDLE));
 | 
			
		||||
    rb.PushEnum(CecStateAbbreviated::CEC_STATE_ABBREV_IDLE);
 | 
			
		||||
 | 
			
		||||
    LOG_WARNING(Service_CECD, "(STUBBED) called");
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -10,7 +10,7 @@
 | 
			
		|||
namespace Service {
 | 
			
		||||
namespace CECD {
 | 
			
		||||
 | 
			
		||||
enum class CecStateAbbreviated {
 | 
			
		||||
enum class CecStateAbbreviated : u32 {
 | 
			
		||||
    CEC_STATE_ABBREV_IDLE = 1,      ///< Corresponds to CEC_STATE_IDLE
 | 
			
		||||
    CEC_STATE_ABBREV_NOT_LOCAL = 2, ///< Corresponds to CEC_STATEs *FINISH*, *POST, and OVER_BOSS
 | 
			
		||||
    CEC_STATE_ABBREV_SCANNING = 3,  ///< Corresponds to CEC_STATE_SCANNING
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue