3 GB_get_player_count
Lior Halphon edited this page 2024-12-01 01:09:32 +02:00

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