SplitScript reference / PS2Emulator

PS2Emulator

record

record PS2Emulator

Retains a discovered PlayStation 2 emulator memory mapping.

PCSX2 keeps its RAM base behind a native pointer that may change while the emulator is running. RetroArch exposes a stable base for the lifetime of its loaded PS2 core. PS2Emulator.read hides those backend details and always accepts original PS2 addresses.

Examples

Use the attached PS2 memory provider

let emulator: PS2Emulator = ps2

Methods

MemberDescriptionAvailable through
readReads a typed value from emulated PlayStation 2 memory.