Skip to content

GB_debugger_set_reload_callback

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

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

Clone this wiki locally