|
ReXGlue SDK
|
Register layouts and the register file. More...
#include <cstdint>#include <cstdlib>#include <utility>#include <bit>#include <cstddef>#include <cstring>#include <algorithm>#include <optional>#include <rex/platform.h>#include <rex/assert.h>#include <rex/types.h>#include <rex/xenos/format.h>#include <rex/xenos/state.h>#include <rex/xenos/fetch.h>#include <rex/title.h>#include <rex/xenos/register_table.inc>Go to the source code of this file.
Namespaces | |
| namespace | rex |
| namespace | rex::xenos::reg |
Macros | |
| #define | REXGPU_REGISTER(index, type, name) |
Enumerations | |
| enum class | Register : u16 |
Functions | |
| std::optional< u32 > | rex::xenos::ReadFixedRegister (u32 index, const VideoMode &mode) |
Variables | |
| constexpr u32 | rex::xenos::kViewportLimit = 0x0FFF |
Register layouts and the register file.
Xenia : Xbox 360 Emulator Research Project *
Copyright 2025 Ben Vanik. All rights reserved. * Released under the BSD license - see LICENSE in the root for more details. *
| #define REXGPU_REGISTER | ( | index, | |
| type, | |||
| name ) |
Defines an enumerator of Register, once per register in the register table.
| index | Dword register index. |
| type | Value type, unused here. |
| name | Enumerator name. |
|
inline |
Returns the value a title reads from a register that reports the display mode or a fixed value, or empty when the register is not one of these.
|
inlineconstexpr |
Largest width or height the viewport size register reports.