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
| Member | Description | Available through |
|---|---|---|
| MemoryReader | Reads typed values and bounded strings from an address space. |
Methods
| Member | Description | Available through |
|---|---|---|
| read | Reads a typed value from emulated GBA memory. | |
| read | Reads one fixed-layout value from this address space. | Available through MemoryReader |
| readUtf16Le | Reads a bounded NUL-terminated little-endian UTF-16 string. | Available through MemoryReader |
| readUtf8 | Reads a bounded NUL-terminated UTF-8 string. | Available through MemoryReader |