ReXGlue SDK
Loading...
Searching...
No Matches
device.h File Reference

Storage device types and the placeholder devices reported to the title. More...

#include <cstddef>
#include <memory>
#include <unordered_map>
#include <vector>
#include <format>
#include <string>
#include <filesystem>
#include <optional>
#include <string_view>
#include <functional>
#include <span>
#include <rex/platform.h>
#include <rex/types.h>
#include <rex/memory.h>
#include <rex/kernel/types/status.h>
#include <rex/memory/stream.h>
#include <rex/kernel/types/content.h>
#include <rex/result.h>
#include <rex/filesystem/xdbf.h>
#include <rex/utility.h>
#include <rex/title.h>

Go to the source code of this file.

Classes

struct  rex::xam::PlaceholderDevice

Namespaces

namespace  rex

Enumerations

enum class  DeviceType : u8 { kHDD = 1 , kODD = 4 }
enum class  DummyDeviceID : u8 { kHDD = 1 , kODD = 2 }

Functions

REX_XAM_API const PlaceholderDevice * rex::xam::GetPlaceholderDevice (u32 device_id)

Detailed Description

Storage device types and the placeholder devices reported to the title.

Xenia : Xbox 360 Emulator Research Project *

Copyright 2014 Ben Vanik. All rights reserved. * Released under the BSD license - see LICENSE in the root for more details. *

Modified
Tom Clay, 2026 - Adapted for ReXGlue runtime
Remarks
Parts derived from Xenia (Ben Vanik, 2020).
Parts derived from Xenia (Ben Vanik, 2022).

Function Documentation

◆ GetPlaceholderDevice()

REX_XAM_API const PlaceholderDevice * rex::xam::GetPlaceholderDevice ( u32 device_id)

Looks up a placeholder device.

Parameters
device_idThe DummyDeviceID value.
Returns
The device, null when no placeholder has the ID.