SplitScript reference / GBAEmulator

GBAEmulator

struct

struct GBAEmulator

Retains a discovered GBA emulator memory mapping.

The runtime-private mapping identifies the emulator backend and translates EWRAM and IWRAM addresses before each read.

Examples

Use the attached GBA memory provider

let emulator: GBAEmulator = gba

Capabilities

MemberDescriptionAvailable through
MemoryReaderReads typed values and bounded strings from an address space.

Methods

MemberDescriptionAvailable through
readReads a typed value from emulated GBA memory.
readReads one fixed-layout value from this address space.Available through MemoryReader
readUtf16LeReads a bounded NUL-terminated little-endian UTF-16 string.Available through MemoryReader
readUtf8Reads a bounded NUL-terminated UTF-8 string.Available through MemoryReader