Skip to content

GB_set_clock_multiplier

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

Definition

void GB_set_clock_multiplier(GB_gameboy_t *gb, double multiplier);

In gb.h

Description

Controls overclocking and underclocking of the emulator instance by multiplying its clock rate by a given factor. The clock rate can be reset back to its default value by calling this function with 1.0 as the multiplier argument.

Thread Safety

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

See Also

Clone this wiki locally