3 GB_load_boot_rom_from_buffer
Lior Halphon edited this page 2024-12-01 01:09:32 +02:00

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