Epok Engine

PSYQO SDK

psyqo::Hardware::CPU::IReg

Variable

Variable

Exposes `IReg` on the `psyqo::Hardware::CPU` namespace for the hardware/cpu module.

Belongs to
psyqo::Hardware::CPU
Header
hardware/cpu.hh

Declaration

Declaration
IRQReg<112> IReg

Exposes `IReg` on the `psyqo::Hardware::CPU` namespace for the hardware/cpu module.

Type
IRQReg<112>
Storage
Namespace scope

Example

C++ example
#include "psyqo/hardware/cpu.hh"

auto value = psyqo::Hardware::CPU::IReg;

When it helps

Use this member when you need direct access to the state represented by its declared type.

Trade-offs and warnings

Direct field access has no validation step. Keep the owning object alive, respect units and ranges, and do not mutate state while hardware or another subsystem is consuming it.

Declared in https://github.com/pcsx-redux/nugget/blob/6186b131aacc5853a9161fb076ed34ffe504552d/psyqo/hardware/cpu.hh:55