Skip to content

GB_gameboy_t

Lior Halphon edited this page Nov 24, 2024 · 2 revisions

Definition

typedef struct GB_gameboy_s GB_gameboy_t;

In defs.h

Description

An object representing an emulated Game Boy instance, normally passed as a reference (GB_gameboy_t *) to functions.

Notes

The size of this struct changes between versions of SameBoy. If the version of SameBoy you're linking against is not known in compile-time, you must not allocate instance statically. See Instance Allocation.

See Also

Clone this wiki locally