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

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

Methods

MemberDescriptionAvailable through
readReads a typed value from emulated GameCube MEM1.
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