mirror of
				https://github.com/ryujinx-mirror/ryujinx.git
				synced 2025-11-04 08:18:58 -06:00 
			
		
		
		
	hid: Stub SetTouchScreenResolution (#6322)
* hid: Implement SetTouchScreenResolution * Fix Tomb Raider I-III Remastered from crashing without enabling Ignore Missing Services * PR Feedback: Update Comments
This commit is contained in:
		@@ -1821,5 +1821,18 @@ namespace Ryujinx.HLE.HOS.Services.Hid
 | 
			
		||||
 | 
			
		||||
            return ResultCode.Success;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        [CommandCmif(1004)] // 17.0.0+
 | 
			
		||||
        // SetTouchScreenResolution(int width, int height, nn::applet::AppletResourceUserId)
 | 
			
		||||
        public ResultCode SetTouchScreenResolution(ServiceCtx context)
 | 
			
		||||
        {
 | 
			
		||||
            int width = context.RequestData.ReadInt32();
 | 
			
		||||
            int height = context.RequestData.ReadInt32();
 | 
			
		||||
            long appletResourceUserId = context.RequestData.ReadInt64();
 | 
			
		||||
 | 
			
		||||
            Logger.Stub?.PrintStub(LogClass.ServiceHid, new { width, height, appletResourceUserId });
 | 
			
		||||
 | 
			
		||||
            return ResultCode.Success;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user