Skip to content

GB_gameboy_t

Lior Halphon edited this page Nov 30, 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 at compile time, you must not allocate the instance statically. See Instance Allocation.

See Also

Clone this wiki locally