Skip to content

GB_switch_model_and_reset

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

Definition

void GB_switch_model_and_reset(GB_gameboy_t *gb, GB_model_t model);

In gb.h

Description

This function will replace the emulator instance's model and then perform a reset.

Thread Safety

GB_switch_model_and_reset must not be called if the instance is being run in any thread, including the current one (via a callback).

See Also

Clone this wiki locally