-
-
Notifications
You must be signed in to change notification settings - Fork 216
GB_set_rendering_disabled
Lior Halphon edited this page Nov 30, 2024
·
3 revisions
void GB_set_rendering_disabled(GB_gameboy_t *gb, bool disabled);
In gb.h
Call this function with true
to disable video output in an emulator instance. This action will cause the run loop of the emulator instance to consume less CPU usage. This is useful in scenarios where video output is unnecessary (e.g., sound-only applications or automations).
GB_set_rendering_disabled
is thread-safe and can be called from any thread and context.