SplitScript reference / GCNEmulator
GCNEmulator
struct
struct GCNEmulator
Retains a discovered Nintendo GameCube MEM1 mapping.
Dolphin exposes MEM1 as a stable 24 MiB native mapping. RetroArch uses the same mapping while dolphin_libretro.dll remains loaded. Reads accept the original console addresses and decode every MemoryReadable scalar, struct field, and fixed-array element as big endian.
Examples
Use the attached GameCube memory provider
let emulator: GCNEmulator = gcn
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 GameCube MEM1. | |
| 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 |