From 75b0beae2adf2f9e021d7857b515d45fb3f484e5 Mon Sep 17 00:00:00 2001 From: illusion98 <37698908+illusion98@users.noreply.github.com> Date: Tue, 27 Aug 2019 23:16:04 -0500 Subject: [PATCH] Merge remote-tracking branch 'emoose/devicetype-fix' into canary --- src/xenia/kernel/xam/xam_content.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xenia/kernel/xam/xam_content.cc b/src/xenia/kernel/xam/xam_content.cc index fb81ce848..61d51b154 100644 --- a/src/xenia/kernel/xam/xam_content.cc +++ b/src/xenia/kernel/xam/xam_content.cc @@ -112,7 +112,7 @@ DECLARE_XAM_EXPORT1(XamContentGetDeviceState, kContent, kStub); typedef struct { xe::be device_id; - xe::be unknown; + xe::be device_type; xe::be total_bytes; xe::be free_bytes; xe::be name[28]; @@ -129,7 +129,7 @@ dword_result_t XamContentGetDeviceData( device_data.Zero(); const auto& device_info = dummy_device_info_; device_data->device_id = device_info.device_id; - device_data->unknown = device_id & 0xFFFF; // Fake it. + device_data->device_type = device_info.device_type; device_data->total_bytes = device_info.total_bytes; device_data->free_bytes = device_info.free_bytes; xe::store_and_swap(&device_data->name[0], device_info.name);