-
-
Notifications
You must be signed in to change notification settings - Fork 217
GB_load_boot_rom_from_buffer
Lior Halphon edited this page Nov 30, 2024
·
3 revisions
void GB_load_boot_rom_from_buffer(GB_gameboy_t *gb, const unsigned char *buffer, size_t size);
In gb.h
Loads a boot ROM from a file into an emulator instance. If you're not using GB_set_boot_rom_load_callback, this function (or GB_load_boot_rom) must be called with a boot ROM compatible with the currently selected model before running the instance.
GB_load_boot_rom_from_buffer
is thread-safe and can be called from any thread and context.