Files
Xenia-Canary/src/xenia/kernel/xam/xam_content_device.h
The-Little-Wolf 2027f50b6e [Xam/User_profile] - Add missing filenames & device types
- Add missing XTileType filenames
- Add missing device types
- Add XamLoaderLaunchTitle/Ex Flags
- Add ExThreadCreate flags and logging (from nukernel)
- Add more logging to user_module
- Add missing XamReadTileEx param
2026-06-11 20:37:55 +02:00

54 lines
1.4 KiB
C++

/**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2020 Ben Vanik. All rights reserved. *
* Released under the BSD license - see LICENSE in the root for more details. *
******************************************************************************
*/
#ifndef XENIA_KERNEL_XAM_XAM_CONTENT_DEVICE_H_
#define XENIA_KERNEL_XAM_XAM_CONTENT_DEVICE_H_
#include <cstdint>
#include <string_view>
#include <vector>
namespace xe {
namespace kernel {
namespace xam {
enum class DeviceType : uint32_t {
Invalid = 0,
HDD = 1,
MU = 2, // support removed in 9199
System = 3,
ODD = 4,
TransferCable = 8,
Sapphire = 15,
USBMASS = 16, // Added in 8955
};
enum class DummyDeviceId : uint32_t {
HDD = 1,
ODD = 2,
};
struct DummyDeviceInfo {
DummyDeviceId device_id;
DeviceType device_type;
uint64_t total_bytes;
uint64_t free_bytes;
const std::u16string_view name;
};
const DummyDeviceInfo* GetDummyDeviceInfo(uint32_t device_id);
std::vector<const DummyDeviceInfo*> ListStorageDevices(
bool include_readonly = false);
} // namespace xam
} // namespace kernel
} // namespace xe
#endif // XENIA_KERNEL_XAM_XAM_CONTENT_DEVICE_H_