Skip to content

GB_load_boot_rom_from_buffer

Lior Halphon edited this page Nov 30, 2024 · 3 revisions

Definition

void GB_load_boot_rom_from_buffer(GB_gameboy_t *gb, const unsigned char *buffer, size_t size);

In gb.h

Description

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.

Thread Safety

GB_load_boot_rom_from_buffer is thread-safe and can be called from any thread and context.

See Also

Clone this wiki locally