Skip to content

GB_get_clock_rate

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

Definition

uint32_t GB_get_clock_rate(GB_gameboy_t *gb);

In gb.h

Description

Returns the current clock rate of the emulator instance in Hertz. The value returned by this function is affected by the clock multiplier.

Thread Safety

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

See Also

Clone this wiki locally