mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
				synced 2025-03-21 01:53:15 +00:00 
			
		
		
		
	Merge pull request #159 from mailwl/acc0-fix
acc:u0 : stub GetAccountId
This commit is contained in:
		
						commit
						eaf75ea970
					
				@ -30,9 +30,10 @@ private:
 | 
			
		||||
 | 
			
		||||
class IManagerForApplication final : public ServiceFramework<IManagerForApplication> {
 | 
			
		||||
public:
 | 
			
		||||
    IManagerForApplication() : ServiceFramework("IProfile") {
 | 
			
		||||
    IManagerForApplication() : ServiceFramework("IManagerForApplication") {
 | 
			
		||||
        static const FunctionInfo functions[] = {
 | 
			
		||||
            {0, &IManagerForApplication::CheckAvailability, "CheckAvailability"},
 | 
			
		||||
            {1, &IManagerForApplication::GetAccountId, "GetAccountId"},
 | 
			
		||||
        };
 | 
			
		||||
        RegisterHandlers(functions);
 | 
			
		||||
    }
 | 
			
		||||
@ -44,6 +45,13 @@ private:
 | 
			
		||||
        rb.Push(RESULT_SUCCESS);
 | 
			
		||||
        rb.Push(true); // TODO: Check when this is supposed to return true and when not
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    void GetAccountId(Kernel::HLERequestContext& ctx) {
 | 
			
		||||
        LOG_WARNING(Service, "(STUBBED) called");
 | 
			
		||||
        IPC::ResponseBuilder rb{ctx, 4};
 | 
			
		||||
        rb.Push(RESULT_SUCCESS);
 | 
			
		||||
        rb.Push<u64>(0x12345678ABCDEF);
 | 
			
		||||
    }
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
void ACC_U0::GetUserExistence(Kernel::HLERequestContext& ctx) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user