mirror of
				https://git.suyu.dev/suyu/suyu.git
				synced 2025-11-04 12:34:39 +08:00 
			
		
		
		
	Merge pull request #5857 from Morph1984/bsd-fix-eventfd-stub
bsd: Fix EventFd stub
This commit is contained in:
		
						commit
						ec51f8de82
					
				@ -421,11 +421,11 @@ void BSD::Close(Kernel::HLERequestContext& ctx) {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void BSD::EventFd(Kernel::HLERequestContext& ctx) {
 | 
					void BSD::EventFd(Kernel::HLERequestContext& ctx) {
 | 
				
			||||||
    LOG_WARNING(Service, "(STUBBED) called");
 | 
					 | 
				
			||||||
    IPC::RequestParser rp{ctx};
 | 
					    IPC::RequestParser rp{ctx};
 | 
				
			||||||
    const s32 fd = rp.Pop<s32>();
 | 
					    const u64 initval = rp.Pop<u64>();
 | 
				
			||||||
 | 
					    const u32 flags = rp.Pop<u32>();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    LOG_DEBUG(Service, "called. fd={}", fd);
 | 
					    LOG_WARNING(Service, "(STUBBED) called. initval={}, flags={}", initval, flags);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    BuildErrnoResponse(ctx, Errno::SUCCESS);
 | 
					    BuildErrnoResponse(ctx, Errno::SUCCESS);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user