Skip to content

GB_get_player_count

Lior Halphon edited this page Nov 30, 2024 · 3 revisions

Definition

unsigned GB_get_player_count(GB_gameboy_t *gb);

In sgb.h

Description

Returns the current number of players in an emulated instance. When emulating a Super Game Boy, the emulated ROM can dynamically change the number of players to 1, 2, or 4.

Thread Safety

GB_get_player_count is thread-safe and can be called from any thread and context.

See Also

Clone this wiki locally