5 GB_set_clock_multiplier
Lior Halphon edited this page 2024-12-01 01:09:32 +02:00

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