-
-
Notifications
You must be signed in to change notification settings - Fork 217
GB_get_screen_width and GB_get_screen_height
Lior Halphon edited this page Nov 30, 2024
·
2 revisions
unsigned GB_get_screen_width(GB_gameboy_t *gb);
unsigned GB_get_screen_height(GB_gameboy_t *gb);
In display.h
These functions return the dimensions of the video output of an emulator instance. The dimensions are affected by the emulated model and the current border mode of the emulator instance and can be either 160×144 or 256×224.
GB_get_screen_width
and GB_get_screen_height
are thread-safe and can be called from any thread and context.