1 GB_set_camera_get_pixel_callback
Lior Halphon edited this page 2024-11-24 21:57:04 +02:00

Definition

typedef uint8_t (*GB_camera_get_pixel_callback_t)(GB_gameboy_t *gb, uint8_t x, uint8_t y);

void GB_set_camera_get_pixel_callback(GB_gameboy_t *gb, GB_camera_get_pixel_callback_t callback);

In camera.h

Description

TBD

Thread Safety

If callback is not NULL, GB_set_camera_get_pixel_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).