2 GB_debugger_set_reload_callback
Lior Halphon edited this page 2024-11-30 22:25:23 +02:00

Definition

typedef void (*GB_debugger_reload_callback_t)(GB_gameboy_t *gb);

void GB_debugger_set_reload_callback(GB_gameboy_t *gb, GB_debugger_reload_callback_t callback);

In gb.h

Description

Sets a callback that will be called when a user issues a reset reload debugger command. This callback is expected to reload the current ROM and its associated symbols, then call GB_reset.

Thread Safety

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

See Also