Skip to content

GB_set_joyp_write_callback

Lior Halphon edited this page Nov 24, 2024 · 1 revision

Definition

typedef void (*GB_joyp_write_callback_t)(GB_gameboy_t *gb, uint8_t value);

void GB_set_joyp_write_callback(GB_gameboy_t *gb, GB_joyp_write_callback_t callback);

In gb.h

Description

TBD

Thread Safety

If callback is not NULL, GB_set_joyp_write_callback is thread-safe and can be called from any thread and context. Otherwise, it must not be called if the instance is being run in another thread, but may be called from the current one (via a callback).

Clone this wiki locally