linux-user: Move if-elses to a switch statement.
This makes adding more message types cleaner. Signed-off-by: NHuw Davies <huw@codeweavers.com> Signed-off-by: NRiku Voipio <riku.voipio@linaro.org>
Showing
想要评论请 注册 或 登录
This makes adding more message types cleaner. Signed-off-by: NHuw Davies <huw@codeweavers.com> Signed-off-by: NRiku Voipio <riku.voipio@linaro.org>