-
-
Notifications
You must be signed in to change notification settings - Fork 217
GB_debugger_set_reload_callback
Lior Halphon edited this page Nov 30, 2024
·
2 revisions
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
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.
GB_debugger_set_reload_callback
is thread-safe and can be called from any thread and context.