Skip to content

GB_set_clock_multiplier

Lior Halphon edited this page Nov 29, 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 must not be called if the instance is being run in another thread, but may be called from the current one (via a callback).

See Also

Clone this wiki locally