mirror of https://github.com/LIJI32/SameBoy.git
Updated GB_debugger_set_reload_callback (markdown)
parent
6f32b0ecea
commit
ca2575c974
|
@ -4,14 +4,20 @@
|
|||
typedef void (*GB_debugger_reload_callback_t)(GB_gameboy_t *gb);
|
||||
```
|
||||
|
||||
<tt>void GB_debugger_set_reload_callback([[GB_gameboy_t]] *gb, [[GB_debugger_reload_callback_t]] callback);</tt>
|
||||
<tt>void GB_debugger_set_reload_callback([[GB_gameboy_t]] *gb, GB_debugger_reload_callback_t callback);</tt>
|
||||
|
||||
In `gb.h`
|
||||
|
||||
## Description
|
||||
|
||||
TBD
|
||||
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|GB_load_rom]] and [[its associated symbols|GB_debugger_load_symbol_file]], 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
|
||||
|
||||
* [[GB_debugger_load_symbol_file]]
|
||||
* [[GB_load_rom]]
|
||||
* [[GB_load_isx]]
|
||||
|
|
Loading…
Reference in New Issue