Changes

Jump to navigation Jump to search
Line 30: Line 30:  
Handle share_ac_handle;
 
Handle share_ac_handle;
   −
u32* cmdbuf = getThreadCommandBuffer();
+
u32* cache_buffer = getThreadCommandBuffer();
    
srvGetServiceHandle(&share_ac_handle, "ac:i");
 
srvGetServiceHandle(&share_ac_handle, "ac:i");
   −
cmdbuf[0] = IPC_MakeHeader(0x4A2, 0, 0); // 0x04A20000
+
cache_buffer[0] = IPC_MakeHeader(0x4A2, 0, 0); // 0x04A20000
 
 
 
svcSendSyncRequest(share_ac_handle);
 
svcSendSyncRequest(share_ac_handle);
 +
 +
printf("Result : 0x%lx", cache_buffer[1]);
    
printf("MTU value : %ld", cache_buffer[2]);
 
printf("MTU value : %ld", cache_buffer[2]);
23

edits

Navigation menu