3 GB_switch_model_and_reset
Lior Halphon edited this page 2024-12-01 01:09:32 +02:00

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