ReXGlue SDK
Loading...
Searching...
No Matches
device.h
Go to the documentation of this file.
1
17
18#pragma once
19
20#include <cstddef>
21#include <memory>
22#include <unordered_map>
23#include <vector>
24#include <format>
25#include <string>
26#include <filesystem>
27#include <optional>
28#include <string_view>
29#include <functional>
30#include <span>
31
32#include <rex/platform.h>
33#include <rex/types.h>
34#include <rex/memory.h>
36#include <rex/memory/stream.h>
38#include <rex/result.h>
39#include <rex/filesystem/xdbf.h>
40#include <rex/utility.h>
41#include <rex/title.h>
42
43namespace rex::xam {
44
45enum class DeviceType : u8 {
46 kHDD = 1,
47 kODD = 4,
48};
49
50enum class DummyDeviceID : u8 {
51 kHDD = 1,
52 kODD = 2,
53};
54
56 DummyDeviceID device_id;
57 DeviceType device_type;
58 u64 total_bytes;
59 u64 free_bytes;
60 const std::u16string_view name;
61};
62
70
71} // namespace rex::xam
Content package and language IDs.
REX_XAM_API const PlaceholderDevice * GetPlaceholderDevice(u32 device_id)
Platform flags, packing macros and export markers.
#define REX_XAM_API
Definition platform.h:314
Bit, byte and ring buffer streams over memory.
Definition device.h:55
Integer types, byte order wrappers and size literals.
Move only function, const propagating pointer and scope guard.